/* 郑州市二七区阿杜入珠信息咨询工作室 · 官方网站 */
:root {
  --navy: #153a5f;
  --navy-dark: #0e2a46;
  --navy-deep: #0a1f34;
  --ink: #1c2331;
  --muted: #5c6778;
  --line: #e3e7ed;
  --bg: #ffffff;
  --bg-soft: #f4f6f8;
  --hero-fg: #ffffff;
  --hero-muted: rgba(255, 255, 255, 0.82);
  --radius: 8px;
  --shadow: 0 1px 2px rgba(15, 42, 69, 0.06);
  --max: 1080px;
  --header-h: 72px;
  --font: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", "Source Han Sans SC", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover { color: var(--navy-dark); }

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 100;
  background: var(--navy);
  color: #fff;
  padding: 8px 14px;
  border-radius: 4px;
}

.skip-link:focus { top: 12px; }

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

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
}

.brand:hover { color: var(--ink); }

.brand-mark {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  border-radius: 8px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  font-size: 15px;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-sub {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.3;
  margin-top: 1px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
  color: var(--navy);
  padding: 0;
}

.nav-toggle svg { display: block; }

.site-nav ul {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  border-radius: 6px;
}

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

.site-nav a[aria-current="page"] {
  color: var(--navy);
  font-weight: 600;
  box-shadow: inset 0 -2px 0 var(--navy);
  border-radius: 0;
  background: transparent;
}

/* Hero */
.hero {
  background: linear-gradient(165deg, var(--navy-dark) 0%, var(--navy) 58%, #1b4a75 100%);
  color: var(--hero-fg);
  padding: 72px 0 76px;
}

.hero-kicker {
  margin: 0 0 14px;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--hero-muted);
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: 0.02em;
  max-width: 18em;
}

.hero-lead {
  margin: 0 0 28px;
  max-width: 38em;
  font-size: 17px;
  line-height: 1.8;
  color: var(--hero-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 6px;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-solid {
  background: #fff;
  color: var(--navy-dark);
  font-weight: 600;
}

.btn-solid:hover {
  background: #f0f4f8;
  color: var(--navy-dark);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

/* Sections */
.section {
  padding: 64px 0;
}

.section-soft { background: var(--bg-soft); }

.section-head {
  margin-bottom: 28px;
}

.section-head h2,
.page-head h1 {
  margin: 0 0 8px;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 650;
  letter-spacing: 0.04em;
  color: var(--navy-dark);
}

.section-head p,
.lead {
  margin: 0;
  color: var(--muted);
  max-width: 46em;
}

.page-head {
  padding: 40px 0 8px;
}

.page-head p {
  margin: 10px 0 0;
  color: var(--muted);
  max-width: 46em;
}

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

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

.card h3 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 650;
  color: var(--navy-dark);
}

.card p {
  margin: 0;
  color: #3d4654;
  font-size: 15px;
  line-height: 1.75;
}

.card-index {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 10px;
}

/* Facts */
.fact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 20px;
}

.fact {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}

.fact dt {
  margin: 0 0 6px;
  font-size: 13px;
  color: var(--muted);
}

.fact dd {
  margin: 0;
  font-size: 16px;
  font-weight: 550;
  color: var(--ink);
  word-break: break-all;
}

/* Definition table */
.info-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.info-table th,
.info-table td {
  text-align: left;
  padding: 14px 18px;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  font-weight: 400;
}

.info-table tr:last-child th,
.info-table tr:last-child td { border-bottom: 0; }

.info-table th {
  width: 12.5em;
  white-space: nowrap;
  color: var(--muted);
  background: #fafbfc;
  font-weight: 500;
  font-size: 14px;
}

.info-table td {
  color: var(--ink);
  font-size: 15px;
}

.prose {
  max-width: 46em;
}

.prose p {
  margin: 0 0 16px;
  color: #334155;
}

.prose p:last-child { margin-bottom: 0; }

/* Services groups */
.scope-list {
  display: grid;
  gap: 22px;
}

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

.scope-group h2 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 650;
  color: var(--navy-dark);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.scope-group ul {
  margin: 0;
  padding: 0 0 12px;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 24px;
}

.scope-group li {
  position: relative;
  padding: 9px 0 9px 14px;
  border-bottom: 1px dashed #eef1f4;
  color: #2b3340;
  font-size: 15px;
}

.scope-group li:last-child { border-bottom: 0; }

.scope-group li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--navy);
}

.note {
  margin-top: 28px;
  padding: 16px 18px;
  background: var(--bg-soft);
  border-left: 3px solid var(--navy);
  color: #3d4654;
  font-size: 14px;
  line-height: 1.8;
}

/* Contact */
.contact-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 0;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.82);
  padding: 36px 0 32px;
  font-size: 13px;
  line-height: 1.8;
  text-align: center;
}

.site-footer p { margin: 0 0 4px; }

.site-footer a {
  color: #dce7f2;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

/* 404 */
.error-page {
  padding: 80px 0 100px;
  text-align: center;
}

.error-page h1 {
  margin: 0 0 12px;
  font-size: 28px;
  color: var(--navy-dark);
}

.error-page p {
  margin: 0 0 24px;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 860px) {
  .card-grid { grid-template-columns: 1fr; }
  .fact-grid { grid-template-columns: 1fr; }
  .scope-group ul { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .wrap { width: min(100% - 32px, var(--max)); }
  .brand-sub { display: none; }
  .brand-name { font-size: 14px; max-width: 14.5em; white-space: normal; }
  .nav-toggle { display: inline-flex; }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px;
    box-shadow: 0 10px 24px rgba(15, 42, 69, 0.08);
  }

  .site-nav.is-open { display: block; }

  .site-nav ul { flex-direction: column; }
  .site-nav a {
    width: 100%;
    min-height: 44px;
  }
  .site-nav a[aria-current="page"] {
    box-shadow: inset 3px 0 0 var(--navy);
    background: var(--bg-soft);
    border-radius: 6px;
  }

  .hero { padding: 48px 0 52px; }
  .hero-lead { font-size: 16px; }
  .section { padding: 48px 0; }
  .info-table th,
  .info-table td {
    display: block;
    width: 100%;
    padding: 8px 16px;
  }
  .info-table th { padding-top: 14px; background: transparent; }
  .info-table td { padding-bottom: 14px; }
  .info-table tr { border-bottom: 1px solid var(--line); }
  .info-table tr:last-child { border-bottom: 0; }
}

@media (max-width: 400px) {
  .brand-name { max-width: 11.5em; }
}
