/* 官网：简洁商务风 */
:root {
  --ink: #1b2838;
  --ink-muted: #5a6573;
  --line: #e2e6eb;
  --bg: #f7f8fa;
  --surface: #ffffff;
  --accent: #0d3b66;
  --accent-hover: #0a2d4d;
  --gold: #b8963e;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-header__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-brand {
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
}
.site-brand:hover {
  text-decoration: none;
  color: var(--accent);
}

.site-brand span {
  color: var(--accent);
}

.site-nav {
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
}
.site-nav a {
  color: var(--ink-muted);
  font-size: 0.95rem;
  text-decoration: none;
}
.site-nav a:hover,
.site-nav a.is-active {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.site-lang {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.5rem;
  padding-left: 1rem;
  border-left: 1px solid var(--line);
  font-size: 0.88rem;
}
.site-lang a {
  color: var(--ink-muted);
  text-decoration: none;
}
.site-lang a:hover {
  color: var(--accent);
}
.site-lang a.is-active {
  color: var(--accent);
  font-weight: 600;
}
.site-lang-sep {
  color: var(--line);
  user-select: none;
}

@media (max-width: 640px) {
  .site-header__inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .site-lang {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    width: 100%;
  }
}

.site-main {
  min-height: calc(100vh - 200px);
}

.site-footer {
  margin-top: 3.5rem;
  padding: 2rem 1.25rem;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.875rem;
}
.site-footer__inner {
  max-width: 1120px;
  margin: 0 auto;
}
.site-footer a {
  color: rgba(255, 255, 255, 0.88);
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.hero {
  background: linear-gradient(135deg, #0d3b66 0%, #1a4d7a 48%, #0f2f4f 100%);
  color: #fff;
  padding: 3.25rem 0 3.5rem;
}
.hero__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.3;
}
.hero p {
  margin: 0 0 1.5rem;
  max-width: 40rem;
  opacity: 0.92;
  font-size: 1.02rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.btn:hover {
  text-decoration: none;
}
.btn--primary {
  background: var(--gold);
  color: #1a1a1a;
}
.btn--primary:hover {
  background: #c9a74a;
  color: #111;
}
.btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.btn--dark {
  background: var(--accent);
  color: #fff;
}
.btn--dark:hover {
  background: var(--accent-hover);
  color: #fff;
}

.section {
  padding: 2.75rem 0;
}
.section--tight {
  padding-top: 2rem;
}
.section__title {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
}
.section__lead {
  margin: 0 0 1.75rem;
  color: var(--ink-muted);
  max-width: 42rem;
  font-size: 0.98rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.card-feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1.35rem 1.25rem;
}
.card-feature h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
}
.card-feature p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s;
}
.product-card:hover {
  box-shadow: 0 8px 24px rgba(13, 59, 102, 0.08);
}
.product-card__img {
  aspect-ratio: 4 / 3;
  background: #e8ecf0;
  overflow: hidden;
}
.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-card__body {
  padding: 1rem 1.1rem 1.15rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card__body h2 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
}
.product-card__body h2 a {
  color: var(--ink);
  text-decoration: none;
}
.product-card__body h2 a:hover {
  color: var(--accent);
}
.product-card__meta {
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin-bottom: 0.75rem;
}
.product-card__link {
  margin-top: auto;
  font-size: 0.88rem;
  font-weight: 500;
}

.layout-split {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 768px) {
  .layout-split {
    grid-template-columns: 1fr;
  }
}

.filter-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.filter-list li {
  margin-bottom: 0.35rem;
}
.filter-list a {
  display: block;
  padding: 0.35rem 0;
  color: var(--ink-muted);
  font-size: 0.92rem;
}
.filter-list a:hover,
.filter-list a.is-active {
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
}

.pagination {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  align-items: center;
}
.pagination a,
.pagination span {
  padding: 0.35rem 0.65rem;
  font-size: 0.9rem;
  border-radius: 4px;
}
.pagination a {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--accent);
  text-decoration: none;
}
.pagination a:hover {
  border-color: var(--accent);
}
.pagination .is-current {
  font-weight: 600;
  color: var(--ink);
}

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 900px) {
  .detail-layout {
    grid-template-columns: 1fr;
  }
}
.detail-gallery {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.detail-gallery__main {
  aspect-ratio: 4 / 3;
  background: #e8ecf0;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.detail-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.detail-gallery__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.detail-gallery__thumbs a {
  width: 72px;
  height: 54px;
  border-radius: 4px;
  overflow: hidden;
  border: 2px solid transparent;
  flex-shrink: 0;
}
.detail-gallery__thumbs a.is-active {
  border-color: var(--accent);
}
.detail-gallery__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.prose {
  font-size: 0.95rem;
  color: var(--ink-muted);
}
.prose h1 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  color: var(--ink);
}
.prose .meta {
  font-size: 0.88rem;
  color: var(--ink-muted);
  margin-bottom: 1.25rem;
}
.prose .block {
  margin-bottom: 1.25rem;
}
.prose .block h2 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}
.prose .block p,
.prose .block div {
  margin: 0;
  white-space: pre-wrap;
}

.alert {
  padding: 0.85rem 1rem;
  border-radius: 6px;
  margin-bottom: 1.25rem;
  font-size: 0.92rem;
}
.alert--ok {
  background: #e8f4ea;
  color: #1e4d28;
  border: 1px solid #b8d9be;
}
.alert--err {
  background: #fcefea;
  color: #7a2e23;
  border: 1px solid #e8c4be;
}

.form-grid label {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
  color: var(--ink);
}
.form-grid input,
.form-grid textarea {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  font: inherit;
  margin-bottom: 1rem;
}
.form-grid textarea {
  min-height: 140px;
  resize: vertical;
}
.form-grid .hint {
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin: -0.65rem 0 1rem;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.muted {
  color: var(--ink-muted);
  font-size: 0.9rem;
}
