:root {
  --navy: #003068;
  --navy-700: #0B4A8F;
  --navy-900: #00214A;
  --orange: #F0900F;
  --orange-600: #D97C05;
  --ink: #0D1B2A;
  --muted: #5B6B7F;
  --soft: #F5F8FC;
  --line: #E3E9F1;
  --line-hard: #C9D4E2;
  --white: #FFFFFF;
  --radius: 14px;
  --max: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

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

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* 待填占位 */
.ph {
  display: inline-block;
  color: #B26600;
  background: #FFF3DE;
  border-bottom: 1px dashed #EFA63E;
  border-radius: 3px;
  padding: 0 5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ---------- header ---------- */
.hd {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.hd-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 74px;
}

.hd-logo img { height: 46px; width: auto; }

.hd-nav { display: flex; gap: 2px; }

.hd-nav a {
  font-size: 14.5px;
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 8px;
  transition: color 0.16s ease, background 0.16s ease;
}

.hd-nav a:hover { color: var(--navy); background: var(--soft); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  padding: 13px 24px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
  white-space: nowrap;
}

.btn:active { transform: translateY(1px); }

.btn-wa { background: var(--orange); color: #fff; }
.btn-wa:hover { background: var(--orange-600); }

.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-900); }

.btn-line { border-color: var(--line-hard); color: var(--navy); background: #fff; }
.btn-line:hover { border-color: var(--navy); }

.btn-sm { padding: 9px 18px; font-size: 14px; border-radius: 8px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #F2F7FD 0%, #FFFFFF 92%);
  padding: 76px 0 68px;
}

.hero-art {
  position: absolute;
  right: -60px;
  top: -30px;
  width: 660px;
  opacity: 1;
  pointer-events: none;
}

.hero-in { position: relative; max-width: 660px; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-700);
  background: #E8F0FA;
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 24px;
}

.tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

h1 {
  font-size: clamp(32px, 5vw, 55px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 22px;
}

.hero .lede {
  font-size: clamp(16px, 1.6vw, 18.5px);
  color: var(--muted);
  margin: 0 0 34px;
  max-width: 34em;
}

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-note {
  margin: 26px 0 0;
  font-size: 13.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16A34A;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.16);
}

/* ---------- trust bar ---------- */
.trust { background: var(--navy); color: #fff; padding: 26px 0; }

.trust-in {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  color: #D8E3F1;
  line-height: 1.35;
}

.trust-item svg { flex: none; color: var(--orange); }

/* ---------- section ---------- */
.sec { padding: 92px 0; }
.sec-soft { background: var(--soft); }

.sec-head { max-width: 640px; margin-bottom: 46px; }

.kicker {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 12px;
}

h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.22;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 14px;
}

.sec-head p {
  font-size: 16px;
  color: var(--muted);
  margin: 0;
}

/* ---------- services ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.svc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.svc:hover {
  border-color: var(--navy);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 48, 104, 0.07);
}

.svc-ico {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: #E8F0FA;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.svc h3 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 7px;
  letter-spacing: -0.01em;
}

.svc p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* ---------- process ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 0 18px 0 0;
}

.step:last-child { padding-right: 0; }

.step-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.step-num {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-line {
  flex: 1;
  height: 1px;
  background: var(--line-hard);
}

.step:last-child .step-line { display: none; }

.step h3 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 6px;
}

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

/* ---------- categories ---------- */
.cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.cat {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.cat:hover { border-color: var(--navy); background: #FBFDFF; }

.cat-ico {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--soft);
  color: var(--navy-700);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cat strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  display: block;
  line-height: 1.3;
}

.cat span { font-size: 12.5px; color: var(--muted); }

/* ---------- why ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: start;
}

.pledge { list-style: none; padding: 0; margin: 0; }

.pledge li {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  color: var(--ink);
}

.pledge li:last-child { border-bottom: none; }

.pledge b { color: var(--navy); font-weight: 700; }

.pledge .idx {
  flex: none;
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.06em;
  padding-top: 3px;
  width: 26px;
}

.photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.photo-slot {
  border: 2px dashed var(--line-hard);
  border-radius: var(--radius);
  background: #FBFDFF;
  min-height: 168px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 16px;
  text-align: center;
}

.photo-slot.main {
  grid-column: 1 / -1;
  min-height: 252px;
}

.photo-slot .ico {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #E8F0FA;
  color: var(--navy-700);
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-slot strong { font-size: 14.5px; color: var(--navy); }
.photo-slot small { font-size: 13px; color: var(--muted); max-width: 26em; line-height: 1.6; }

/* ---------- stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px;
}

.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
}

.stat .val {
  font-size: 30px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat .lbl { font-size: 13.5px; color: var(--muted); }

/* ---------- testimonial ---------- */
.quote {
  background: var(--navy);
  color: #fff;
  border-radius: 18px;
  padding: 44px 42px;
  position: relative;
  overflow: hidden;
}

.quote::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.quote p {
  font-size: clamp(18px, 2.2vw, 23px);
  line-height: 1.5;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
  position: relative;
  max-width: 30em;
}

.quote footer { font-size: 14px; color: #A9C0DA; position: relative; }

/* ---------- faq ---------- */
.faq { max-width: 860px; }

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  padding: 18px 34px 18px 0;
  position: relative;
  line-height: 1.45;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 1.8px solid var(--navy);
  border-bottom: 1.8px solid var(--navy);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }

.faq .ans {
  font-size: 15px;
  color: var(--muted);
  padding: 0 40px 20px 0;
  margin: 0;
  line-height: 1.7;
}

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
}

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 34px 32px;
  box-shadow: 0 1px 2px rgba(0, 48, 104, 0.04);
}

.form-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 6px;
}

.form-card > p {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 26px;
}

.field { margin-bottom: 18px; }

.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 7px;
}

.field label em { font-style: normal; color: var(--orange); }

.field label .opt {
  font-weight: 400;
  font-size: 11.5px;
  color: var(--muted);
  background: var(--soft);
  border-radius: 4px;
  padding: 1px 6px;
  margin-left: 4px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-hard);
  border-radius: 9px;
  padding: 11px 13px;
  line-height: 1.5;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.field textarea { resize: vertical; min-height: 96px; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy-700);
  box-shadow: 0 0 0 3px rgba(11, 74, 143, 0.1);
}

.field input.invalid, .field textarea.invalid { border-color: #D9534F; }

.hint { font-size: 12.5px; color: #C0392B; margin: 6px 0 0; display: none; }
.hint.show { display: block; }

.hp { position: absolute; left: -9999px; opacity: 0; }

.form-foot { margin-top: 8px; }

.form-foot .btn { width: 100%; }

.status {
  font-size: 13.5px;
  margin: 14px 0 0;
  min-height: 20px;
  color: var(--muted);
}

.status.ok { color: #1B7F3B; }
.status.err { color: #C0392B; }

.after-submit {
  margin-top: 18px;
  padding: 18px;
  background: #F0F9F3;
  border: 1px solid #CBE7D5;
  border-radius: 11px;
}

.after-submit p {
  font-size: 14px;
  line-height: 1.6;
  color: #1E4D33;
  margin: 0 0 14px;
}

.after-submit p strong { color: #14532D; }

.after-submit .btn { width: 100%; }

.contact-side { display: flex; flex-direction: column; gap: 16px; }

.side-block {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: #fff;
}

.side-block h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
}

.side-block p { font-size: 14.5px; margin: 0 0 4px; color: var(--ink); }

.side-block .sub { font-size: 13px; color: var(--muted); margin: 6px 0 0; }

.side-block .btn { width: 100%; margin-top: 4px; }

.kv { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.kv:last-child { border-bottom: none; }
.kv span:first-child { color: var(--muted); }
.kv span:last-child { font-weight: 600; color: var(--ink); text-align: right; }

.kv-block {
  padding: 10px 0;
  font-size: 14px;
}

.kv-block > span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 3px;
}

.kv-block p {
  margin: 0;
  font-weight: 600;
  line-height: 1.55;
  color: var(--ink);
}

.qr-row {
  display: flex;
  gap: 12px;
}

.qr-item {
  flex: 1;
  text-align: center;
  min-width: 0;
}

.qr-item img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.qr-item span {
  display: block;
  margin-top: 7px;
  font-size: 12.5px;
  color: var(--muted);
}

/* ---------- footer ---------- */
.ft {
  background: var(--soft);
  border-top: 1px solid var(--line);
  padding: 52px 0 36px;
}

.ft-in {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 34px;
}

.ft-brand img { height: 74px; width: auto; margin-bottom: 16px; }

.ft-brand p { font-size: 13.5px; color: var(--muted); margin: 0; max-width: 26em; line-height: 1.7; }

.ft h5 {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 14px;
}

.ft ul { list-style: none; padding: 0; margin: 0; }

.ft li { font-size: 13.5px; color: var(--muted); padding: 5px 0; }

.ft li a:hover { color: var(--navy); }

.ft-bottom {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--muted);
}

/* ---------- floating whatsapp ---------- */
.fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  padding: 12px 20px 12px 16px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.fab:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2); }

.mobile-bar { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hd-nav { display: none; }
  .trust-in { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .step {
    padding: 0;
    display: grid;
    grid-template-columns: 36px 1fr;
    column-gap: 14px;
    row-gap: 6px;
  }
  .step-top { grid-column: 1; grid-row: 1; display: block; margin: 0; }
  .step-line { display: none; }
  .step h3 { grid-column: 2; grid-row: 1; align-self: center; margin: 0; }
  .step p { grid-column: 2; grid-row: 2; margin: 0; }
  .why-grid { grid-template-columns: 1fr; gap: 34px; align-items: start; }
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .ft-in { grid-template-columns: 1fr 1fr; gap: 30px; }
  .hero-art { opacity: 0.5; right: -180px; }
}

@media (max-width: 400px) {
  .hero-note { font-size: 12.5px; gap: 6px; }
}

@media (max-width: 720px) {
  .sec { padding: 62px 0; }
  .hero { padding: 46px 0 52px; }
  .hero-art { display: none; }
  h1 { font-size: 31px; }
  .grid-3 { grid-template-columns: 1fr; gap: 12px; }
  .cats { grid-template-columns: 1fr; gap: 10px; }
  .stats { grid-template-columns: 1fr; gap: 12px; }
  .trust-in { grid-template-columns: 1fr 1fr; gap: 12px; }
  .trust-item { font-size: 12.5px; }
  .hd-in { height: 64px; }
  .hd-logo img { height: 34px; }
  .hd .btn { padding: 8px 14px; font-size: 13px; }
  .form-card { padding: 24px 20px; }
  .quote { padding: 30px 24px; border-radius: 14px; }
  .ft-in { grid-template-columns: 1fr; gap: 26px; }
  .fab { display: none; }
  .mobile-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    gap: 10px;
  }
  .mobile-bar .btn { flex: 1; padding: 11px 10px; font-size: 14px; }
  body { padding-bottom: 68px; }
}
