/* ═══════════════════════════════════════
   河北航牌线缆有限公司 - 共享样式
   ═══════════════════════════════════════ */

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  color: #1a2332;
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── VARIABLES ── */
:root {
  --navy:    #0b1f3a;
  --navy-2:  #112d52;
  --orange:  #e07230;
  --orange-2:#c85e1e;
  --steel:   #8a9bb0;
  --light:   #f4f6f9;
  --text:    #1a2332;
  --muted:   #6b7a8d;
  --white:   #ffffff;
  --border:  #d6dde8;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(11,31,58,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem; height: 68px;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.nav-logo-mark {
  width: 40px; height: 40px; background: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Arial Narrow', 'Helvetica Neue', sans-serif; font-weight: 700;
  font-size: 18px; color: #fff; letter-spacing: 1px;
}
.nav-logo-text { color: #fff; }
.nav-logo-text .cn { font-size: 15px; font-weight: 700; letter-spacing: 0.05em; display: block; line-height: 1.1; }
.nav-logo-text .en { font-family: 'Arial Narrow', 'Helvetica Neue', sans-serif; font-size: 10px; letter-spacing: 0.12em; color: var(--steel); text-transform: uppercase; }
.nav-links { display: flex; gap: 0; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.75); text-decoration: none;
  font-size: 14px; font-weight: 500; letter-spacing: 0.04em;
  padding: 0 20px; height: 68px; display: flex; align-items: center;
  transition: color 0.2s, background 0.2s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 20px; right: 20px;
  height: 2px; background: var(--orange); transform: scaleX(0);
  transition: transform 0.2s; transform-origin: left;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: #fff; }
.nav-cta {
  background: var(--orange); color: #fff !important;
  padding: 0 20px !important; border-radius: 2px;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--orange-2) !important; }
.nav-cta::after { display: none !important; }

/* ── MOBILE NAV ── */
.nav-toggle {
  display: none;
  width: 36px; height: 36px;
  background: none; border: none; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; padding: 0; z-index: 110;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: #fff;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  z-index: 99; opacity: 0; visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.nav-overlay.active { opacity: 1; visibility: visible; }

/* ── MOBILE NAV STYLES ── */
@media (max-width: 680px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 68px; left: 0; right: 0;
    background: var(--navy); flex-direction: column;
    gap: 0; padding: 8px 0;
    max-height: 0; overflow: hidden;
    transition: max-height 0.35s ease;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .nav-links.active { max-height: 400px; }
  .nav-links a {
    height: auto; padding: 14px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 15px;
  }
  .nav-links a::after { display: none; }
  .nav-links a.active { color: var(--orange); background: rgba(224,114,48,0.08); }
  .nav-links a.active::after { display: none; }
  .nav-cta {
    margin: 8px 16px 12px !important;
    padding: 12px 20px !important;
    text-align: center; justify-content: center;
  }
  .nav-logo-text .en { display: none; }
  .nav-logo-text .cn { font-size: 14px; }
  .nav-inner { padding: 0 1rem; }
}

/* ── CONTAINER ── */
.container { max-width: 1280px; margin: 0 auto; }

/* ── PAGE HEADER ── */
.page-header { padding-top: 68px; background: var(--navy); position: relative; overflow: hidden; }
.page-header-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-header-inner { position: relative; z-index: 1; max-width: 1280px; margin: 0 auto; padding: 72px 2rem 64px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 20px; }
.breadcrumb a { color: rgba(255,255,255,0.5); text-decoration: none; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span { color: rgba(255,255,255,0.25); }
.page-header h1 { font-family: 'Arial Narrow', 'Helvetica Neue', sans-serif; font-size: clamp(32px, 5vw, 56px); font-weight: 700; color: #fff; letter-spacing: -0.01em; margin-bottom: 12px; }
.page-header p { font-size: 16px; color: rgba(255,255,255,0.6); max-width: 560px; }

/* ── SECTION COMMON ── */
section { padding: 96px 2rem; }
.section-tag {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
}
.section-tag::before { content: ''; width: 28px; height: 2px; background: var(--orange); }
.section-tag span { font-size: 12px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--orange); }
.section-title { font-family: 'Arial Narrow', 'Helvetica Neue', sans-serif; font-size: clamp(26px, 3.5vw, 40px); font-weight: 600; color: var(--navy); letter-spacing: -0.01em; line-height: 1.15; margin-bottom: 16px; }
.section-desc { font-size: 15px; color: var(--muted); line-height: 1.8; }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--orange); color: #fff; text-decoration: none;
  padding: 14px 32px; font-size: 15px; font-weight: 600; letter-spacing: 0.04em;
  transition: background 0.2s, transform 0.15s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { background: var(--orange-2); transform: translateY(-1px); }
.btn-outline {
  border: 1px solid rgba(255,255,255,0.4); color: #fff; text-decoration: none;
  padding: 14px 32px; font-size: 15px; font-weight: 500;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-sm { font-size: 12px; font-weight: 600; padding: 8px 16px; text-decoration: none; letter-spacing: 0.04em; transition: background 0.2s, color 0.2s; cursor: pointer; border: none; font-family: inherit; display: inline-block; }
.btn-sm-primary { background: var(--orange); color: #fff; }
.btn-sm-primary:hover { background: var(--orange-2); }
.btn-white { background: #fff; color: var(--orange); padding: 14px 36px; font-size: 15px; font-weight: 700; text-decoration: none; transition: transform 0.15s; display: inline-block; }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }

/* ── CTA SECTION ── */
.cta-section {
  background: var(--orange);
  padding: 72px 2rem; text-align: center;
}
.cta-section h2 { font-family: 'Arial Narrow', 'Helvetica Neue', sans-serif; font-size: clamp(28px, 4vw, 48px); font-weight: 700; color: #fff; margin-bottom: 16px; }
.cta-section p { font-size: 16px; color: rgba(255,255,255,0.8); margin-bottom: 36px; }

/* ── CAPABILITY CARD (shared) ── */
.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.capability-card { overflow: hidden; transition: box-shadow 0.2s; }
.capability-card:hover { box-shadow: 0 12px 32px rgba(11,31,58,0.1); }
.capability-img { width: 100%; height: 280px; overflow: hidden; background: #c8d0dc; display: flex; align-items: center; justify-content: center; padding: 16px; }
.capability-img img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.4s; }
.capability-card:hover .capability-img img { transform: scale(1.04); }
.capability-body { padding: 24px; }
.capability-tag { font-size: 11px; font-weight: 700; color: var(--orange); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 8px; }
.capability-name { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.capability-desc { font-size: 13px; color: var(--muted); line-height: 1.75; }

/* ── VALUES SECTION (shared about/contact) ── */
.values-section { background: var(--light); }
.values-inner { max-width: 1280px; margin: 0 auto; }
.values-intro { font-size: 15px; color: var(--muted); line-height: 1.9; max-width: 920px; margin-top: 16px; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.value-card {
  background: #fff; padding: 32px 28px; border-top: 3px solid var(--orange);
  transition: transform 0.2s, box-shadow 0.2s;
}
.value-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(11,31,58,0.08); }
.value-num { font-family: 'Arial Narrow', 'Helvetica Neue', sans-serif; font-size: 14px; font-weight: 700; color: var(--orange); letter-spacing: 0.1em; margin-bottom: 14px; }
.value-title { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 12px; line-height: 1.4; }
.value-desc { font-size: 13px; color: var(--muted); line-height: 1.8; }
.values-creed {
  margin-top: 32px; padding: 28px 36px; background: var(--navy); color: #fff;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.values-creed-label { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; color: var(--orange); text-transform: uppercase; }
.values-creed-text { font-size: 15px; font-weight: 500; letter-spacing: 0.02em; }

/* ── FOOTER ── */
footer { background: #060f1e; color: rgba(255,255,255,0.55); }
.footer-top { max-width: 1280px; margin: 0 auto; padding: 64px 2rem 48px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 56px; }
.footer-brand .nav-logo { margin-bottom: 16px; text-decoration: none; pointer-events: none; }
.footer-desc { font-size: 13px; line-height: 1.8; max-width: 260px; }
.footer-contact { margin-top: 24px; display: flex; flex-direction: column; gap: 8px; }
.footer-contact a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 13px; transition: color 0.2s; }
.footer-contact a:hover { color: var(--orange); }
.footer-col h4 { font-size: 13px; font-weight: 700; color: #fff; letter-spacing: 0.08em; margin-bottom: 20px; text-transform: uppercase; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 13px; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding: 20px 2rem; max-width: 1280px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
.footer-icp a { color: rgba(255,255,255,0.35); text-decoration: none; }
.footer-icp a:hover { color: rgba(255,255,255,0.6); }

/* ── RESPONSIVE SHARED ── */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: span 2; }
  .capability-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .capability-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
}