/* SoLoMo 落地页样式 —— 手机优先，桌面最宽 1120px */
:root {
  --blue: #079EE8;
  --orange: #FF8A00;
  --magenta: #F41478;
  --purple: #6039D6;
  --navy: #101B35;
  --white: #FFFFFF;

  --tint: #F3F8FD;
  --tint-blue: #E6F5FD;
  --tint-magenta: #FDE7F1;
  --tint-orange: #FFF1E0;
  --tint-purple: #EFEBFB;
  --ph-bg: #EEF0F3;
  --ph-line: #8A93A6;

  --radius: 16px;
  --gutter: 16px;
  --font: -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--navy);
  background: var(--white);
  padding-bottom: 88px; /* 手机底部固定按钮的空间，避免挡住页尾 */
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { line-height: 1.3; margin: 0 0 .6em; color: inherit; }
h1 { font-size: 30px; }
h2 { font-size: 26px; }
h3 { font-size: 19px; }
p { margin: 0 0 1em; }

a { color: var(--navy); }
a:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.narrow { max-width: 760px; }
.center { text-align: center; }

/* ---------- 按钮：橙底 + 深海军蓝粗体 ≥18px ---------- */
.btn {
  display: inline-block;
  background: var(--orange);
  color: var(--navy);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 999px;
  border: 2px solid var(--orange);
  text-align: center;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(16, 27, 53, .18); }
.btn--small { padding: 8px 16px; white-space: nowrap; flex-shrink: 0; }
.btn--large { font-size: 19px; padding: 16px 28px; }

/* ---------- 顶部栏 ---------- */
.topbar {
  background: var(--white);
  border-bottom: 1px solid #E3E7EE;
  position: sticky;
  top: 0;
  z-index: 10;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
}
.topbar__logo img { height: 40px; width: auto; }

/* ---------- 主视觉 ---------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--tint-blue) 0%, var(--white) 100%);
  padding: 32px 0 56px;
  overflow: hidden;
}
.hero__inner { display: grid; gap: 24px; }
.hero__sub { font-size: 18px; }
.offer-tag {
  display: inline-block;
  background: var(--tint-orange);
  border-left: 6px solid var(--magenta);
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 700;
}
.hero .fine { margin-top: 10px; }
.hero__figure { margin: 0 auto; max-width: 320px; text-align: center; }
.hero__figure img { border-radius: var(--radius); }
.hero__figure figcaption { font-size: 15px; margin-top: 8px; font-weight: 700; }
.swoosh {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 48px;
}

.fine { font-size: 15px; }

/* ---------- 一般区块 ---------- */
.section { padding: 48px 0; }
.section--tint { background: var(--tint); }
.lead { font-size: 18px; }

.two-col { display: grid; gap: 24px; align-items: center; }

/* 引言气泡 */
.quotes { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 12px; }
.quote {
  position: relative;
  padding: 12px 16px;
  border-radius: 16px 16px 16px 4px;
  font-size: 18px;
  font-weight: 700;
  max-width: 100%;
}
.quote--blue { background: var(--tint-blue); border-left: 5px solid var(--blue); }
.quote--magenta { background: var(--tint-magenta); border-left: 5px solid var(--magenta); }
.quote--orange { background: var(--tint-orange); border-left: 5px solid var(--orange); }

/* 服务卡片 */
.cards { display: grid; gap: 16px; }
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  border-top: 6px solid var(--blue);
  box-shadow: 0 2px 10px rgba(16, 27, 53, .06);
}
.card p { margin: 0; }
.card--blue { border-top-color: var(--blue); }
.card--magenta { border-top-color: var(--magenta); }
.card--orange { border-top-color: var(--orange); }
.card--purple { border-top-color: var(--purple); }

.food-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 24px;
}
.photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}
.food-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

/* 占位框 */
.ph {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  background: var(--ph-bg);
  border: 2px dashed var(--ph-line);
  border-radius: var(--radius);
  color: var(--navy);
  font-size: 15px;
  width: 100%;
}
.ph--4x3 { aspect-ratio: 4 / 3; }

/* 步骤 */
.steps { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 16px; }
.step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid #E3E7EE;
  border-radius: var(--radius);
  padding: 18px;
}
.step h3 { margin-bottom: .3em; }
.step p { margin: 0; }
.step__num {
  flex: 0 0 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.terms {
  list-style: none;
  margin: 0 0 24px;
  padding: 16px 18px;
  border: 2px solid var(--purple);
  border-radius: var(--radius);
  background: var(--tint-purple);
  display: grid;
  gap: 6px;
  font-weight: 700;
}
.terms li::before { content: "✓ "; }

/* 为什么选 */
.why { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }

/* 价格 */
.price-box {
  border-radius: 20px;
  padding: 28px 20px;
  background: var(--white);
  border: 2px solid var(--navy);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.price-box::before {
  content: "";
  position: absolute;
  left: 0; top: 0; right: 0;
  height: 8px;
  background: linear-gradient(90deg, var(--blue), var(--purple), var(--magenta), var(--orange));
}
.price {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.2;
  margin: 4px 0 16px;
}
.price-box__cols { display: grid; gap: 4px; text-align: left; max-width: 640px; margin: 0 auto 8px; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq__item {
  border: 1px solid #E3E7EE;
  border-left: 5px solid var(--blue);
  border-radius: 12px;
  padding: 16px 18px;
}
.faq__item h3 { font-size: 18px; margin-bottom: .4em; }
.faq__item p { margin: 0; }

/* 最后召唤：深海军蓝底、白字 */
.final {
  background: var(--navy);
  color: var(--white);
  padding: 56px 0;
}
.final h2 { color: var(--white); }
.final p { color: var(--white); }
.final .btn { margin: 8px 0 16px; }

/* 页尾 */
.footer {
  padding: 32px 0 24px;
  font-size: 15px;
  border-top: 1px solid #E3E7EE;
}
.footer__contact { font-weight: 700; }
.footer__logo img { width: 240px; max-width: 100%; height: auto; margin: 8px 0 16px; }
.footer__note { margin-bottom: .8em; }

/* 手机底部固定 WhatsApp 按钮 */
.sticky-wa {
  position: fixed;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 12px;
  z-index: 20;
  box-shadow: 0 6px 20px rgba(16, 27, 53, .25);
}

/* ---------- 平板 ---------- */
@media (min-width: 768px) {
  h1 { font-size: 40px; }
  h2 { font-size: 30px; }
  .section { padding: 64px 0; }
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .food-grid { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step { flex-direction: column; }
  .terms { grid-template-columns: repeat(2, 1fr); }
  .price-box { padding: 40px; }
  .price-box__cols { grid-template-columns: 1fr 1fr; gap: 16px; }
  .sticky-wa { display: none; }
  body { padding-bottom: 0; }
}

/* ---------- 桌面 ---------- */
@media (min-width: 900px) {
  .hero { padding: 56px 0 80px; }
  .hero__inner { grid-template-columns: 1.3fr 1fr; align-items: center; gap: 48px; }
  .hero__figure { max-width: 380px; }
  .two-col { grid-template-columns: 1fr 1fr; gap: 48px; }
  .two-col--reverse > :first-child { order: 2; }
  .cards--4 { grid-template-columns: repeat(4, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
  .btn:hover { transform: none; }
}
