:root {
  --cyan: #049ccb;
  --cyan-deep: #026f96;
  --magenta: #d2297e;
  --gold: #f9d110;
  --navy: #026f96;
  --navy-deep: #015776;
  --ink: #332c2b;
  --muted: #6d6461;
  --line: #e5eef1;
  --soft: #f3fafc;
  --card: #ffffff;
  --link: #02789f;
  --shadow: 0 14px 40px rgba(4, 90, 112, 0.1);
  --header: 76px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans TC", "PingFang HK", "Microsoft JhengHei", sans-serif;
  background: #fff;
  line-height: 1.7;
}
html[lang="zh-Hans"] body { font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif; }
html[lang="en"] body { font-family: "Noto Sans", "Segoe UI", sans-serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(228, 235, 243, 0.9);
  backdrop-filter: blur(12px);
}
.site-header::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--magenta) 58%, var(--gold) 100%);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 48px; width: auto; }
.license-chip {
  margin-left: 4px;
  color: #8b97a6;
  font-size: 12px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.nav { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.nav a { font-size: 15px; color: var(--ink); }
.nav a.active { color: var(--cyan-deep); font-weight: 700; }
.lang-switch { display: flex; align-items: center; }
.lang-switch button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 7px;
}
.lang-switch button.active { color: var(--magenta); }
.lang-switch button + button { box-shadow: inset 1px 0 0 var(--line); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.18s ease;
}
.btn-navy {
  background: var(--navy);
  color: #fff;
}
.btn-navy:hover { background: var(--navy-deep); color: #fff; }
.nav a.btn-navy {
  background: #fff;
  color: var(--cyan-deep);
  border-color: var(--cyan);
  letter-spacing: 0.08em;
  font-weight: 600;
}
.nav a.btn-navy:hover {
  background: var(--cyan);
  color: #fff;
  border-color: var(--cyan);
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.85);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }
.btn-white { background: #fff; color: var(--navy-deep); }
.btn-white:hover { transform: translateY(-1px); }
.nav-cta { margin-left: 6px; min-width: 96px; }
.menu-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 520px;
  color: #fff;
  background:
    linear-gradient(100deg, rgba(28, 24, 23, 0.86) 0%, rgba(3, 78, 104, 0.74) 48%, rgba(4, 156, 203, 0.42) 100%),
    url("../assets/harbour.jpg") center/cover no-repeat;
  overflow: hidden;
}
.hero-home { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 36px; align-items: center; padding: 72px 0 80px; }
.kicker { margin: 0 0 10px; letter-spacing: 0.08em; font-size: 14px; color: rgba(255, 255, 255, 0.86); }
.hero h1 { margin: 0; font-size: 46px; line-height: 1.25; font-weight: 700; letter-spacing: 0.01em; }
.hero .lead { max-width: 640px; margin: 18px 0 0; color: rgba(255, 255, 255, 0.9); font-size: 16px; }
.hero-actions { display: flex; gap: 12px; margin-top: 28px; }
.hero-photo {
  justify-self: end;
  width: min(420px, 100%);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  border: 3px solid rgba(255, 255, 255, 0.35);
}
.hero-photo img { width: 100%; height: 250px; object-fit: cover; }

.hero-service { min-height: 430px; }
.hero-service .wrap { position: relative; padding: 86px 0 120px; }
.hero-service h1 { font-size: 52px; }
.float-card {
  position: absolute;
  right: 0;
  bottom: -54px;
  width: min(340px, 100%);
  background: #fff;
  color: var(--ink);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 22px 24px 16px;
}
.float-card h2 { margin: 0 0 10px; font-size: 20px; }
.float-card ul { margin: 0; padding-left: 18px; color: #4e4644; }
.float-card li::marker { color: var(--magenta); }
.float-card li { margin: 6px 0; }

.section { padding: 78px 0; }
.section h2, .page h1 { letter-spacing: 0.01em; }
.section h2 { margin: 0 0 8px; font-size: 32px; }
.section h2::after, .page h1::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin-top: 12px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--cyan), var(--magenta) 72%, var(--gold));
}
.section-intro { margin: 0 0 28px; color: var(--muted); }
.soft { background: var(--soft); }
.overview {
  display: grid;
  grid-template-columns: minmax(0, 760px);
  gap: 40px;
  align-items: start;
}
.hero-service + .section { padding-top: 56px; }

.cards {
  display: grid;
  gap: 18px;
}
.cards-5 { grid-template-columns: repeat(5, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff;
  border-radius: 14px;
  padding: 26px 20px 22px;
  box-shadow: 0 8px 28px rgba(20, 48, 92, 0.06);
  border: 1px solid rgba(228, 235, 243, 0.8);
  min-height: 220px;
}
.card h3 { margin: 12px 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }
.more { display: inline-block; margin-top: 16px; color: var(--link); font-size: 14px; font-weight: 600; }
.icon {
  width: 42px;
  height: 42px;
  color: var(--cyan);
}

.advantage {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 28px;
  align-items: center;
}
.points { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
.points h3 { margin: 0 0 4px; font-size: 18px; }
.points p { margin: 0; color: var(--muted); font-size: 14px; }
.shot { border-radius: 12px; overflow: hidden; height: 210px; }
.shot img { width: 100%; height: 100%; object-fit: cover; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; position: relative; margin-top: 28px; }
.steps::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 16px;
  height: 2px;
  background: #d5ebf3;
}
.step { text-align: center; position: relative; }
.dot {
  width: 14px;
  height: 14px;
  margin: 10px auto 16px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 6px #fff;
  position: relative;
  z-index: 1;
}
.step:nth-child(2) .dot { background: var(--magenta); }
.step:nth-child(3) .dot { background: var(--gold); }
.step strong { display: block; font-size: 16px; }

.cta {
  background: linear-gradient(90deg, #024e6c, var(--cyan) 78%);
  color: #fff;
  padding: 34px 0;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cta h2 { margin: 0 0 6px; font-size: 28px; }
.cta p { margin: 0; color: rgba(255, 255, 255, 0.86); }

.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 28px 0 18px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-links { display: flex; gap: 28px; color: var(--navy); font-weight: 600; }
.copy { color: #66758a; font-size: 14px; }
.disclaimer { margin: 18px 0 0; color: #8b97a6; font-size: 12px; text-align: center; }

.page { padding: 56px 0 72px; }
.page h1 { margin: 0 0 12px; font-size: 40px; }
.prose { max-width: 760px; color: #4e4644; }
.kicker-ink { color: var(--cyan-deep) !important; }
.prose p { margin: 0 0 14px; }
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 36px; align-items: start; }
.panel {
  background: var(--soft);
  border-radius: 16px;
  padding: 24px;
}
.panel h2 { margin-top: 0; font-size: 22px; }
.list { margin: 0; padding-left: 18px; }
.list li { margin: 8px 0; }

.form { display: grid; gap: 14px; }
label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
input, select, textarea {
  width: 100%;
  border: 1px solid #d5e0ec;
  border-radius: 10px;
  padding: 12px 12px;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
}
textarea { min-height: 120px; resize: vertical; }
.form-note { color: var(--muted); font-size: 13px; }
.success {
  display: none;
  background: #e8f6ee;
  color: #146c3a;
  border-radius: 12px;
  padding: 14px 16px;
}
.success.show { display: block; }
.form-error {
  display: none;
  background: #fdecec;
  color: #a8071a;
  border-radius: 12px;
  padding: 14px 16px;
}
.form-error.show { display: block; }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.stat b { display: block; color: var(--navy); font-size: 28px; line-height: 1.2; }
.stat span { color: var(--muted); font-size: 14px; }

@media (max-width: 1100px) {
  .cards-5 { grid-template-columns: repeat(2, 1fr); }
  .cards-5 .card, .card { min-height: 0; }
  .hero h1 { font-size: 40px; }
}

@media (max-width: 980px) {
  .hero-home, .overview, .advantage, .split { grid-template-columns: 1fr; }
  .cards-3 { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: 1fr; }
  .hero h1, .hero-service h1, .page h1 { font-size: 34px; }
  .hero-photo { justify-self: stretch; width: 100%; }
  .hero-photo img { height: 220px; }
  .float-card { position: static; width: 100%; margin-top: 28px; }
  .hero-service .wrap { padding: 56px 0 40px; }
  .hero-service { min-height: 0; }
  .overview { padding-top: 28px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
  .cta-inner, .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-links { flex-wrap: wrap; gap: 12px 20px; }
  .menu-toggle { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; }
  .header-inner { gap: 12px; }
  .brand img { height: 40px; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 20px 18px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(20, 48, 92, 0.08);
    gap: 4px;
  }
  .nav.open { display: flex; }
  .nav a, .lang-switch { min-height: 44px; display: flex; align-items: center; }
  .nav a.btn-navy { width: 100%; margin: 8px 0 0; justify-content: center; }
  .license-chip { display: none; }
}

@media (max-width: 640px) {
  .wrap { width: min(var(--max), calc(100% - 32px)); }
  .hero { min-height: 0; }
  .hero-home { padding: 36px 0 40px; gap: 22px; }
  .hero h1, .hero-service h1, .page h1 { font-size: 28px; }
  .hero .lead { font-size: 15px; }
  .section { padding: 48px 0; }
  .section h2 { font-size: 26px; }
  .page { padding: 36px 0 56px; }
  .cards-5, .cards-3, .cards-2, .points, .steps, .stat-row { grid-template-columns: 1fr; }
  .hero-actions, .cta-inner { flex-direction: column; align-items: stretch; }
  .hero-actions .btn, .cta .btn, .cta-inner .btn { width: 100%; }
  .cta h2 { font-size: 22px; }
  .card { padding: 20px 16px; }
  .shot { height: 180px; }
  .copy { font-size: 13px; }
  input, select, textarea { font-size: 16px; }
}
