:root {
  --ink: #173044;
  --muted: #5d7082;
  --line: #e4eef5;
  --navy: #08345c;
  --blue: #1478c2;
  --sky: #f3f8fc;
  --card: #ffffff;
  --gold: #c9842a;
  --orange: #f06820;
  --orange-deep: #e25512;
  --ok: #1b8f5a;
  --danger: #d14343;
  --radius: 18px;
  --page: 480px;
  --shadow: 0 10px 30px rgba(16, 52, 84, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 50% -40px, #d7ebf8, transparent 70%),
    #e7f0f6;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  line-height: 1.55;
}
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }

.page {
  width: min(var(--page), 100%);
  margin: 0 auto;
  background: #eaf4fb;
  min-height: 100vh;
  padding-bottom: calc(104px + env(safe-area-inset-bottom));
  box-shadow: 0 0 48px rgba(8, 52, 92, 0.08);
}
.poster { line-height: 0; font-size: 0; background: #eaf4fb; }
.poster img { display: block; width: 100%; height: auto; }
.poster-end { position: relative; }
.order-hit {
  position: absolute;
  left: 8.4%;
  right: 8.6%;
  top: 88.04%;
  height: 5.18%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.hero {
  position: relative;
  padding: 36px 22px 32px;
  color: #fff;
  background:
    radial-gradient(90% 80% at 100% 0%, rgba(255, 190, 120, 0.38), transparent 52%),
    radial-gradient(70% 60% at 0% 20%, rgba(130, 210, 255, 0.28), transparent 50%),
    linear-gradient(165deg, #072844 0%, #0c568f 52%, #1a8ec8 100%);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -28px;
  height: 56px;
  background: #fff;
  border-radius: 50% 50% 0 0;
}
.eyebrow {
  margin: 0 0 8px;
  letter-spacing: 0.28em;
  font-size: 13px;
  opacity: 0.8;
}
.hero h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: 0.04em;
}
.hero-sub {
  margin: 10px 0 0;
  font-size: 16px;
  letter-spacing: 0.18em;
  opacity: 0.92;
}
.hero-pills {
  display: flex;
  gap: 8px;
  margin: 18px 0 0;
}
.hero-pills span {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 13px;
}
.hero-price {
  margin: 18px 0 0;
  font-size: 15px;
}
.hero-price strong {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.ghost {
  position: relative;
  z-index: 1;
  display: inline-flex;
  margin-top: 16px;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  padding-bottom: 2px;
}

.block { padding: 8px 18px 22px; }
.block-soft { background: var(--sky); }
h2 {
  margin: 18px 0 6px;
  text-align: center;
  font-size: 22px;
  letter-spacing: 0.06em;
}
h2::after {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  margin: 8px auto 0;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--gold), #f0c27a);
}
.lead {
  margin: 10px 0 14px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.benefits li {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.benefit-icon {
  flex: 0 0 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #e8f4fc;
  color: var(--blue);
}
.benefit-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.benefits strong { display: block; font-size: 15px; }
.benefits em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  color: var(--orange);
  font-size: 12px;
}

.highlights {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.highlights li {
  background: #fff;
  border-radius: 14px;
  padding: 14px 12px;
  text-align: center;
}
.highlights b {
  display: block;
  color: var(--blue);
  font-size: 18px;
}
.highlights span { color: var(--muted); font-size: 13px; }

.pkg {
  position: relative;
  margin-top: 12px;
  padding: 16px 16px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.pkg header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.pkg h3 { margin: 0; font-size: 18px; }
.save {
  color: var(--orange-deep);
  background: #fff1e8;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 700;
}
.price {
  margin: 8px 0 0;
  color: var(--orange-deep);
  font-size: 36px;
  font-weight: 750;
  line-height: 1;
  letter-spacing: -0.03em;
}
.price small { font-size: 18px; margin-right: 2px; }
.per { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.pkg ul {
  margin: 10px 0 14px;
  padding: 0;
  list-style: none;
}
.pkg li {
  position: relative;
  padding-left: 16px;
  margin: 4px 0;
  color: #3d5366;
  font-size: 14px;
}
.pkg li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8fd0f5;
}
.pkg.recommend {
  border-color: #ffc7a6;
  background: linear-gradient(180deg, #fff8f3 0%, #fff 42%);
}
.tag {
  position: absolute;
  top: -10px;
  left: 16px;
  background: linear-gradient(90deg, #ff8a3d, #ff5a1f);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
}

.btn-solid, .btn-line {
  width: 100%;
  min-height: 46px;
  border-radius: 999px;
  border: 0;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.btn-solid {
  color: #fff;
  background: linear-gradient(90deg, #ff8a3d, #ff5a1f);
  box-shadow: 0 8px 16px rgba(240, 104, 32, 0.28);
}
.btn-solid:active { transform: translateY(1px); }
.btn-line {
  color: var(--orange-deep);
  background: #fff;
  border: 1px solid #ffc7a8;
}
.btn-solid:disabled { opacity: 0.7; cursor: wait; }

.reasons {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}
.reasons li {
  display: flex;
  gap: 12px;
  background: #fff;
  border-radius: 14px;
  padding: 14px;
  margin-top: 10px;
}
.reasons span {
  flex: 0 0 auto;
  color: var(--blue);
  font-weight: 750;
  letter-spacing: 0.04em;
}
.reasons strong { display: block; }
.reasons p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }

.compare {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  font-size: 13px;
}
.compare-row {
  display: grid;
  grid-template-columns: 0.9fr 1.15fr 0.95fr;
}
.compare-row span {
  padding: 11px 8px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.compare-row span:first-child { text-align: left; padding-left: 12px; color: var(--muted); }
.compare-row.head span {
  border-top: 0;
  background: #f7fbfe;
  color: var(--ink);
  font-weight: 700;
}
.compare-row span:nth-child(2) {
  background: #f3f9ff;
  color: var(--navy);
  font-weight: 700;
}
.compare-row.head span:nth-child(2) { background: #e5f3ff; }

.notes, .visit-list, .reviews {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}
.notes li, .visit-list li {
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  margin-top: 8px;
  font-size: 14px;
}
.notes b, .visit-list b {
  display: inline-block;
  min-width: 4.5em;
  color: var(--blue);
}
.visit-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.visit-list span { text-align: right; color: #355066; }

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-top: 8px;
  padding: 0 14px;
}
.faq summary {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--blue);
  font-size: 20px;
  font-weight: 500;
}
.faq details[open] summary::after { content: "–"; }
.faq details p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
}

.reviews li {
  background: #fff;
  border-radius: 14px;
  padding: 14px;
  margin-top: 10px;
}
.who { display: flex; gap: 10px; align-items: center; }
.who i {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e7f3fb;
  color: var(--blue);
  font-style: normal;
  font-weight: 700;
}
.who strong { display: block; font-size: 14px; }
.stars { color: #f0a202; letter-spacing: 1px; font-size: 12px; }
.reviews p { margin: 8px 0 0; font-size: 14px; }

.foot {
  padding: 8px 20px 20px;
  text-align: center;
  color: #8aa0b3;
  font-size: 12px;
}

.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.dock-inner {
  pointer-events: auto;
  width: min(var(--page), 100%);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 -8px 24px rgba(16, 42, 67, 0.08);
  backdrop-filter: blur(8px);
}
.dock-copy { flex: 1; min-width: 0; }
.dock-copy p { margin: 0; font-size: 12px; line-height: 1.45; color: #3d5366; }
.dock-copy b { color: var(--ink); }
.dock-copy em { font-style: normal; color: var(--orange-deep); font-weight: 700; }
.dock-btn { width: auto; min-width: 112px; padding: 0 16px; }

.mask {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(10, 28, 44, 0.48);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.mask[hidden] { display: none; }
.sheet {
  width: min(var(--page), 100%);
  max-height: min(92vh, 760px);
  overflow: auto;
  background: #fff;
  border-radius: 22px 22px 0 0;
  padding: 8px 18px calc(18px + env(safe-area-inset-bottom));
  animation: rise 0.28s ease;
}
@keyframes rise {
  from { transform: translateY(24px); opacity: 0.4; }
  to { transform: none; opacity: 1; }
}
.sheet-handle {
  width: 40px;
  height: 4px;
  border-radius: 99px;
  background: #d5e1ea;
  margin: 6px auto 10px;
}
.sheet h2 { margin-top: 4px; }
.sheet h2::after { display: none; }
.sheet-tip {
  margin: 0 0 12px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
.field { display: block; margin-top: 12px; }
.field > span {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 700;
}
.field input, .field select {
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid #d5e2ec;
  border-radius: 12px;
  background: #f8fbfd;
  font-size: 16px;
}
.field input:focus, .field select:focus {
  outline: 2px solid rgba(20, 120, 194, 0.25);
  border-color: var(--blue);
  background: #fff;
}
.stepper {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  gap: 8px;
}
.stepper button {
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid #d5e2ec;
  background: #fff;
  font-size: 22px;
  line-height: 1;
}
.stepper input { text-align: center; }
.hint { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; }
.error {
  display: block;
  min-height: 0;
  margin-top: 4px;
  color: var(--danger);
  font-size: 12px;
}
.error:empty { display: none; }
.field input.invalid, .field select.invalid { border-color: var(--danger); background: #fff8f8; }

.total {
  margin-top: 16px;
  padding: 4px 14px;
  border-radius: 12px;
  background: #f6fbff;
}
.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
}
.price-row + .price-row { border-top: 1px solid #e4eef5; }
.price-row span { color: var(--muted); font-size: 13px; }
.price-row b { font-size: 14px; }
.price-row.discount b { color: #1b8f5a; }
.price-row.pay strong { color: var(--orange-deep); font-size: 24px; }
.submit { margin-top: 14px; }

.success { text-align: center; padding: 12px 6px 8px; }
.ok {
  width: 58px;
  height: 58px;
  margin: 8px auto 10px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e8f8ef;
  color: var(--ok);
  font-size: 30px;
}
.success p { color: var(--muted); margin: 6px 0 14px; }
.success dl {
  margin: 0 0 16px;
  text-align: left;
  background: var(--sky);
  border-radius: 12px;
  padding: 8px 14px;
}
.success dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid #e1ebf3;
  font-size: 14px;
}
.success dl div:first-child { border-top: 0; }
.success dt { color: var(--muted); }
.success dd { margin: 0; font-weight: 700; }

body.lock { overflow: hidden; }
.noscript {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  margin: 0 auto;
  max-width: 440px;
  background: #fff4e8;
  color: #8a4b12;
  padding: 10px 12px;
  border-radius: 10px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sheet { animation: none; }
}
@media (min-width: 900px) {
  body { padding: 28px 0; }
  .page { border-radius: 28px; overflow: hidden; min-height: calc(100vh - 56px); }
  .dock-inner { border-radius: 18px 18px 0 0; }
}
