:root {
  --ink: #07111f;
  --ink-soft: #16304f;
  --text: #1c2838;
  --muted: #5d6b7e;
  --line: #e4ebf3;
  --paper: #f5f7fb;
  --white: #ffffff;
  --blue: #0b63f6;
  --blue-deep: #0847b8;
  --cyan: #1493d8;
  --teal: #0f8f86;
  --gold: #9a7340;
  --shadow: 0 18px 50px rgba(7, 17, 31, 0.08);
  --radius: 18px;
  --header: 72px;
  --max: 1160px;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  /*padding-bottom: 74px;*/
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(228, 235, 243, 0.9);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex: none;
}
.brand img {
  height: 46px;
  width: auto;
  display: block;
}
.brand strong { display: block; font-size: 16px; letter-spacing: 0.04em; color: var(--ink); line-height: 1.2; }
.brand span { display: block; font-size: 12px; color: var(--muted); letter-spacing: 0.12em; }
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 15px;
}
.nav a:hover { color: var(--blue); }
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff !important;
  text-decoration: none;
  font-size: 14px;
}
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
}
.nav-toggle .burger,
.nav-toggle .burger:before,
.nav-toggle .burger:after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
}
.nav-toggle .burger:before,
.nav-toggle .burger:after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle .burger:before { top: -6px; }
.nav-toggle .burger:after { top: 6px; }
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.hero {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(20, 147, 216, 0.35), transparent 60%),
    radial-gradient(700px 380px at 0% 100%, rgba(11, 99, 246, 0.28), transparent 55%),
    linear-gradient(180deg, #07111f 0%, #0d1c33 100%);
  color: #e8eef8;
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 20%, transparent 95%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 40px;
  align-items: start;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.06);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: #c9dff8;
}
.kicker i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3dde9a;
  display: inline-block;
}
h1 {
  margin: 18px 0 14px;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: #fff;
  font-weight: 700;
}
.lead { color: #c5d3e6; font-size: 17px; max-width: 680px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  background: transparent;
  color: inherit;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); }
.btn-ghost { border-color: rgba(255,255,255,0.24); color: #fff; }
.btn-line { border-color: var(--line); background: #fff; color: var(--ink); }
.btn-line:hover { border-color: var(--blue); color: var(--blue); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 560px; }
.stats div {
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.stats strong { display: block; font-size: 28px; color: #fff; line-height: 1.1; }
.stats span { color: #9fb0c7; font-size: 13px; }

.contact-card {
  background: #fff;
  color: var(--text);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.contact-card h2 { font-size: 20px; color: var(--ink); margin-bottom: 6px; }
.contact-card .sub { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.person {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 14px;
  background: #f4f8ff;
  margin-bottom: 12px;
}
.avatar {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  flex: none;
}
.person b { display: block; color: var(--ink); }
.person span { color: var(--muted); font-size: 13px; }
.contact-list { display: grid; gap: 8px; }
.contact-list a, .contact-list p {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  text-decoration: none;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 0;
}
.contact-list a:hover { border-color: #b9d2ff; background: #f8fbff; }
.contact-list em { font-style: normal; color: var(--muted); font-size: 13px; }
.contact-list b { color: var(--ink); font-weight: 650; }

.section { padding: 76px 0; }
section[id] { scroll-margin-top: 84px; }
.section-head { max-width: 760px; margin-bottom: 28px; }
.eyebrow {
  color: var(--blue);
  font-size: 13px;
  letter-spacing: 0.14em;
  font-weight: 700;
}
.section h2, .panel h2 {
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.3;
  color: var(--ink);
  margin: 8px 0 10px;
}
.section-head p, .panel p { color: var(--muted); }

.bento {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 14px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 1px 0 rgba(7,17,31,0.02);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .idx { color: var(--cyan); font-size: 13px; letter-spacing: 0.08em; font-weight: 700; }
.card h3 { margin: 8px 0; font-size: 20px; color: var(--ink); }
.card p { color: var(--muted); }
.card.wide { background: linear-gradient(180deg, #0d2144, #10284f); color: #d5e4f7; border: 0; }
.card.wide h3, .card.wide .idx { color: #fff; }
.card.wide p { color: #c5d6ec; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tags span, .chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 13px;
}
.card:not(.wide) .tags span { background: #f2f6fb; color: var(--ink-soft); }

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
}
.panel {
  background: #fff;
  border-radius: 24px;
  border: 1px solid var(--line);
  padding: 28px;
}
.checklist { display: grid; gap: 12px; margin-top: 18px; }
.checklist li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
}
.mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #eaf2ff;
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
}
.qual-grid, .case-grid, .step-grid, .info-grid {
  display: grid;
  gap: 14px;
}
.qual-grid { grid-template-columns: repeat(4, 1fr); }
.qual-grid article, .case-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
}
.qual-grid h3, .case-grid h3 { font-size: 17px; margin-bottom: 6px; color: var(--ink); }
.qual-grid p, .case-grid p { color: var(--muted); font-size: 14px; }
.case-grid { grid-template-columns: repeat(3, 1fr); }
.case-grid span { color: var(--gold); font-size: 13px; font-weight: 700; }

.band { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 680px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #f7faff; color: var(--ink); font-weight: 700; }
tr:last-child td { border-bottom: 0; }

.step-grid { grid-template-columns: repeat(3, 1fr); }
.step {
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  border: 1px solid var(--line);
}
.step b {
  display: block;
  color: var(--blue);
  font-size: 13px;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.step h3 { font-size: 18px; color: var(--ink); margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14px; }

.faq { display: grid; gap: 10px; }
details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 16px;
}
summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 700;
  color: var(--ink);
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
details p { color: var(--muted); padding-bottom: 16px; }
details[open] { border-color: #c9dbf8; }

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
}
.info-grid { grid-template-columns: 1fr 1fr; }
.info-grid article, form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
}
.info-grid h3 { font-size: 14px; color: var(--muted); font-weight: 600; }
.info-grid a, .info-grid p { color: var(--ink); text-decoration: none; font-weight: 700; }
.addr { grid-column: 1 / -1; }
label { display: block; font-size: 14px; color: var(--ink-soft); margin: 10px 0 6px; }
input, select, textarea {
  width: 100%;
  border: 1px solid #d7e0ea;
  border-radius: 10px;
  padding: 11px 12px;
  background: #fff;
  color: var(--ink);
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: 2px solid rgba(11, 99, 246, 0.25);
  border-color: var(--blue);
}
.form-note { font-size: 13px; color: var(--muted); margin: 8px 0 12px; }
.form-result {
  display: none;
  margin-top: 12px;
  padding: 12px;
  border-radius: 12px;
  background: #f3fbf7;
  border: 1px solid #ccebd9;
  color: #145c3a;
  white-space: pre-wrap;
}
.form-result.show { display: block; }
.error { color: #b42318; font-size: 13px; min-height: 1.2em; }

.site-footer {
  background: var(--ink);
  color: #c5d0de;
  padding: 48px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}
.site-footer h2, .site-footer h3 { color: #fff; font-size: 16px; margin-bottom: 10px; }
.site-footer a { color: #d5e2f2; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer li { margin: 6px 0; }
.legal {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  align-items: center;
}
.legal a {
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  padding: 6px 12px;
}
.legal a:hover { background: rgba(255,255,255,0.08); text-decoration: none; }
.contact-panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.contact-main {
  padding: 40px 36px;
  color: #e7eef8;
  background:
    radial-gradient(420px 220px at 100% 0%, rgba(26, 166, 255, 0.28), transparent 62%),
    linear-gradient(155deg, #07111f 0%, #0e2a52 100%);
}
.contact-main .who {
  margin: 0;
  color: #8fd4ff;
  letter-spacing: 0.16em;
  font-size: 13px;
  font-weight: 700;
}
.contact-main h3 {
  margin: 10px 0 0;
  color: #fff;
  font-size: 34px;
}
.phone-xl {
  display: inline-block;
  margin: 10px 0 8px;
  color: #fff;
  text-decoration: none;
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 750;
  letter-spacing: 0.01em;
  line-height: 1.15;
}
.contact-main p { color: #c9d7e8; }
.contact-main p a { color: #9ad8ff; }
.contact-main .hero-actions { margin: 20px 0 0; }
.contact-side {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
}
.contact-side h3 {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.12em;
}
.contact-side address,
.contact-side p {
  margin: 0;
  font-style: normal;
  color: var(--ink);
  font-weight: 650;
  line-height: 1.7;
}
.map-links { display: flex; flex-wrap: wrap; gap: 10px; }
.map-links a {
  text-decoration: none;
  color: var(--blue);
  font-weight: 700;
  font-size: 14px;
  border: 1px solid #d5e4fb;
  background: #f5f9ff;
  border-radius: 999px;
  padding: 8px 14px;
}
.dock {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 50;
  display: none;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  background: rgba(255,255,255,0.96);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 16px;
  padding: 8px;
}
.dock a {
  text-align: center;
  text-decoration: none;
  background: #f4f7fb;
  border-radius: 12px;
  padding: 8px 4px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}
.dock a.primary { background: var(--blue); color: #fff; }

@media (max-width: 980px) {
  .hero-grid, .split, .contact-layout, .contact-panel, .footer-grid { grid-template-columns: 1fr; }
  .bento, .qual-grid, .case-grid, .step-grid { grid-template-columns: 1fr 1fr; }
  .bento .wide { grid-column: 1 / -1; }
}
@media (max-width: 780px) {
  body { padding-bottom: 92px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 10px 18px 16px;
    gap: 0;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .header-cta {
    display: block;
    height: auto;
    padding: 12px 4px;
    border-radius: 0;
    background: transparent;
    color: var(--blue) !important;
  }
  .bento, .qual-grid, .case-grid, .step-grid, .info-grid, .stats { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .hero { padding: 42px 0 36px; }
  .dock { display: grid; }
  .wrap, .header-inner { width: min(var(--max), calc(100% - 28px)); }
}
