/* ===== 设计变量 ===== */
:root {
  --color-primary: #0A2540;
  --color-primary-light: #1B3A5C;
  --color-accent: #C8963E;
  --color-accent-light: #E8B84B;
  --color-teal: #1B6B7A;
  --color-teal-light: #2A8F9E;
  --color-bg: #F8F6F3;
  --color-bg-alt: #EEF1F5;
  --color-surface: #FFFFFF;
  --color-text: #1A1A2E;
  --color-text-muted: #5A6270;
  --color-border: #DDE3EA;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --shadow-sm: 0 1px 3px rgba(10, 37, 64, 0.08);
  --shadow-md: 0 4px 16px rgba(10, 37, 64, 0.10);
  --shadow-lg: 0 8px 32px rgba(10, 37, 64, 0.14);
  --radius: 12px;
  --radius-sm: 8px;
  --header-height: 72px;
}

/* ===== 重置与基础 ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== 顶部导航 ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(10, 37, 64, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  padding: 4px;
}

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

.brand-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
}

.brand-sub {
  font-size: 0.65rem;
  color: var(--color-accent-light);
  letter-spacing: 0.15em;
  font-weight: 500;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header-nav {
  display: flex;
  gap: 28px;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.06);
}

.lang-switch__btn {
  border: none;
  background: none;
  color: rgba(255, 255, 255, 0.65);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 4px 8px;
  border-radius: 100px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.lang-switch__btn:hover {
  color: #fff;
}

.lang-switch__btn.is-active {
  color: var(--color-primary);
  background: var(--color-accent-light);
}

.lang-switch__divider {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.75rem;
  user-select: none;
}

.header-nav a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}

.header-nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.25s;
}

.header-nav a:hover {
  color: #fff;
}

.header-nav a:hover::after {
  width: 100%;
}

/* ===== 主视觉区 ===== */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(10, 37, 64, 0.88) 0%, rgba(27, 107, 122, 0.82) 50%, rgba(27, 58, 92, 0.88) 100%),
    url("../images/gallery/ship-export.jpg") center / cover no-repeat;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(200, 150, 62, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(42, 143, 158, 0.2) 0%, transparent 50%);
}

.hero-bg::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--color-bg), transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 24px 100px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-block;
  padding: 6px 20px;
  border: 1px solid rgba(200, 150, 62, 0.5);
  border-radius: 100px;
  color: var(--color-accent-light);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.hero-slogan {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--color-accent-light);
  font-weight: 500;
  letter-spacing: 0.3em;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  margin-bottom: 20px;
}

.hero-company {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.05em;
}

/* ===== 通用区块标题 ===== */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header--left {
  text-align: left;
  margin-bottom: 24px;
}

.section-header h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.section-header p {
  color: var(--color-text-muted);
  font-size: 1rem;
}

/* ===== 关于我们 ===== */
.about {
  padding: 80px 0;
  background: var(--color-bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-content p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.9;
  margin-bottom: 16px;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* ===== 业务范围 ===== */
.business {
  padding: 80px 0;
  background: var(--color-bg-alt);
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.business-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform 0.25s, box-shadow 0.25s;
}

.business-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.business-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-accent);
  display: inline-block;
}

.business-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

/* ===== 为什么选择我们 ===== */
.advantages {
  padding: 64px 0;
  background: var(--color-primary);
  color: #fff;
}

.advantages .section-header h2 {
  color: #fff;
}

.advantages-list {
  max-width: 720px;
  margin: 0 auto;
}

.advantages-list li {
  position: relative;
  padding: 16px 0 16px 28px;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.advantages-list li:last-child {
  border-bottom: none;
}

.advantages-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent-light);
}

/* ===== 场地实景 ===== */
.gallery {
  padding: 80px 0;
  background: var(--color-bg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.gallery-item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--color-surface);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-item figcaption {
  padding: 12px 16px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-align: center;
}

/* ===== 页脚 ===== */
.site-footer {
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.75);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.5fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  padding: 6px;
  margin-bottom: 12px;
}

.footer-slogan {
  color: var(--color-accent-light);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.footer-company {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-contact h4,
.footer-qr h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
}

.footer-contact ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

.footer-contact svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--color-accent-light);
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s;
}

.footer-contact a:hover {
  color: var(--color-accent-light);
}

.qr-grid {
  display: flex;
  gap: 20px;
}

.qr-item {
  text-align: center;
}

.qr-item img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 4px;
  margin-bottom: 6px;
}

.qr-item span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ===== 响应式 ===== */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .business-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 60px;
  }

  .header-actions {
    gap: 12px;
  }

  .header-nav {
    display: none;
  }

  .lang-switch {
    padding: 3px 6px;
  }

  .lang-switch__btn {
    font-size: 0.75rem;
    padding: 3px 6px;
  }

  .hero {
    min-height: 420px;
  }

  .hero-content {
    padding: 60px 24px 80px;
  }

  .hero-slogan {
    letter-spacing: 0.15em;
  }

  .about,
  .business,
  .gallery {
    padding: 60px 0;
  }

  .advantages {
    padding: 48px 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .qr-grid {
    justify-content: flex-start;
  }
}
