/* 1对1定制页 — 参考奶爸保 service，对齐学霸说保险视觉 */

:root {
  --dz-blue: #1a6fd4;
  --dz-blue-deep: #0b457f;
  --dz-ink: #182433;
  --dz-muted: #667586;
  --dz-line: #e6eef6;
  --dz-bg: #f3f5f7;
  --dz-orange: #ff8c1a;
  --dz-radius: 16px;
  --dz-max: 1280px;
  --dz-font: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  --dz-display: 'Source Han Serif SC', 'Noto Serif SC', 'Songti SC', 'STSong', serif;
}

.dz-page {
  background: var(--dz-bg);
  color: var(--dz-ink);
  font-family: var(--dz-font);
  padding-bottom: 48px;
}

.dz-page * {
  box-sizing: border-box;
}

.dz-wrap {
  width: min(100% - 40px, var(--dz-max));
  margin: 0 auto;
}

/* —— Hero：原 banner.jpg + 左侧表单 —— */
.dz-hero {
  position: relative;
  overflow: hidden;
  color: var(--dz-ink);
  height: 460px;
  background-color: #e8f2fb;
  background-image: url('/skin/img/banner.jpg');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: auto 460px;
}

.dz-hero-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 40px, var(--dz-max));
  margin: 0 auto;
  height: 460px;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  animation: dz-rise 0.7s ease both;
}

/* —— Lead form card —— */
.dz-form-card {
  width: min(100%, 500px);
  background: #fff;
  border-radius: 16px;
  padding: 24px 24px 18px;
  box-shadow: 0 14px 40px rgba(26, 80, 150, 0.14);
  border: 1px solid rgba(230, 238, 246, 0.9);
}

.dz-form-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 800;
  color: var(--dz-ink);
}

.dz-form-title svg {
  width: 20px;
  height: 20px;
  color: var(--dz-blue);
  flex: 0 0 auto;
}

.dz-field {
  margin-bottom: 12px;
}

.dz-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: stretch;
}

.dz-input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #dde6f0;
  border-radius: 10px;
  background: #f8fafc;
  font-size: 14px;
  color: var(--dz-ink);
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.dz-input:focus {
  border-color: #8cbcf0;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(26, 111, 212, 0.12);
}

.dz-input::placeholder {
  color: #9aa8b8;
}

.dz-sex {
  display: inline-flex;
  border: 1px solid #dde6f0;
  border-radius: 10px;
  overflow: hidden;
  background: #f8fafc;
  height: 44px;
}

.dz-sex label {
  min-width: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--dz-muted);
  cursor: pointer;
  padding: 0 14px;
  user-select: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.dz-sex input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.dz-sex label.is-on {
  background: var(--dz-blue);
  color: #fff;
  font-weight: 600;
}

.dz-mobile-wrap {
  position: relative;
}

.dz-mobile-wrap .dz-input {
  padding-right: 108px;
}

.dz-sms-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--dz-blue);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.dz-sms-btn:disabled {
  color: #9aa8b8;
  cursor: not-allowed;
}

.dz-interest-label {
  margin: 2px 0 8px;
  font-size: 13px;
  color: var(--dz-muted);
}

.dz-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.dz-tag {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid #dde6f0;
  background: #fff;
  color: var(--dz-ink);
  font-size: 12px;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.dz-tag input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.dz-tag.is-on {
  border-color: var(--dz-blue);
  color: var(--dz-blue);
  background: rgba(26, 111, 212, 0.06);
  font-weight: 600;
}

.dz-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 46px;
  margin-top: 16px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(90deg, #1a6fd4 0%, #2b84e8 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
  box-shadow: 0 10px 24px rgba(26, 111, 212, 0.28);
}

.dz-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(26, 111, 212, 0.34);
}

.dz-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.dz-form-tip {
  margin: 12px 0 0;
  text-align: center;
  font-size: 12px;
  color: #9aa8b8;
}

.dz-form-msg {
  display: none;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.5;
}

.dz-form-msg.is-ok {
  display: block;
  background: #eef9f1;
  color: #1f7a3a;
}

.dz-form-msg.is-err {
  display: block;
  background: #fff1f0;
  color: #c0392b;
}

.dz-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 28px;
  border: 0;
  border-radius: 24px;
  background: var(--dz-orange);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 28px rgba(255, 140, 26, 0.35);
}

.dz-cta:hover {
  background: #f07d0c;
  color: #fff;
  transform: translateY(-2px);
}

/* —— Sections —— */
.dz-sec {
  padding: 40px 0 0;
}

.dz-panel {
  background: #fff;
  border-radius: var(--dz-radius);
  padding: 40px 36px 44px;
  box-shadow: 0 8px 28px rgba(26, 80, 150, 0.06);
  border: 1px solid rgba(230, 238, 246, 0.95);
}

.dz-sec-head {
  text-align: center;
  margin-bottom: 36px;
  animation: dz-rise 0.6s ease both;
}

.dz-sec-head h2 {
  margin: 0;
  font-family: var(--dz-display);
  font-size: 30px;
  font-weight: 700;
  color: var(--dz-ink);
  letter-spacing: 0.02em;
}

.dz-sec-head p {
  margin: 12px auto 0;
  max-width: 560px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--dz-muted);
}

/* —— Steps —— */
.dz-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}

.dz-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #c9daf0 15%, #c9daf0 85%, transparent);
  pointer-events: none;
}

.dz-step {
  text-align: center;
  padding: 0 24px;
  position: relative;
}

.dz-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #f5f9fd;
  border: 2px solid #d7e6f7;
  color: var(--dz-blue);
  font-family: var(--dz-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.dz-step:hover .dz-step-num {
  border-color: var(--dz-blue);
  color: var(--dz-blue-deep);
  transform: scale(1.06);
}

.dz-step h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--dz-ink);
}

.dz-step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--dz-muted);
}

/* —— Case compare —— */
.dz-case {
  background: #fff;
  border-radius: var(--dz-radius);
  padding: 36px 40px 28px;
  box-shadow: 0 12px 40px rgba(20, 50, 90, 0.06);
}

.dz-case-summary {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.dz-case-summary h3 {
  margin: 0 0 8px;
  font-family: var(--dz-display);
  font-size: 24px;
  font-weight: 700;
}

.dz-case-summary > div > p {
  margin: 0;
  max-width: 520px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--dz-muted);
}

.dz-price-pair {
  display: flex;
  gap: 28px;
  align-items: flex-end;
}

.dz-price {
  text-align: right;
}

.dz-price span {
  display: block;
  font-size: 13px;
  color: var(--dz-muted);
  margin-bottom: 4px;
}

.dz-price em {
  font-style: normal;
  font-size: 28px;
  font-weight: 800;
  color: #98a2b0;
  letter-spacing: -0.02em;
}

.dz-price em small {
  font-size: 14px;
  font-weight: 600;
  margin-left: 2px;
}

.dz-price--win em {
  color: var(--dz-orange);
}

.dz-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--dz-line);
  border-radius: 12px;
}

.dz-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  font-size: 13px;
}

.dz-table th,
.dz-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--dz-line);
  text-align: left;
  vertical-align: middle;
}

.dz-table th {
  background: #f7fafc;
  color: var(--dz-muted);
  font-weight: 600;
  white-space: nowrap;
}

.dz-table tbody tr:last-child td {
  border-bottom: 0;
}

.dz-table .dz-muted {
  color: #9aa5b3;
}

.dz-table .dz-hilite {
  color: var(--dz-blue-deep);
  font-weight: 700;
}

.dz-case-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.dz-case-foot p {
  margin: 0;
  font-size: 14px;
  color: var(--dz-muted);
}

.dz-case-foot strong {
  color: var(--dz-orange);
}

/* —— Values —— */
.dz-values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-top: 8px;
}

.dz-value h3 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 700;
  color: var(--dz-ink);
}

.dz-value h3::before {
  content: '';
  display: block;
  width: 28px;
  height: 3px;
  background: var(--dz-blue);
  border-radius: 2px;
  margin-bottom: 14px;
}

.dz-value p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--dz-muted);
}

/* —— Trust band —— */
.dz-trust {
  margin-top: 24px;
  border-radius: var(--dz-radius);
  overflow: hidden;
  background:
    linear-gradient(120deg, #0c3d72 0%, #1562b8 55%, #1a78d4 100%);
  color: #fff;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 280px;
}

.dz-trust-copy {
  padding: 48px 44px;
}

.dz-trust-copy blockquote {
  margin: 0;
  font-family: var(--dz-display);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.4;
}

.dz-trust-copy p {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
  max-width: 460px;
}

.dz-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.dz-stats div strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.dz-stats div span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.dz-trust-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 36px;
  background: rgba(255, 255, 255, 0.08);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.dz-trust-side p {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}

.dz-trust-side .dz-cta {
  margin-top: 4px;
}

/* —— Contact —— */
.dz-contact {
  margin-top: 48px;
  padding: 28px 0 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 1px solid var(--dz-line);
}

.dz-contact h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
}

.dz-contact p {
  margin: 0;
  font-size: 14px;
  color: var(--dz-muted);
}

.dz-contact a {
  color: var(--dz-blue);
  text-decoration: none;
  font-weight: 700;
}

.dz-contact a:hover {
  color: var(--dz-orange);
}

/* —— Mask (QR) —— */
.mask-box {
  position: fixed;
  inset: 0;
  display: none;
  background: rgba(12, 24, 40, 0.55);
  z-index: 1000;
}

.ewm-box1 {
  background: #fff;
  padding: 40px 32px;
  position: relative;
  left: 50%;
  top: 50%;
  width: 400px;
  margin-left: -230px;
  margin-top: -200px;
  text-align: center;
  line-height: 1.6;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.ewm-box1 img {
  width: 150px;
  margin: 18px auto;
  display: block;
}

.ewm-box1 .title {
  font-size: 20px;
  line-height: 1.45;
  color: var(--dz-ink);
  font-weight: 700;
}

@keyframes dz-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .dz-hero {
    height: 320px;
    background-size: auto 320px;
    background-position: center right;
  }

  .dz-hero-inner {
    height: 320px;
    padding: 14px 0;
  }

  .dz-form-card {
    width: min(100%, 460px);
  }

  .dz-steps {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .dz-steps::before {
    display: none;
  }

  .dz-values {
    grid-template-columns: 1fr 1fr;
  }

  .dz-trust {
    grid-template-columns: 1fr;
  }

  .dz-trust-side {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
}

@media (max-width: 640px) {
  .dz-hero-inner {
    padding: 48px 0 64px;
  }

  .dz-values {
    grid-template-columns: 1fr;
  }

  .dz-case {
    padding: 24px 16px;
  }

  .dz-price-pair {
    width: 100%;
    justify-content: space-between;
  }
}
