* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: #114b66;
  background: #bfe9fb;
  line-height: 1.5;
}
.page {
  max-width: 560px;
  margin: 0 auto;
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 8%, rgba(255,255,255,.5), transparent 40%),
    linear-gradient(180deg, #79d3f7 0%, #54c4f2 22%, #46b9ee 60%, #38aee9 100%);
  position: relative;
  overflow: hidden;
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 0; }
.hero-img { display: block; width: 100%; }
.hero-inner { position: relative; z-index: 2; text-align: center; padding: 42px 20px 28px; }
.hero-title {
  font-size: 46px; font-weight: 900; letter-spacing: 4px; color: #fff;
  text-shadow: 0 3px 0 #1f8fd0, 0 6px 10px rgba(0,60,100,.35);
  -webkit-text-stroke: 1px #2a9bd8;
}
.hero-title--accent { color: #fff34d; -webkit-text-stroke: 1px #f0a400; text-shadow: 0 3px 0 #e89400, 0 6px 12px rgba(0,60,100,.3); }
.hero-slogan {
  display: inline-block; margin-top: 16px; padding: 8px 22px;
  background: rgba(255,255,255,.9); color: #1d8ac4; font-weight: 700; font-size: 16px;
  border-radius: 999px; box-shadow: 0 4px 12px rgba(0,80,130,.18);
}
.hero-deco .bubble { position: absolute; border-radius: 50%; background: rgba(255,255,255,.35); }
.bubble.b1 { width: 70px; height: 70px; top: 30px; left: -10px; }
.bubble.b2 { width: 36px; height: 36px; top: 90px; right: 22px; }
.bubble.b3 { width: 22px; height: 22px; top: 40px; right: 70px; }
.bubble.b4 { width: 50px; height: 50px; bottom: -10px; left: 40px; opacity: .6; }

/* ---------- Cards ---------- */
.content { padding: 6px 16px 30px; position: relative; z-index: 2; }
.card {
  background: rgba(255,255,255,.9);
  border-radius: 18px;
  padding: 20px 16px 18px;
  margin: 18px 0;
  box-shadow: 0 8px 22px rgba(10,80,130,.14);
  border: 1px solid rgba(255,255,255,.7);
}

/* Ribbon header */
.ribbon {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 19px; font-weight: 800; color: #fff;
  background: linear-gradient(90deg, #36b6ef, #1f95d8);
  padding: 9px 26px 9px 18px; border-radius: 8px 18px 18px 8px;
  box-shadow: 0 4px 10px rgba(20,120,180,.3);
  margin: -34px 0 16px -8px;
  position: relative;
}
.ribbon--pink { background: linear-gradient(90deg, #ff8fc0, #ff5fa3); box-shadow: 0 4px 10px rgba(220,60,130,.3); }
.ribbon--green { background: linear-gradient(90deg, #4fd0a8, #25b888); box-shadow: 0 4px 10px rgba(20,160,120,.3); }
.ribbon-no { font-size: 16px; opacity: .95; }
.ribbon-ico { font-size: 17px; }

/* dot list */
.dot-list { list-style: none; }
.dot-list.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 10px; }
.dot-list li { display: flex; align-items: center; gap: 9px; font-size: 15px; }
.dot-list .num {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: #2aa3e0; color: #fff; font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.muted { color: #5a7d8f; font-size: 13px; }

/* targets */
.target-list { display: flex; flex-direction: column; gap: 12px; }
.target-row { display: flex; align-items: center; gap: 12px; }
.target-name {
  flex: none; width: 76px; font-size: 18px; font-weight: 800; color: #1f8fd0;
}
.target-desc {
  flex: 1; background: #eaf7ff; border-radius: 10px; padding: 10px 12px;
  font-weight: 600; color: #176089; font-size: 15px;
}
.target-note { color: #8aa6b6; font-weight: 400; font-size: 12px; }

/* fees */
.fee-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fee-item {
  background: linear-gradient(135deg, #fff7ec, #fff);
  border: 1px dashed #ffb86b; border-radius: 12px; padding: 10px 8px;
  display: flex; flex-direction: column; gap: 4px;
}
.fee-label {
  align-self: flex-start; font-size: 12px; color: #fff; font-weight: 700;
  background: linear-gradient(90deg, #ff9a4d, #ff7a2d); padding: 3px 8px; border-radius: 8px;
}
.fee-price { display: flex; align-items: baseline; color: #ff6a00; }
.fee-num { font-size: 30px; font-weight: 900; line-height: 1; }
.fee-yuan { font-size: 13px; font-weight: 700; margin-left: 2px; }
.fee-unit { font-size: 12px; color: #c98a4a; margin-left: 3px; }

/* ---------- Form ---------- */
.form-card { padding-bottom: 22px; }
.form-tip { color: #5a7d8f; font-size: 13px; margin-bottom: 14px; }
.form { display: flex; flex-direction: column; gap: 13px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field .label { font-size: 14px; font-weight: 700; color: #2c6e91; }
.field .label i { color: #ff5a5a; font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; border: 1.5px solid #d5e9f4; border-radius: 10px;
  padding: 11px 12px; font-size: 15px; color: #114b66; background: #f7fcff;
  outline: none; transition: border-color .2s; font-family: inherit;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: #38aee9; background: #fff; }
.field textarea { resize: vertical; }
.btn-submit {
  margin-top: 6px; border: none; cursor: pointer;
  background: linear-gradient(90deg, #ff9a4d, #ff6a2d);
  color: #fff; font-size: 18px; font-weight: 800; letter-spacing: 1px;
  padding: 14px; border-radius: 12px;
  box-shadow: 0 8px 18px rgba(255,110,45,.35);
}
.btn-submit:active { transform: translateY(1px); }

.alert { border-radius: 10px; padding: 12px 14px; font-size: 14px; margin-bottom: 14px; font-weight: 600; }
.alert.ok { background: #e3f9ef; color: #1a9e6e; border: 1px solid #b9ecd4; }
.alert.err { background: #fdeaea; color: #d4524e; border: 1px solid #f6cfcd; }

/* ---------- Phone ---------- */
.phone-card { text-align: center; }
.phone-title { font-size: 16px; font-weight: 800; color: #1f8fd0; margin-bottom: 12px; }
.phone-row {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px;
  padding: 10px 0; border-top: 1px dashed #d5e9f4;
}
.phone-row:first-of-type { border-top: none; }
.phone-num { font-size: 22px; font-weight: 900; color: #ff6a00; letter-spacing: 1px; }
.phone-note { font-size: 12px; color: #8aa6b6; }
.phone-actions { display: flex; gap: 8px; width: 100%; justify-content: center; margin-top: 4px; }
.pbtn {
  border: none; cursor: pointer; font-size: 14px; font-weight: 700; padding: 8px 22px;
  border-radius: 999px; text-decoration: none;
}
.pbtn.call { background: linear-gradient(90deg, #4fd0a8, #25b888); color: #fff; }
.pbtn.copy { background: #eaf7ff; color: #1f8fd0; border: 1px solid #c5e6f7; }

/* ---------- Map ---------- */
.map-card { text-align: center; }
.pool-name { font-size: 19px; font-weight: 800; color: #1f8fd0; }
.pool-addr { color: #5a7d8f; font-size: 14px; margin: 8px 0 14px; }
.map-actions { display: flex; gap: 10px; }
.mbtn { flex: 1; border: none; cursor: pointer; font-size: 15px; font-weight: 700; padding: 12px; border-radius: 12px; }
.mbtn.nav { background: linear-gradient(90deg, #36b6ef, #1f8fd0); color: #fff; box-shadow: 0 6px 14px rgba(30,140,210,.3); }
.mbtn.copy { background: #eaf7ff; color: #1f8fd0; border: 1px solid #c5e6f7; }

.page-footer { text-align: center; color: rgba(255,255,255,.9); font-size: 13px; padding: 16px 0 28px; text-shadow: 0 1px 3px rgba(0,60,100,.25); }
.page-footer .tech-support { margin-top: 10px; }
.page-footer .tech-support a {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.32);
}
.page-footer .tech-support a:active { background: rgba(255,255,255,0.26); }

/* ---------- Nav sheet ---------- */
.nav-mask { position: fixed; inset: 0; background: rgba(0,0,0,.45); display: none; z-index: 50; }
.nav-mask.show { display: block; }
.nav-sheet {
  position: absolute; left: 0; right: 0; bottom: 0; background: #fff;
  border-radius: 18px 18px 0 0; padding: 8px; max-width: 560px; margin: 0 auto;
  animation: slideUp .25s ease;
}
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.nav-sheet-title { text-align: center; color: #8aa6b6; font-size: 13px; padding: 12px 0; }
.nav-opt {
  display: block; width: 100%; text-align: center; padding: 15px; font-size: 16px; font-weight: 600;
  color: #1f8fd0; background: #f4fbff; border: none; border-radius: 12px; margin-bottom: 8px;
  text-decoration: none; cursor: pointer;
}
.nav-opt.cancel { color: #8aa6b6; background: #f2f4f6; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; top: 50%; transform: translate(-50%,-50%);
  background: rgba(0,0,0,.8); color: #fff; padding: 12px 22px; border-radius: 10px;
  font-size: 14px; z-index: 60; opacity: 0; pointer-events: none; transition: opacity .2s;
}
.toast.show { opacity: 1; }
