/* ============================================================
   杭州裕能科技发展有限公司 — 企业官网样式
   风格：简约大气 · 深蓝主调 · 能源青绿点缀
   ============================================================ */
:root {
  --navy: #0b1f3a;
  --navy-deep: #071528;
  --blue: #1b6de0;
  --teal: #00b386;
  --text: #1f2d3d;
  --text-light: #5b6b7f;
  --bg-light: #f5f8fb;
  --white: #ffffff;
  --border: #e3eaf2;
  --shadow: 0 8px 30px rgba(11, 31, 58, .08);
  --radius: 12px;
  --max: 1160px;
  font-size: 16px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部导航 ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(11, 31, 58, .92);
  backdrop-filter: blur(10px);
  transition: background .3s;
}
.header.scrolled { background: rgba(7, 21, 40, .98); box-shadow: 0 2px 12px rgba(0,0,0,.25); }
.nav {
  max-width: var(--max); margin: 0 auto; padding: 0 24px;
  height: 72px; display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 12px; color: #fff; }
.logo-mark {
  width: 42px; height: 42px; border-radius: 10px; flex: none;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700; color: #fff;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.25; }
.logo-text b { font-size: 18px; letter-spacing: 1px; }
.logo-text span { font-size: 11px; color: rgba(255,255,255,.55); letter-spacing: .5px; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  color: rgba(255,255,255,.85); font-size: 15px; padding: 8px 16px;
  border-radius: 8px; transition: all .25s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav-links a.active { color: #fff; background: rgba(27,109,224,.35); }
.nav-links .btn-login {
  margin-left: 12px; border: 1px solid rgba(255,255,255,.4);
  padding: 7px 20px; border-radius: 20px; font-size: 14px;
}
.nav-links .btn-login:hover { background: #fff; color: var(--navy); }
.nav-links .btn-login.logged { border-color: var(--teal); color: #7de8c8; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle svg { width: 26px; height: 26px; stroke: #fff; }

/* ---------- Hero ---------- */
.logo-img { width: 42px; height: 42px; border-radius: 10px; object-fit: contain; flex-shrink: 0; }
.hero {
  position: relative; min-height: 640px; height: 92vh;
  display: flex; align-items: center; color: #fff;
  background: var(--navy-deep) url("../images/hero.jpg") center/cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(7,21,40,.78) 0%, rgba(7,21,40,.42) 45%, rgba(7,21,40,.12) 100%);
}
.hero .container { position: relative; z-index: 2; width: 100%; }
.hero-tag {
  display: inline-block; padding: 6px 16px; border: 1px solid rgba(0,179,134,.6);
  border-radius: 20px; color: #7de8c8; font-size: 13px; letter-spacing: 2px;
  margin-bottom: 26px; background: rgba(0,179,134,.12);
}
.hero h1 { font-size: 46px; line-height: 1.3; font-weight: 700; letter-spacing: 1px; text-shadow: 0 2px 18px rgba(7, 21, 40, .55); }
.hero h1 em { font-style: normal; color: #35c9ff; text-shadow: 0 2px 18px rgba(7, 21, 40, .55); }
.hero p.sub {
  margin-top: 20px; max-width: 620px; font-size: 17px;
  color: rgba(255,255,255,.85); text-shadow: 0 1px 12px rgba(7, 21, 40, .6);
}
.hero-actions { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 13px 34px; border-radius: 8px;
  font-size: 15px; cursor: pointer; border: none; transition: all .25s;
}
.btn-primary { background: linear-gradient(135deg, var(--blue), #3aa0ff); color: #fff; box-shadow: 0 6px 20px rgba(27,109,224,.4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(27,109,224,.55); }
.btn-ghost { border: 1px solid rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-teal { background: linear-gradient(135deg, var(--teal), #2ed3a5); color: #fff; }
.btn-teal:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,179,134,.4); }

/* ---------- 通用区块 ---------- */
.section { padding: 90px 0; }
.section.alt { background: var(--bg-light); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .kicker {
  color: var(--teal); font-size: 14px; letter-spacing: 4px;
  font-weight: 600; text-transform: uppercase;
}
.section-head h2 { font-size: 34px; color: var(--navy); margin-top: 12px; letter-spacing: 1px; }
.section-head .bar {
  width: 56px; height: 4px; border-radius: 2px; margin: 20px auto 0;
  background: linear-gradient(90deg, var(--blue), var(--teal));
}
.section-head p.desc { color: var(--text-light); margin-top: 18px; font-size: 15.5px; }

/* ---------- 首页：核心业务 ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px 26px; transition: all .3s; position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card .icon {
  width: 58px; height: 58px; border-radius: 14px; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(27,109,224,.12), rgba(0,179,134,.12));
}
.card .icon svg { width: 30px; height: 30px; }
.card h3 { font-size: 18px; color: var(--navy); margin-bottom: 10px; }
.card p { font-size: 14px; color: var(--text-light); }

/* ---------- 数字统计 ---------- */
.stats { background: linear-gradient(120deg, var(--navy-deep), #12305c); color: #fff; padding: 64px 0; }
.stats .grid-4 { text-align: center; }
.stats b { display: block; font-size: 40px; background: linear-gradient(90deg, #35c9ff, #35e0ae); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stats span { font-size: 14px; color: rgba(255,255,255,.7); margin-top: 6px; display: block; }

/* ---------- 行业覆盖 ---------- */
.industries { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.industry-chip {
  padding: 14px 30px; border-radius: 10px; background: #fff;
  border: 1px solid var(--border); font-size: 15px; color: var(--navy);
  display: flex; align-items: center; gap: 10px; transition: all .3s;
}
.industry-chip:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-3px); box-shadow: var(--shadow); }
.industry-chip svg { width: 20px; height: 20px; stroke: currentColor; }

/* ---------- 关于页 ---------- */
.page-banner {
  padding: 170px 0 90px; text-align: center; color: #fff;
  background: linear-gradient(120deg, var(--navy-deep), #14315e);
  position: relative; overflow: hidden;
}
.page-banner::after {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,179,134,.25), transparent 65%);
}
.page-banner h1 { font-size: 38px; letter-spacing: 2px; }
.page-banner p { margin-top: 14px; color: rgba(255,255,255,.7); font-size: 15px; letter-spacing: 1px; }
.about-intro { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.about-intro img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about-intro h2 { font-size: 28px; color: var(--navy); margin-bottom: 20px; }
.about-intro p { color: var(--text-light); font-size: 15.5px; margin-bottom: 16px; text-align: justify; }
.value-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card { text-align: center; padding: 40px 24px; background: #fff; border-radius: var(--radius); border: 1px solid var(--border); transition: all .3s; }
.value-card:hover { box-shadow: var(--shadow); transform: translateY(-5px); }
.value-card .v-icon {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 26px; font-weight: 700;
}
.value-card h3 { color: var(--navy); font-size: 18px; margin-bottom: 8px; }
.value-card p { font-size: 14px; color: var(--text-light); }
.timeline { position: relative; max-width: 760px; margin: 0 auto; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--blue), var(--teal)); }
.timeline-item { position: relative; padding: 0 0 36px 26px; }
.timeline-item::before {
  content: ""; position: absolute; left: -30px; top: 8px; width: 14px; height: 14px;
  border-radius: 50%; background: #fff; border: 3px solid var(--teal);
}
.timeline-item b { color: var(--blue); font-size: 17px; }
.timeline-item h4 { color: var(--navy); margin: 4px 0; }
.timeline-item p { color: var(--text-light); font-size: 14.5px; }

/* ---------- 产品服务页 ---------- */
.product-row { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; margin-bottom: 80px; }
.product-row:last-child { margin-bottom: 0; }
.product-row.reverse .p-media { order: 2; }
.product-row .p-media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.product-row .p-num { color: var(--teal); font-size: 14px; font-weight: 700; letter-spacing: 3px; }
.product-row h3 { font-size: 25px; color: var(--navy); margin: 10px 0 16px; }
.product-row p { color: var(--text-light); font-size: 15px; text-align: justify; }
.product-row ul { margin-top: 18px; }
.product-row ul li {
  position: relative; padding: 5px 0 5px 26px; color: var(--text); font-size: 14.5px;
}
.product-row ul li::before {
  content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700;
}
.service-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: flow; }
.flow-step { background: #fff; border-radius: var(--radius); padding: 30px 22px; border: 1px solid var(--border); text-align: center; position: relative; transition: all .3s; }
.flow-step:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.flow-step::before {
  counter-increment: flow; content: "0" counter(flow);
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--blue), var(--teal)); color: #fff; font-weight: 700;
}
.flow-step h4 { color: var(--navy); margin-bottom: 8px; font-size: 16px; }
.flow-step p { font-size: 13.5px; color: var(--text-light); }

/* ---------- 联系页 ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 44px; }
.contact-info-card { background: linear-gradient(150deg, var(--navy-deep), #14315e); border-radius: var(--radius); color: #fff; padding: 44px 36px; }
.contact-info-card h3 { font-size: 22px; margin-bottom: 8px; }
.contact-info-card .hint { color: rgba(255,255,255,.65); font-size: 14px; margin-bottom: 30px; }
.c-item { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.12); }
.c-item .c-icon {
  width: 42px; height: 42px; border-radius: 10px; flex: none;
  background: rgba(0,179,134,.2); display: flex; align-items: center; justify-content: center;
}
.c-item .c-icon svg { width: 20px; height: 20px; stroke: #35e0ae; }
.c-item b { display: block; font-size: 14px; color: rgba(255,255,255,.6); font-weight: 400; }
.c-item span { font-size: 15.5px; }
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 44px 36px; }
.form-card h3 { color: var(--navy); font-size: 22px; margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 14px; color: var(--text); font-weight: 500; }
.form-field input, .form-field textarea, .form-field select {
  padding: 12px 14px; border: 1px solid var(--border); border-radius: 8px;
  font-size: 14.5px; font-family: inherit; color: var(--text);
  transition: border-color .2s, box-shadow .2s; background: var(--bg-light);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(27,109,224,.12); background: #fff;
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-msg { margin-top: 16px; font-size: 14px; display: none; padding: 12px 16px; border-radius: 8px; }
.form-msg.ok { display: block; background: rgba(0,179,134,.1); color: #00805f; border: 1px solid rgba(0,179,134,.35); }
.form-msg.err { display: block; background: rgba(220,53,69,.08); color: #b02a37; border: 1px solid rgba(220,53,69,.3); }

/* ---------- 登录页 ---------- */
.auth-section { min-height: calc(100vh - 72px); padding: 140px 24px 90px; background: var(--bg-light); display: flex; align-items: flex-start; justify-content: center; }
.auth-card {
  width: 100%; max-width: 440px; background: #fff; border-radius: 16px;
  box-shadow: var(--shadow); padding: 44px 40px;
}
.auth-card h2 { color: var(--navy); font-size: 26px; text-align: center; }
.auth-card .sub { text-align: center; color: var(--text-light); font-size: 14px; margin: 8px 0 28px; }
.auth-tabs { display: flex; background: var(--bg-light); border-radius: 10px; padding: 5px; margin-bottom: 28px; }
.auth-tabs button {
  flex: 1; padding: 10px; border: none; background: transparent; border-radius: 8px;
  font-size: 15px; cursor: pointer; color: var(--text-light); font-family: inherit; transition: all .25s;
}
.auth-tabs button.active { background: var(--navy); color: #fff; }
.auth-form .form-field { margin-bottom: 18px; }
.auth-form .form-field input { padding: 13px 15px; }
.auth-form .btn { width: 100%; margin-top: 6px; padding: 14px; font-size: 16px; }
.auth-tip { margin-top: 18px; font-size: 12.5px; color: #9aa8b8; text-align: center; }
.user-chip {
  display: inline-flex; align-items: center; gap: 8px; margin-left: 12px;
  padding: 7px 16px; border-radius: 20px; background: rgba(0,179,134,.18);
  color: #7de8c8; font-size: 14px; border: 1px solid rgba(0,179,134,.5);
}
.user-chip .avatar {
  width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--teal));
  display: inline-flex; align-items: center; justify-content: center; font-size: 12px; color: #fff;
}
.user-chip a { color: rgba(255,255,255,.6); font-size: 12.5px; cursor: pointer; margin-left: 4px; }
.user-chip a:hover { color: #fff; }

/* ---------- CTA 区块 ---------- */
.cta-band {
  background: linear-gradient(110deg, #0d2b52 0%, var(--blue) 60%, var(--teal) 120%);
  color: #fff; text-align: center; padding: 76px 24px;
}
.cta-band h2 { font-size: 30px; letter-spacing: 1px; }
.cta-band p { margin: 14px 0 30px; color: rgba(255,255,255,.85); }

/* ---------- 页脚 ---------- */
.footer { background: var(--navy-deep); color: rgba(255,255,255,.65); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 40px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer p, .footer li { font-size: 14px; line-height: 2; }
.footer a:hover { color: #35e0ae; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; text-align: center; font-size: 13px; }

/* ---------- 入场动画 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .grid-4, .grid-3, .service-flow, .value-list { grid-template-columns: repeat(2, 1fr); }
  .about-intro, .product-row, .contact-wrap { grid-template-columns: 1fr; }
  .product-row.reverse .p-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 34px; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: rgba(7,21,40,.98); flex-direction: column; padding: 18px 24px 26px; gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-links .btn-login { margin: 8px 0 0; text-align: center; }
}
@media (max-width: 560px) {
  .grid-4, .grid-3, .service-flow, .value-list, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 28px; }
  .section { padding: 64px 0; }
  .logo-text b { font-size: 15px; }
}

/* ===================== 新闻动态 ===================== */
.news-filter { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.nf-btn {
  border: 1px solid var(--border); background: #fff; color: var(--text-light);
  padding: 8px 22px; border-radius: 22px; font-size: 14px; cursor: pointer; transition: all .25s;
}
.nf-btn:hover { border-color: var(--blue); color: var(--blue); }
.nf-btn.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
  display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; text-decoration: none;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.news-cover { aspect-ratio: 16 / 9; overflow: hidden; background: #eaf1f8; }
.news-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-card:hover .news-cover img { transform: scale(1.05); }
.news-cover-empty { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #0e2c52, #16406f); }
.news-cover-empty svg { width: 56px; height: 56px; opacity: .7; }
.news-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.news-meta { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--text-light); margin-bottom: 10px; }
.news-tag {
  display: inline-block; background: rgba(0, 179, 134, .12); color: #00805f;
  border-radius: 6px; padding: 2px 10px; font-size: 12.5px;
}
.news-body h3 { font-size: 17px; color: var(--navy); line-height: 1.5; margin-bottom: 10px; }
.news-body p { font-size: 14px; color: var(--text-light); line-height: 1.7; flex: 1; }
.news-more { margin-top: 14px; font-size: 13.5px; color: var(--blue); font-weight: 600; }
.news-loading { grid-column: 1 / -1; text-align: center; color: var(--text-light); padding: 50px 0; }
.news-more-link { text-align: center; margin-top: 40px; }

/* 新闻详情 */
.news-detail { max-width: 860px; margin: 0 auto; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px 48px; }
.news-detail .news-meta { margin-bottom: 16px; }
.news-detail h1 { font-size: 28px; color: var(--navy); line-height: 1.5; margin-bottom: 22px; }
.news-detail-cover { margin-bottom: 24px; border-radius: 10px; overflow: hidden; }
.news-detail-cover img { width: 100%; display: block; }
.news-summary {
  background: var(--bg-light); border-left: 3px solid var(--teal); padding: 12px 18px;
  color: var(--text-light); font-size: 14.5px; line-height: 1.8; border-radius: 0 8px 8px 0; margin-bottom: 24px;
}
.news-content p { font-size: 15.5px; line-height: 1.9; color: var(--text); margin-bottom: 16px; }
.news-back { max-width: 860px; margin: 28px auto 0; text-align: center; }

@media (max-width: 960px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .news-grid { grid-template-columns: 1fr; }
  .news-detail { padding: 26px 20px; }
  .news-detail h1 { font-size: 22px; }
}

/* ===================== 产品三大板块 ===================== */
.prod-subtitle {
  display: flex; align-items: center; gap: 10px;
  font-size: 22px; color: var(--navy); margin: 0 0 22px; letter-spacing: 1px;
}
.prod-subtitle::before {
  content: ""; width: 4px; height: 20px; border-radius: 2px;
  background: linear-gradient(180deg, var(--blue), var(--teal));
}
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.prod-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: transform .3s, box-shadow .3s, border-color .3s;
  display: flex; flex-direction: column;
}
.prod-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.prod-card .pc-img { aspect-ratio: 4 / 3; overflow: hidden; background: #eef4fa; }
.prod-card .pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.prod-card:hover .pc-img img { transform: scale(1.05); }
.prod-card .pc-img.pc-empty {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #0e2c52, #16406f);
}
.prod-card .pc-img.pc-empty svg { width: 54px; height: 54px; opacity: .7; }
.prod-card .pc-body { padding: 18px 20px 20px; flex: 1; }
.prod-card h4 { font-size: 17px; color: var(--navy); margin-bottom: 8px; }
.prod-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; }
.prod-loading { grid-column: 1 / -1; text-align: center; color: var(--text-light); padding: 50px 0; }
.brand-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 48px; }
.brand-chip {
  background: var(--white); border: 1px solid var(--border); color: var(--navy);
  padding: 8px 22px; border-radius: 20px; font-size: 14px; transition: all .25s;
}
.brand-chip:hover { border-color: var(--teal); color: var(--teal); }
.socomec-strip {
  display: flex; gap: 36px; align-items: flex-start; flex-wrap: wrap;
  background: var(--bg-light); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px 36px;
}
.socomec-strip .socomec-head { flex: 0 0 auto; min-width: 220px; }
.socomec-strip h3 { font-size: 20px; color: var(--navy); margin-top: 12px; letter-spacing: 1px; }
.socomec-strip p { flex: 1; min-width: 280px; font-size: 14.5px; line-height: 1.9; color: var(--text-light); text-align: justify; }
@media (max-width: 960px) {
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .prod-grid { grid-template-columns: 1fr; }
  .socomec-strip { flex-direction: column; gap: 14px; padding: 24px 22px; }
}

/* ===================== 导航下拉菜单 ===================== */
html { scroll-behavior: smooth; }
#own, #priestley, #socomec { scroll-margin-top: 84px; }
.nav-drop { position: relative; }
.nav-drop > a { display: flex; align-items: center; gap: 5px; }
.nav-drop .caret { width: 14px; height: 14px; stroke: currentColor; transition: transform .25s; }
.nav-drop:hover .caret, .nav-drop.open .caret { transform: rotate(180deg); }
.drop-menu {
  position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%) translateY(6px);
  min-width: 176px; background: #fff; border-radius: 10px; padding: 8px;
  box-shadow: 0 12px 34px rgba(11, 31, 58, .18); border: 1px solid var(--border);
  opacity: 0; visibility: hidden; transition: all .22s; z-index: 50;
}
.drop-menu::before { content: ""; position: absolute; top: -6px; left: 50%; transform: translateX(-50%) rotate(45deg); width: 12px; height: 12px; background: #fff; border-left: 1px solid var(--border); border-top: 1px solid var(--border); }
.nav-drop:hover .drop-menu, .nav-drop.open .drop-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.drop-menu a {
  display: block; padding: 10px 16px !important; border-radius: 7px !important;
  color: var(--text) !important; font-size: 14px; white-space: nowrap;
}
.drop-menu a:hover { background: var(--bg-light) !important; color: var(--blue) !important; }
.drop-menu a.active { background: rgba(27,109,224,.1) !important; color: var(--blue) !important; }
@media (max-width: 960px) {
  .drop-menu {
    position: static; transform: none; opacity: 1; visibility: hidden;
    box-shadow: none; border: none; background: transparent; padding: 0 0 0 14px; min-width: 0;
  }
  .drop-menu::before { display: none; }
  .nav-drop.open .drop-menu { visibility: visible; }
  .nav-drop > a { justify-content: space-between; width: 100%; }
  .drop-menu a { color: rgba(255,255,255,.8) !important; padding: 9px 12px !important; }
  .drop-menu a:hover { background: rgba(255,255,255,.08) !important; color: #fff !important; }
}
