/* ==========================================================================
   定制游落地页 —— 专属样式
   参照上海中旅定制游页 /dingzhi/：首屏 Banner + 服务内容 + 定制流程
   + 定制需求表单（两步 + 右侧需求单预览）+ 精选案例。
   与 css/style.css 配合使用（共享变量：品牌色、文字、边框等）。
   ========================================================================== */

/* ---------- 面包屑（复用 list.css 的 .breadcrumb 结构） ---------- */
.breadcrumb {
  padding: 12px 15px;
  font-size: 13px;
  color: var(--text-3);
}
.breadcrumb a { color: var(--text-3); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .sep { margin: 0 6px; color: var(--border); }
.breadcrumb .current { color: var(--text); }

/* ---------- 首屏 Banner ---------- */
.dz-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #00be88 0%, #00a878 60%, #00956b 100%);
  color: #fff;
  text-align: center;
  padding: 72px 15px 80px;
}
.dz-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.14), transparent 42%),
    radial-gradient(circle at 82% 85%, rgba(255, 255, 255, 0.10), transparent 45%);
}
.dz-hero .container { position: relative; }
.dz-hero h1 {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 2px;
}
.dz-hero__sub {
  margin-top: 14px;
  font-size: 16px;
  opacity: 0.92;
}
.dz-hero__nums {
  display: flex;
  justify-content: center;
  gap: 72px;
  margin-top: 40px;
}
.dz-hero__num .bn {
  display: block;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.1;
}
.dz-hero__num .bl {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  opacity: 0.9;
}

/* ---------- 通用区块 ---------- */
.dz-sec { padding: 56px 0; }
.dz-sec--gray { background: #f4f4f4; }
.dz-sec__hd { text-align: center; margin-bottom: 40px; }
.dz-sec__tag {
  display: inline-block;
  padding: 3px 14px;
  font-size: 13px;
  color: var(--brand);
  border: 1px solid var(--brand);
  border-radius: 999px;
  margin-bottom: 14px;
}
.dz-sec__hd h2 { font-size: 28px; font-weight: 700; color: var(--text); }
.dz-sec__sub { margin-top: 10px; font-size: 14px; color: var(--text-3); }

/* ---------- 服务内容（5 列卡片） ---------- */
.dz-svc {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.dz-svc__card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 16px;
  text-align: center;
  transition: box-shadow 0.3s, transform 0.3s;
}
.dz-svc__card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.dz-svc__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brand-light);
  color: var(--brand);
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.dz-svc__icon svg { width: 30px; height: 30px; }
.dz-svc__card:hover .dz-svc__icon { background: var(--brand); color: #fff; transform: scale(1.08); }
.dz-svc__card h3 { font-size: 16px; font-weight: 600; color: var(--text); }
.dz-svc__card p {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-3);
}

/* ---------- 定制流程（4 步，箭头连接） ---------- */
.dz-flow {
  display: flex;
  align-items: flex-start;
}
.dz-flow__item {
  flex: 1;
  position: relative;
  text-align: center;
}
/* 步骤之间的连接箭头 */
.dz-flow__item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 34px;
  right: -12px;
  width: 24px;
  height: 2px;
  background: #d8d8d8;
}
.dz-flow__item:not(:last-child)::before {
  content: '›';
  position: absolute;
  top: 20px;
  right: -12px;
  width: 24px;
  text-align: center;
  font-size: 20px;
  color: var(--text-3);
}
.dz-flow__icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
}
.dz-flow__icon svg { width: 32px; height: 32px; }
.dz-flow__item h4 { font-size: 16px; font-weight: 600; color: var(--text); }
.dz-flow__item p {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-3);
}

/* ---------- 定制需求表单 ---------- */
.dz-form-wrap {
  display: flex;
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
  align-items: flex-start;
}

/* 左：表单卡片 */
.dz-form-card {
  flex: 1;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.dz-form-steps {
  display: flex;
  background: var(--brand-light);
  border-bottom: 1px solid var(--border);
}
.dz-fs {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  font-size: 15px;
  color: var(--text-3);
}
.dz-fs__num {
  width: 22px;
  height: 22px;
  line-height: 22px;
  text-align: center;
  border-radius: 50%;
  background: #d8d8d8;
  color: #fff;
  font-size: 13px;
}
.dz-fs.is-active { color: var(--brand); font-weight: 600; }
.dz-fs.is-active .dz-fs__num { background: var(--brand); }

/* 表单页切换 */
.dz-form-page { display: none; padding: 24px 26px 28px; }
.dz-form-page.is-active { display: block; }

/* 表单行 */
.dz-frow {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}
.dz-frow:last-child { margin-bottom: 0; }
.dz-flbl {
  flex: 0 0 82px;
  padding-top: 8px;
  font-size: 14px;
  color: var(--text);
  text-align: right;
  margin-right: 16px;
}
.dz-fctl { flex: 1; min-width: 0; }
.dz-req { font-style: normal; color: #D90700; margin-right: 2px; }

/* 选项标签（单选，点击选中） */
.dz-otags { display: flex; flex-wrap: wrap; gap: 8px; }
.dz-otags--mt { margin-top: 12px; }
.dz-otag {
  padding: 5px 14px;
  font-size: 13px;
  color: var(--text-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  background: #fff;
  user-select: none;
}
.dz-otag:hover { color: var(--brand); border-color: var(--brand); }
.dz-otag.is-active {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}

/* 半行（行程时间：日期 + 天数） */
.dz-frow-half { display: flex; gap: 24px; }
.dz-fg { flex: 1; min-width: 0; }
.dz-fg__lbl { display: block; margin-bottom: 6px; font-size: 13px; color: var(--text-2); }
.dz-inline { display: flex; align-items: center; gap: 12px; }

/* 输入框 */
.dz-ipt {
  width: 100%;
  height: 36px;
  padding: 0 10px;
  font-size: 14px;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 4px;
  outline: none;
  font-family: inherit;
}
.dz-ipt:focus { border-color: var(--brand); }
.dz-ipt--date { cursor: pointer; }
.dz-ipt--code { width: 140px; }
.dz-ipt--area {
  height: 84px;
  padding: 8px 10px;
  resize: vertical;
  line-height: 1.6;
}

/* 游玩天数自定义下拉 */
.dz-numselect { position: relative; }
.dz-numselect__btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 36px;
  padding: 0 12px;
  font-size: 14px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
}
.dz-numselect__val { font-weight: 600; }
.dz-unit { color: var(--text-3); }
.dz-numselect__arrow { font-style: normal; font-size: 10px; color: var(--text-3); margin-left: 6px; }
.dz-numselect__drop {
  display: none;
  position: absolute;
  top: 40px;
  left: 0;
  z-index: 20;
  width: 120px;
  max-height: 200px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: var(--shadow);
}
.dz-numselect__drop.is-open { display: block; }
.dz-numselect__opt {
  height: 32px;
  line-height: 32px;
  padding: 0 12px;
  font-size: 13px;
  color: var(--text-2);
  cursor: pointer;
}
.dz-numselect__opt:hover { color: var(--brand); background: var(--brand-light); }
.dz-numselect__opt.is-active { color: #fff; background: var(--brand); }

/* 复选框（可增减） */
.dz-cb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-2);
  cursor: pointer;
}
.dz-cb input { display: none; }
.dz-cb__mark {
  width: 16px;
  height: 16px;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: #fff;
  position: relative;
}
.dz-cb input:checked + .dz-cb__mark {
  background: var(--brand);
  border-color: var(--brand);
}
.dz-cb input:checked + .dz-cb__mark::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 12px;
  line-height: 1;
}

/* 目的地下拉 */
.dz-dest { position: relative; }
.dz-dest__sugg {
  display: none;
  position: absolute;
  top: 42px;
  left: 0;
  right: 0;
  z-index: 20;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: var(--shadow);
  padding: 12px 14px;
}
.dz-dest__sugg.is-open { display: block; }
.dz-ds__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}
.dz-ds__close {
  border: none;
  background: none;
  font-size: 20px;
  line-height: 1;
  color: var(--text-3);
}
.dz-ds__title { font-size: 12px; color: var(--text-3); margin: 8px 0 6px; }
.dz-ds__list { display: flex; flex-wrap: wrap; gap: 8px; }
.dz-ds__item {
  padding: 3px 12px;
  font-size: 13px;
  color: var(--text-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
}
.dz-ds__item:hover { color: var(--brand); border-color: var(--brand); }

/* 短信验证码按钮 */
.dz-sms {
  height: 36px;
  padding: 0 14px;
  font-size: 13px;
  color: var(--brand);
  background: var(--brand-light);
  border: 1px solid var(--brand);
  border-radius: 4px;
  white-space: nowrap;
}
.dz-sms:hover { background: var(--brand); color: #fff; }

/* 按钮行 */
.dz-fbtns {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 8px;
}
.dz-btn {
  height: 42px;
  padding: 0 30px;
  font-size: 15px;
  border-radius: 4px;
  border: 1px solid transparent;
}
.dz-btn--brand { background: var(--brand); color: #fff; }
.dz-btn--brand:hover { background: var(--brand-dark); }
.dz-btn--ghost { background: #fff; color: var(--text-2); border-color: var(--border); }
.dz-btn--ghost:hover { color: var(--brand); border-color: var(--brand); }

/* ---------- 右侧：我的需求单（实时预览） ---------- */
.dz-panel {
  flex: 0 0 300px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  position: sticky;
  top: 20px;
}
.dz-panel__hd {
  padding: 16px 18px;
  background: var(--brand);
  color: #fff;
}
.dz-panel__hd h3 { font-size: 16px; font-weight: 600; }
.dz-panel__hd p { margin-top: 2px; font-size: 12px; opacity: 0.85; }
.dz-panel__bd { padding: 6px 18px 18px; }
.dz-prow {
  display: flex;
  padding: 9px 0;
  font-size: 13px;
  border-bottom: 1px dashed #eee;
}
.dz-pk { flex: 0 0 70px; color: var(--text-3); }
.dz-pv { flex: 1; color: var(--text); word-break: break-all; }
.dz-pempty { color: #c0c0c0; }
.dz-panel__tip {
  margin-top: 14px;
  padding: 12px;
  text-align: center;
  font-size: 12px;
  line-height: 1.8;
  color: var(--text-3);
  background: var(--brand-light);
  border-radius: 4px;
}
.dz-panel__tip strong { font-size: 16px; color: var(--brand-dark); }
.dz-panel__qr {
  margin-top: 12px;
  text-align: center;
}
.dz-panel__qr img {
  width: 120px;
  height: 120px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 6px;
}
.dz-panel__qr span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--text-3);
}

/* ---------- 精选案例（3 列卡片） ---------- */
.dz-case {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.dz-case__item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
}
.dz-case__item:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.dz-case__img {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.dz-case__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.dz-case__item:hover .dz-case__img img { transform: scale(1.06); }
.dz-case__tag {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 2px 10px;
  font-size: 12px;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 3px;
}
.dz-case__info { padding: 14px 16px 16px; }
.dz-case__info h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dz-case__info p {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-3);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- 响应式 ---------- */
@media (max-width: 992px) {
  .dz-svc { grid-template-columns: repeat(3, 1fr); }
  .dz-flow { flex-wrap: wrap; gap: 24px 0; }
  .dz-flow__item { flex: 1 1 50%; }
  .dz-flow__item::before, .dz-flow__item::after { display: none; }
  .dz-form-wrap { flex-direction: column; }
  .dz-panel { flex: 1 1 auto; width: 100%; position: static; }
  .dz-case { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .dz-hero h1 { font-size: 30px; }
  .dz-hero__nums { gap: 30px; }
  .dz-hero__num .bn { font-size: 28px; }
  .dz-svc { grid-template-columns: repeat(2, 1fr); }
  .dz-flow__item { flex: 1 1 100%; }
  .dz-frow { flex-direction: column; }
  .dz-flbl { flex: none; text-align: left; margin-right: 0; margin-bottom: 6px; padding-top: 0; }
  .dz-frow-half { flex-direction: column; gap: 12px; }
  .dz-case { grid-template-columns: 1fr; }
}
