/* ============================================================
   华信精密机械 · 企业官网样式
   石墨黑 + 工业橙 + 钢灰 · 工业大气
   ============================================================ */

:root {
  --dark: #16191d;
  --dark-2: #1f242a;
  --dark-3: #262c33;
  --orange: #e8590c;
  --orange-dark: #c74e0a;
  --orange-soft: #fdf0e8;
  --steel: #868e96;
  --steel-light: #adb5bd;
  --line: #e8ebee;
  --bg: #ffffff;
  --bg-soft: #f4f5f7;
  --text: #23272b;
  --text-2: #5c646b;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(22, 25, 29, .08);
  --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 15px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------- 通用组件 ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 600; font-size: 15px;
  border: 2px solid transparent;
  transition: all .2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); }
.btn-outline { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn-outline:hover { border-color: var(--orange); color: var(--orange); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: var(--orange); }
.btn-sm { padding: 9px 18px; font-size: 14px; }

.section { padding: 72px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--dark); color: #fff; }

.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--orange); font-weight: 700; font-size: 13px;
  letter-spacing: 3px; text-transform: uppercase;
  margin-bottom: 12px;
}
.kicker::before { content: ""; width: 26px; height: 3px; background: var(--orange); }
.section-head.center .kicker::after { content: ""; width: 26px; height: 3px; background: var(--orange); }
.section-title { font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.35; color: var(--text); }
.section-dark .section-title { color: #fff; }
.section-sub { color: var(--text-2); margin-top: 12px; font-size: 15px; }
.section-dark .section-sub { color: #aeb6bd; }

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

/* ---------- 顶部导航 ---------- */

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--dark);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.45); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px; height: 42px; flex: 0 0 42px;
  background: linear-gradient(135deg, var(--orange), #f76707);
  color: #fff; font-weight: 800; font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 6px;
  letter-spacing: -1px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { color: #fff; font-size: 17px; letter-spacing: 1px; }
.brand-text small { color: var(--steel-light); font-size: 11px; letter-spacing: 2px; }

.main-nav { display: flex; gap: 4px; }
.nav-link {
  color: #c6cdd4; font-size: 15px; font-weight: 500;
  padding: 8px 13px; border-radius: 4px;
  transition: color .2s, background .2s;
}
.nav-link:hover { color: #fff; }
.nav-link.active { color: var(--orange); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-tel { color: #fff; font-weight: 700; font-size: 16px; letter-spacing: .5px; }
.header-tel small { display: block; color: var(--steel-light); font-weight: 400; font-size: 11px; letter-spacing: 1px; text-align: right; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px; border: none; background: transparent;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(120deg, #14171b 0%, #1c2227 55%, #232a31 100%);
  color: #fff;
  padding: 150px 0 0;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 40px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(232,89,12,.5); color: #ffa066;
  background: rgba(232,89,12,.1);
  padding: 6px 14px; border-radius: 100px;
  font-size: 13px; font-weight: 600; letter-spacing: 1px;
  margin-bottom: 22px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

.hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.1rem);
  line-height: 1.28; font-weight: 800; letter-spacing: .5px;
  margin-bottom: 18px;
}
.hero h1 em { font-style: normal; color: var(--orange); }
.hero p.lead { color: #b6bec6; font-size: 16.5px; max-width: 520px; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }

.hero-points { display: flex; gap: 22px; flex-wrap: wrap; color: #8f99a3; font-size: 13.5px; }
.hero-points li { display: flex; align-items: center; gap: 7px; }
.hero-points li::before { content: "✓"; color: var(--orange); font-weight: 800; }

.hero-visual { position: relative; }
.hero-visual img { border-radius: var(--radius); width: 100%; }
.hero-visual .float-tag {
  position: absolute;
  background: rgba(22,25,29,.88); border: 1px solid rgba(232,89,12,.4);
  backdrop-filter: blur(4px);
  padding: 12px 16px; border-radius: 8px;
  font-size: 13px; color: #e3e7eb;
}
.hero-visual .float-tag b { color: var(--orange); font-size: 20px; display: block; line-height: 1.2; }
.hero-visual .ft-1 { top: 18px; left: -14px; }
.hero-visual .ft-2 { bottom: 24px; right: -10px; }

.hero-stats {
  position: relative; z-index: 1;
  margin-top: 64px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.hero-stat { padding: 26px 20px; border-left: 1px solid rgba(255,255,255,.1); }
.hero-stat:first-child { border-left: none; }
.hero-stat b { font-size: clamp(1.7rem, 3vw, 2.3rem); color: #fff; font-weight: 800; line-height: 1.1; }
.hero-stat b i { font-style: normal; color: var(--orange); font-size: .62em; margin-left: 2px; }
.hero-stat span { display: block; color: #8f99a3; font-size: 13.5px; margin-top: 6px; }

/* ---------- 能力卡片 ---------- */

.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cap-card { padding: 30px 26px; }
.cap-icon {
  width: 54px; height: 54px; border-radius: 8px;
  background: var(--orange-soft); color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 18px;
}
.cap-card h3 { font-size: 17.5px; margin-bottom: 10px; }
.cap-card p { color: var(--text-2); font-size: 14px; }
.cap-card .cap-num {
  margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line);
  color: var(--steel); font-size: 13px;
}
.cap-card .cap-num b { color: var(--orange); font-size: 18px; }

/* ---------- 产品卡 ---------- */

.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.prod-card .prod-img { background: var(--bg-soft); padding: 20px; border-bottom: 1px solid var(--line); }
.prod-card .prod-img img { width: 100%; height: 190px; object-fit: contain; }
.prod-card .prod-body { padding: 20px 22px 24px; }
.prod-card h3 { font-size: 17px; margin-bottom: 8px; }
.prod-card p { color: var(--text-2); font-size: 14px; margin-bottom: 14px; }
.prod-more { color: var(--orange); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.prod-more::after { content: "→"; transition: transform .2s; }
.prod-more:hover::after { transform: translateX(4px); }

/* ---------- 应用领域 ---------- */

.app-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.app-card { padding: 26px 24px; text-align: center; }
.app-card img { margin: 0 auto 16px; border-radius: 8px; }
.app-card h3 { font-size: 16.5px; margin-bottom: 8px; }
.app-card p { color: var(--text-2); font-size: 13.5px; }

/* ---------- 为什么选我们 ---------- */

.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.why-visual img { border-radius: var(--radius); width: 100%; }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 26px; margin-top: 8px; }
.why-item { display: flex; gap: 14px; }
.why-item .no {
  flex: 0 0 40px; height: 40px;
  background: var(--dark); color: var(--orange);
  border-radius: 6px; font-weight: 800; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
}
.why-item h3 { font-size: 16px; margin-bottom: 5px; }
.why-item p { color: var(--text-2); font-size: 13.5px; }

/* ---------- 案例 ---------- */

.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case-card .case-img { position: relative; }
.case-card .case-img img { width: 100%; height: 210px; object-fit: cover; }
.case-card .case-tag {
  position: absolute; left: 14px; bottom: 14px;
  background: var(--orange); color: #fff;
  font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 100px;
}
.case-card .case-body { padding: 22px; }
.case-card h3 { font-size: 17px; margin-bottom: 8px; }
.case-card p { color: var(--text-2); font-size: 14px; margin-bottom: 14px; }
.case-data { display: flex; gap: 18px; border-top: 1px dashed var(--line); padding-top: 14px; }
.case-data div b { display: block; color: var(--orange); font-size: 17px; }
.case-data div span { color: var(--steel); font-size: 12.5px; }

/* ---------- 资质 ---------- */

.cred-list { display: flex; flex-wrap: wrap; gap: 16px; }
.cred-item {
  background: var(--bg); border: 1px solid var(--line); border-radius: 8px;
  padding: 14px 22px; display: flex; align-items: center; gap: 12px;
  font-weight: 600; font-size: 14.5px;
}
.cred-item .cert-ico {
  width: 38px; height: 38px; border-radius: 6px; flex: 0 0 38px;
  background: var(--orange-soft); color: var(--orange);
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}

/* ---------- 新闻 ---------- */

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card { padding: 24px; }
.news-card .news-date { color: var(--orange); font-size: 13px; font-weight: 600; letter-spacing: 1px; margin-bottom: 10px; display: block; }
.news-card h3 { font-size: 16.5px; margin-bottom: 8px; line-height: 1.5; }
.news-card p { color: var(--text-2); font-size: 14px; }

/* ---------- FAQ ---------- */

.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item {
  background: var(--bg); border: 1px solid var(--line); border-radius: 8px;
  padding: 22px 26px;
}
.faq-item h3 { font-size: 16.5px; margin-bottom: 8px; display: flex; gap: 10px; }
.faq-item h3::before { content: "Q"; color: var(--orange); font-weight: 800; }
.faq-item p { color: var(--text-2); font-size: 14.5px; padding-left: 28px; }

/* ---------- CTA ---------- */

.cta {
  background: linear-gradient(120deg, #14171b, #262c33);
  color: #fff; text-align: center; padding: 68px 0;
}
.cta h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 14px; }
.cta p { color: #aeb6bd; max-width: 640px; margin: 0 auto 28px; }
.cta .cta-contact { color: var(--orange); font-size: 22px; font-weight: 800; margin-top: 18px; letter-spacing: 1px; }

/* ---------- 页头横幅（内页） ---------- */

.page-hero {
  background: linear-gradient(120deg, #14171b, #232a31);
  color: #fff; padding: 130px 0 56px; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; right: -80px; top: -80px;
  width: 320px; height: 320px; border: 1px solid rgba(232,89,12,.25); border-radius: 50%;
}
.page-hero h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; }
.page-hero .crumb { color: #8f99a3; font-size: 14px; margin-top: 12px; }
.page-hero .crumb a { color: var(--orange); }
.page-hero .crumb span { margin: 0 8px; }

/* ---------- 关于：时间线 ---------- */

.timeline { position: relative; max-width: 860px; margin: 0 auto; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding: 0 0 34px 26px; }
.tl-item::before {
  content: ""; position: absolute; left: -29px; top: 6px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--orange);
}
.tl-item:last-child { padding-bottom: 0; }
.tl-year { color: var(--orange); font-weight: 800; font-size: 15px; letter-spacing: 1px; }
.tl-item h3 { font-size: 16.5px; margin: 4px 0 6px; }
.tl-item p { color: var(--text-2); font-size: 14px; }

/* ---------- 设备表格 ---------- */

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }
table.equip { width: 100%; border-collapse: collapse; background: var(--bg); min-width: 640px; }
table.equip th, table.equip td { padding: 14px 18px; text-align: left; font-size: 14px; border-bottom: 1px solid var(--line); }
table.equip th { background: var(--dark); color: #fff; font-weight: 600; letter-spacing: 1px; white-space: nowrap; }
table.equip tr:last-child td { border-bottom: none; }
table.equip tbody tr:nth-child(even) { background: var(--bg-soft); }
table.equip td b { color: var(--orange); }

/* ---------- 产品筛选 ---------- */

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.filter-btn {
  border: 1px solid var(--line); background: var(--bg);
  padding: 9px 20px; border-radius: 100px; font-size: 14px; font-weight: 500;
  color: var(--text-2); transition: all .2s;
}
.filter-btn:hover { border-color: var(--orange); color: var(--orange); }
.filter-btn.active { background: var(--orange); border-color: var(--orange); color: #fff; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card .p-img { background: var(--bg-soft); padding: 22px; border-bottom: 1px solid var(--line); }
.product-card .p-img img { width: 100%; height: 210px; object-fit: contain; }
.product-card .p-body { padding: 22px; }
.product-card .p-body h3 { font-size: 17px; margin-bottom: 10px; }
.p-tag { display: inline-block; color: var(--orange); background: var(--orange-soft); font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 100px; margin-bottom: 10px; }
.p-params { margin: 12px 0 16px; display: grid; gap: 6px; }
.p-params li { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--text-2); border-bottom: 1px dashed var(--line); padding-bottom: 6px; }
.p-params li b { color: var(--text); font-weight: 600; }

/* ---------- 案例页 ---------- */

.case-row {
  display: grid; grid-template-columns: 380px 1fr; gap: 34px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; margin-bottom: 26px; align-items: stretch;
}
.case-row img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }
.case-row .cr-body { padding: 32px; }
.case-row h3 { font-size: 20px; margin-bottom: 12px; }
.cr-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.cr-tags span { background: var(--orange-soft); color: var(--orange); font-size: 12.5px; font-weight: 600; padding: 4px 12px; border-radius: 100px; }
.cr-blocks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.cr-block { background: var(--bg-soft); border-radius: 8px; padding: 16px; }
.cr-block h4 { font-size: 13px; color: var(--steel); letter-spacing: 1px; margin-bottom: 6px; font-weight: 600; }
.cr-block p { font-size: 14px; color: var(--text); }
.cr-block p b { color: var(--orange); }

/* ---------- 新闻页 ---------- */

.news-list { max-width: 900px; margin: 0 auto; display: grid; gap: 18px; }
.news-item {
  display: grid; grid-template-columns: 130px 1fr; gap: 26px; align-items: center;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 28px; transition: border-color .2s, box-shadow .2s;
}
.news-item:hover { border-color: var(--orange); box-shadow: var(--shadow); }
.news-item .ni-date { text-align: center; border-right: 1px solid var(--line); padding-right: 26px; }
.news-item .ni-date b { display: block; font-size: 26px; color: var(--orange); line-height: 1.1; }
.news-item .ni-date span { color: var(--steel); font-size: 13px; }
.news-item h3 { font-size: 17.5px; margin-bottom: 6px; }
.news-item p { color: var(--text-2); font-size: 14px; }
.news-item .ni-tags { margin-top: 10px; display: flex; gap: 8px; }
.news-item .ni-tags span { font-size: 12px; color: var(--steel); background: var(--bg-soft); padding: 3px 10px; border-radius: 100px; }

/* ---------- 联系页 ---------- */

.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 44px; align-items: start; }
.contact-info .ci-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--bg); border: 1px solid var(--line); border-radius: 8px;
  padding: 20px 22px; margin-bottom: 14px;
}
.ci-ico {
  flex: 0 0 44px; width: 44px; height: 44px; border-radius: 8px;
  background: var(--orange-soft); color: var(--orange);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.ci-card h3 { font-size: 15px; margin-bottom: 4px; }
.ci-card p { color: var(--text-2); font-size: 14px; }
.ci-card p b { color: var(--text); font-size: 16px; }

.quote-form {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px; box-shadow: var(--shadow);
}
.quote-form h2 { font-size: 20px; margin-bottom: 6px; }
.quote-form .form-sub { color: var(--text-2); font-size: 14px; margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 14px; font-weight: 600; }
.form-field label i { color: var(--orange); font-style: normal; }
.form-field input, .form-field select, .form-field textarea {
  border: 1px solid var(--line); border-radius: 6px;
  padding: 12px 14px; background: var(--bg-soft);
  transition: border-color .2s, background .2s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--orange); background: #fff;
}
.form-field textarea { min-height: 110px; resize: vertical; }
.form-msg { display: none; margin-top: 16px; padding: 12px 16px; border-radius: 6px; font-size: 14px; }
.form-msg.ok { display: block; background: #e9f7ee; color: #18794e; border: 1px solid #b7e3c8; }
.form-msg.err { display: block; background: #fdecec; color: #c0392b; border: 1px solid #f5c6c6; }

/* ---------- 页脚 ---------- */

.site-footer { background: var(--dark); color: #aeb6bd; padding: 60px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.footer-col .brand { margin-bottom: 16px; }
.footer-col p { line-height: 1.8; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; letter-spacing: 1px; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul a { transition: color .2s, padding-left .2s; }
.footer-col ul a:hover { color: var(--orange); padding-left: 4px; }
.footer-col .fc-contact li { display: flex; gap: 10px; margin-bottom: 12px; }
.footer-col .fc-contact .ic { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0; text-align: center; color: #717a83; font-size: 13px;
}
.footer-bottom a { color: var(--orange); }

/* ---------- 滚动动画 ---------- */

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.revealed { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */

@media (max-width: 1024px) {
  .cap-grid, .prod-grid, .app-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; }
  .why-grid { grid-template-columns: 1fr; gap: 36px; }
  .case-row { grid-template-columns: 1fr; }
  .case-row img { min-height: 220px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .header-tel { display: none; }
  .main-nav {
    position: fixed; top: 72px; left: 0; right: 0;
    background: var(--dark-2);
    flex-direction: column; gap: 0;
    padding: 10px 20px 18px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    transform: translateY(-130%); transition: transform .3s ease;
    box-shadow: 0 18px 30px rgba(0,0,0,.35);
  }
  .main-nav.open { transform: translateY(0); }
  .nav-link { padding: 13px 8px; border-bottom: 1px solid rgba(255,255,255,.06); border-radius: 0; font-size: 16px; }
  .nav-link.active { color: var(--orange); }
}

@media (max-width: 640px) {
  .section { padding: 52px 0; }
  .cap-grid, .prod-grid, .app-grid, .case-grid, .news-grid, .product-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); margin-top: 44px; }
  .hero-stat { padding: 18px 14px; }
  .why-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 1fr; gap: 12px; }
  .news-item .ni-date { text-align: left; border-right: none; padding-right: 0; display: flex; align-items: baseline; gap: 8px; }
  .cr-blocks { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1; justify-content: center; }
}