:root {
  --navy: #1F3A5F;
  --navy-deep: #16283F;
  --navy-light: rgba(255, 255, 255, 0.72);
  --ink: #262B33;
  --muted: #66707D;
  --muted-light: #9AA3AF;
  --bg: #F3F5F8;
  --card-bg: #FFFFFF;
  --border: #E7EAEF;
  --gold: #E0A741;
  --success: #1BA94C;
  --error: #E0392A;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.5;
}

body {
  padding-bottom: 128px;
}

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

button {
  font-family: inherit;
}

.page {
  max-width: 600px;
  margin: 0 auto;
}

/* 顶部品牌栏：主色调深蓝，整个头部可点击查看企业信息 */
.site-header {
  display: flex;
  align-items: center;
  padding: 18px 20px;
  background: linear-gradient(120deg, rgba(31, 58, 95, 0.86), rgba(22, 40, 63, 0.82)), url('/images/header-banner.jpg');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 4px 14px rgba(22, 40, 63, 0.18);
  cursor: pointer;
}

/* logo 目前是文字占位，后台上传企业 logo 图片后把里面的"云"字换成 <img> 即可 */
.logo {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: #FFFFFF;
  color: var(--navy);
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 14px;
  flex-shrink: 0;
  overflow: hidden;
}

.brand-name {
  font-size: 18px;
  font-weight: 700;
  color: #FFFFFF;
}

.brand-sub {
  font-size: 12px;
  color: var(--navy-light);
  margin-top: 3px;
}

.container {
  padding: 20px;
}

.section-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  margin: 4px 0 18px;
  letter-spacing: 0.2px;
}

.section-sub {
  font-size: 13px;
  color: var(--muted-light);
  margin-top: -12px;
  margin-bottom: 18px;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 4px 16px rgba(31, 58, 95, 0.05);
  margin-bottom: 18px;
}

.promise-row {
  display: flex;
  align-items: flex-start;
  font-size: 14px;
  color: var(--ink);
  padding: 8px 0;
}

.promise-dot {
  color: var(--navy);
  font-weight: 700;
  margin-right: 10px;
}

/* "为什么选云集达"：图标徽章 + 标题 + 说明的卡片式布局 */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.feature-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  color: #FFFFFF;
  font-size: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-body {
  flex: 1;
}

.feature-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.feature-desc {
  font-size: 13px;
  color: var(--muted);
  margin-top: 5px;
  line-height: 1.6;
}

/* 企业信息（搬家实拍页顶部的公司资料卡） */
.company-profile {
  text-align: left;
}

.company-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.company-intro {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.company-license-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}

/* 企业信息弹窗 */
.modal-mask {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(22, 40, 63, 0.45);
  z-index: 300;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-mask.show {
  display: flex;
}

.modal-panel {
  background: #FFFFFF;
  border-radius: 18px;
  padding: 26px 24px;
  max-width: 420px;
  width: 100%;
  cursor: default;
}

.modal-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
  margin-bottom: 16px;
}

.modal-intro {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 18px;
}

.modal-license-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}

.license-placeholder {
  height: 160px;
  border-radius: 12px;
  background: linear-gradient(135deg, #EEF1F6, #E3E8EF);
  border: 1.5px dashed #B7C2D1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 18px;
}

.modal-close-btn {
  width: 100%;
  margin-top: 0;
}

/* 四大业务：点击展开的手风琴卡片 */
.accordion-item {
  border-bottom: 1px solid var(--border);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-head {
  display: flex;
  align-items: center;
  padding: 16px 0;
  cursor: pointer;
}

.accordion-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-right: 14px;
  flex-shrink: 0;
}

.accordion-title {
  flex: 1;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.accordion-arrow {
  font-size: 13px;
  color: var(--muted-light);
  transition: transform 0.2s ease;
}

.accordion-item.open .accordion-arrow {
  transform: rotate(180deg);
}

.accordion-body {
  display: none;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  padding: 0 0 18px 58px;
}

.accordion-item.open .accordion-body {
  display: block;
}

/* 车型介绍：带示例图占位 */
.vehicle-card {
  display: flex;
  gap: 14px;
  margin-bottom: 14px;
}

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

.vehicle-image {
  width: 88px;
  height: 68px;
  border-radius: 12px;
  background: linear-gradient(135deg, #EEF1F6, #E3E8EF);
  border: 1.5px dashed #B7C2D1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}

.vehicle-info {
  flex: 1;
}

.vehicle-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.vehicle-desc {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.6;
}

.rule-row {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.rule-row:last-child {
  border-bottom: none;
}

.rule-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.rule-desc {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.6;
}

.about-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.85;
}

/* 表单 */
.tip-banner {
  font-size: 12px;
  color: var(--navy);
  background: #EAF0F7;
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 18px;
  line-height: 1.6;
}

.form-item {
  padding: 12px 0;
}

.form-label {
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 10px;
  display: block;
}

.optional {
  font-size: 12px;
  color: var(--muted-light);
  font-weight: 400;
}

.required {
  font-size: 12px;
  color: var(--error);
  font-weight: 400;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 13px 15px;
  font-family: inherit;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--navy);
  background: #FFFFFF;
}

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

.hline {
  height: 1px;
  background: var(--border);
}

.datetime-row {
  display: flex;
  gap: 12px;
}

.datetime-row .form-input {
  flex: 1;
}

.btn-primary {
  display: block;
  width: 100%;
  border: none;
  background: linear-gradient(90deg, var(--navy), var(--navy-deep));
  color: #FFFFFF;
  border-radius: 13px;
  font-size: 16px;
  font-weight: 700;
  line-height: 50px;
  height: 50px;
  margin-top: 20px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(31, 58, 95, 0.3);
}

.btn-primary:disabled {
  background: #A9B7C6;
  box-shadow: none;
  cursor: not-allowed;
}

.btn-ghost {
  display: inline-block;
  background: #FFFFFF;
  color: var(--navy);
  border: 1.5px solid var(--navy);
  border-radius: 13px;
  font-size: 15px;
  line-height: 42px;
  height: 45px;
  padding: 0 22px;
  margin-top: 12px;
  cursor: pointer;
}

.contact-card {
  text-align: center;
}

.form-msg {
  font-size: 13px;
  margin-top: 12px;
  min-height: 18px;
}

.form-msg.error {
  color: var(--error);
}

.form-msg.success {
  color: var(--success);
}

/* 提交成功后的感谢面板 */
.thank-you-panel {
  display: none;
  text-align: center;
  padding: 30px 10px;
}

.thank-you-panel.show {
  display: block;
}

.thank-you-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #E9F6EF;
  color: var(--success);
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.thank-you-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.thank-you-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* 悬浮"立即预约"按钮 */
.float-cta {
  position: fixed;
  right: 20px;
  bottom: 88px;
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  padding: 13px 20px;
  border-radius: 30px;
  box-shadow: 0 8px 20px rgba(31, 58, 95, 0.35);
  z-index: 200;
}

/* 网站备案信息 */
.icp-footer {
  text-align: center;
  font-size: 11px;
  color: var(--muted-light);
  padding: 18px 0 10px;
}

.icp-footer a {
  color: var(--muted-light);
}

/* 底部导航栏 */
.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  background: var(--card-bg);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 16px rgba(31, 58, 95, 0.05);
  z-index: 150;
}

.nav-item {
  flex: 1;
  text-align: center;
  padding: 11px 0 max(11px, env(safe-area-inset-bottom));
  font-size: 12px;
  color: var(--muted-light);
}

.nav-item .nav-icon {
  display: block;
  font-size: 20px;
  margin-bottom: 3px;
}

.nav-item.active {
  color: var(--navy);
  font-weight: 700;
}

/* 搬家实拍：朋友圈风格 */
.moment-post {
  margin-bottom: 18px;
}

.moment-head {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.moment-avatar {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  flex-shrink: 0;
}

.moment-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.moment-time {
  font-size: 11px;
  color: var(--muted-light);
  margin-top: 2px;
}

.moment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 14px;
}

.moment-photo {
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  background: linear-gradient(135deg, #EEF1F6, #E3E8EF);
  border: 1px dashed #C3CCD8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--muted-light);
}

.empty-tip {
  text-align: center;
  color: var(--muted-light);
  font-size: 13px;
  padding: 30px 0;
}

.moment-remark {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.6;
}

/* ===== 首页：服务内容（两列网格） ===== */

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.service-tile {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg);
  border-radius: 12px;
  padding: 13px 12px;
  cursor: pointer;
  border: 1.5px solid transparent;
}

.service-tile.active {
  border-color: var(--navy);
  background: #EAF0F7;
}

.service-tile-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #E1EEFB;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.service-tile-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.service-detail {
  display: none;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.service-detail.show {
  display: block;
}

.service-detail-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.service-detail-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

/* ===== 首页：服务介绍/收费标准 吸顶切换栏 ===== */

.tab-switch {
  display: flex;
  background: var(--navy);
  position: sticky;
  top: 84px;
  z-index: 45;
}

.tab-switch-item {
  flex: 1;
  text-align: center;
  padding: 13px 0;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  border-bottom: 3px solid transparent;
  cursor: pointer;
}

.tab-switch-item.active {
  color: #FFFFFF;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  border-bottom-color: var(--gold);
}

.tab-panel {
  display: none;
  padding: 20px;
}

.tab-panel.active {
  display: block;
}

/* 服务介绍：标语 */
.intro-quote {
  text-align: center;
  margin-bottom: 16px;
}

.intro-quote-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.intro-quote-sub {
  font-size: 13px;
  color: var(--muted);
  margin-top: 5px;
}

/* 服务介绍：流程步骤 */
.step-row {
  display: flex;
  justify-content: space-between;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 6px;
  margin-bottom: 16px;
}

.step-item {
  flex: 1;
  text-align: center;
  font-size: 20px;
}

.step-item-label {
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
}

.step-arrow {
  align-self: center;
  color: var(--muted-light);
  font-size: 13px;
}

/* 搬家不用愁：实拍图占位 */
.showcase-heading {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.showcase-tile {
  text-align: center;
}

.showcase-media {
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg);
}

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

.showcase-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1.5px dashed #C7CDD6;
  border-radius: 12px;
  box-sizing: border-box;
}

.showcase-placeholder-icon {
  font-size: 22px;
  color: var(--muted-light);
}

.showcase-placeholder-tip {
  font-size: 11px;
  color: var(--muted-light);
  margin-top: 4px;
}

.showcase-label {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}

/* 服务承诺 */
.promise-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}

.promise-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  padding: 6px 0;
}

.promise-item-icon {
  font-size: 16px;
  flex-shrink: 0;
}

/* 师傅介绍卡片 */
.master-card {
  display: flex;
  align-items: center;
  gap: 12px;
}

.master-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  color: #FFFFFF;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.master-info {
  flex: 1;
}

.master-quote {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.master-sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

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

.master-tag {
  background: #EAF0F7;
  color: var(--navy);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 12px;
}

.call-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  color: #FFFFFF;
  font-size: 17px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ===== 收费标准 ===== */

.car-tabs {
  display: flex;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  position: sticky;
  top: 131px;
  z-index: 44;
  margin-bottom: 12px;
}

.car-tab-item {
  flex: 1;
  text-align: center;
  padding: 11px 0;
  font-size: 13px;
  color: var(--muted-light);
  border-bottom: 3px solid transparent;
  cursor: pointer;
}

.car-tab-item.active {
  color: var(--navy);
  font-weight: 700;
  background: #EAF0F7;
  border-bottom-color: var(--gold);
}

.price-formula {
  background: var(--navy);
  color: #FFFFFF;
  text-align: center;
  font-size: 13px;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 6px;
}

.price-note {
  font-size: 11px;
  color: var(--error);
  margin-bottom: 14px;
}

.price-section {
  margin-bottom: 16px;
}

.price-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.price-badge {
  background: var(--navy);
  color: #FFFFFF;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 5px;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  font-size: 12px;
}

.price-table td {
  padding: 10px;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

.price-table tr:first-child td {
  border-top: none;
}

.price-table .price-value {
  text-align: right;
  color: var(--navy);
  font-weight: 700;
}

.price-table-head td {
  color: var(--muted-light);
  font-size: 11px;
  border-top: none;
}

.price-table-head .price-value {
  color: var(--muted-light);
  font-weight: 400;
}
