:root {
  --ink: #173b78;
  --night: #102241;
  --muted: #4d6a8a;
  --ocean: #16b7e4;
  --green: #1aa36c;
  --sky: #8fd6f7;
  --paper: #f3fbff;
  --card: #ffffff;
  --line: rgba(23, 59, 120, 0.12);
  --max: 1080px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  color: var(--night);
  background: var(--paper);
  line-height: 1.65;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.skip {
  position: absolute; left: 12px; top: -48px;
  background: var(--night); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 40;
}
.skip:focus { top: 12px; }

.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; padding: 0 20px;
  background: rgba(243, 251, 255, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; letter-spacing: 0.02em; text-decoration: none;
}
.brand img { border-radius: 10px; }
.nav nav { display: flex; gap: 22px; }
.nav nav a {
  text-decoration: none; color: var(--muted); font-size: 0.94rem; font-weight: 500;
}
.nav nav a:hover { color: var(--ink); }

.hero {
  background:
    radial-gradient(ellipse 70% 80% at 80% 10%, rgba(255, 255, 255, 0.55), transparent 60%),
    linear-gradient(180deg, #6ec8f5 0%, #bcebff 42%, #e8f8ff 100%);
  padding: 48px 0 36px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(240px, 320px);
  gap: 48px;
  align-items: center;
}
.eyebrow {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em;
  color: var(--ink); margin-bottom: 12px;
}
.hero h1 {
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 700; letter-spacing: 0.08em; line-height: 1.1;
  color: var(--night);
}
.tagline {
  margin-top: 10px; font-size: 1.25rem; font-weight: 600; color: var(--ink);
}
.lead {
  margin: 16px 0 28px; max-width: 38ch; color: var(--muted); font-size: 1.05rem;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 18px; border-radius: 999px;
  text-decoration: none; font-weight: 600; font-size: 0.95rem;
}
.btn.solid { background: var(--night); color: #f7fcff; }
.btn.ghost { background: rgba(255, 255, 255, 0.72); color: var(--night); border: 1px solid var(--line); }
.hero-phone {
  margin: 0 auto;
  width: min(100%, 280px);
  border-radius: 36px;
  overflow: hidden;
  background: var(--night);
  box-shadow: 0 28px 60px rgba(16, 34, 65, 0.28);
  border: 10px solid var(--night);
}
.hero-phone img { width: 100%; height: auto; }

.section { padding: 80px 0; }
.section[id] { scroll-margin-top: 80px; }
.section-soft { background: #fff; border-block: 1px solid var(--line); }
.section-head { margin-bottom: 28px; }
.section-head h2 {
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
  font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 700; letter-spacing: 0.04em;
}
.section-head p { margin-top: 8px; color: var(--muted); max-width: 42ch; }

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 22px;
  max-width: 820px;
  margin-inline: auto;
}
.gallery figure {
  margin: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  align-self: start;
}
.gallery img {
  width: 100%;
  height: auto;
  border-radius: 28px;
  border: 8px solid var(--night);
  box-shadow: 0 18px 40px rgba(16, 34, 65, 0.18);
}
.gallery figcaption {
  text-align: center; margin-top: 10px;
  font-size: 0.86rem; color: var(--muted); font-weight: 500;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.features article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px 20px;
}
.features h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--ink); }
.features p { color: var(--muted); font-size: 0.95rem; }

.contact-list {
  list-style: none;
  display: grid;
  gap: 12px;
  max-width: 420px;
}
.contact-list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.contact-list span { color: var(--muted); font-size: 0.9rem; }
.contact-list a { color: var(--ink); font-weight: 600; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.legal-links {
  display: flex; flex-wrap: wrap; gap: 16px;
  margin-top: 22px; font-size: 0.88rem; color: var(--muted);
}
.legal-links a { text-decoration: none; }
.legal-links a:hover { color: var(--ink); }

footer {
  padding: 28px 20px 40px;
  text-align: center;
  color: var(--muted);
  font-size: 0.86rem;
  border-top: 1px solid var(--line);
}
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }

@media (max-width: 980px) {
  .features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .actions { justify-content: center; }
  .hero { padding-top: 32px; }
  .gallery {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    max-width: none;
  }
  .gallery figure { flex: 0 0 210px; scroll-snap-align: start; }
  .features { grid-template-columns: 1fr; }
  .nav nav { gap: 14px; font-size: 0.9rem; }
  .contact-list li { flex-direction: column; gap: 4px; }
}
