/* ============================================================
   Shanghai Gaoling International — 企业官网样式
   简约大气 · 电力变压器行业
   ============================================================ */
:root {
  --navy: #0f2440;
  --navy-2: #16345c;
  --accent: #c9a35c;
  --accent-dark: #a8843f;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --text: #1d2b3a;
  --text-light: #5b6b7c;
  --line: #e4e9f0;
  --shadow: 0 10px 40px rgba(15, 36, 64, 0.08);
  --radius: 6px;
  --maxw: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部信息条 ---------- */
.topbar {
  background: var(--navy);
  border-bottom: 1px solid rgba(201, 163, 92, .3);
}
.topbar .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; height: 42px;
}
.tb-left {
  display: flex; align-items: center; gap: 8px; min-width: 0;
  font-size: 12.5px; letter-spacing: .3px; color: rgba(255, 255, 255, .64);
}
.tb-left svg { width: 15px; height: 15px; flex: none; color: var(--accent); }
.tb-tag { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-right { display: flex; align-items: center; flex: none; margin-right: -16px; }
.tb-item {
  display: inline-flex; align-items: center; gap: 7px;
  height: 42px; padding: 0 16px;
  font-size: 12.5px; letter-spacing: .3px;
  color: rgba(255, 255, 255, .82);
  transition: color .2s, background-color .2s;
}
.tb-item svg { width: 14px; height: 14px; flex: none; opacity: .78; }
.tb-item:hover { color: var(--accent); background: rgba(255, 255, 255, .05); }
.tb-item:hover svg { opacity: 1; }
.tb-sep { width: 1px; height: 15px; background: rgba(255, 255, 255, .16); flex: none; }

@media (max-width: 1080px) {
  .tb-email, .tb-sep { display: none; }
}
@media (max-width: 720px) {
  .tb-left { display: none; }
  .topbar .container { justify-content: center; }
  .tb-right { margin-right: 0; }
}

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; justify-content: space-between; align-items: center;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { display: flex; align-items: center; }
.brand-mark img { height: 52px; width: auto; display: block; }
.brand-text .en {
  font-size: 17px; font-weight: 700; letter-spacing: 1px; color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
}
.brand-text .zh {
  font-size: 12px; color: var(--text-light); letter-spacing: 3px;
}
/* 语言切换 */
.lang-switch { display: flex; gap: 2px; margin-left: 14px; align-items: center; }
.lang-switch a {
  font-size: 13px; font-weight: 600; padding: 6px 11px; border-radius: 4px;
  color: var(--text-light); border: 1px solid transparent; transition: all .25s;
  white-space: nowrap;
}
.lang-switch a:hover { color: var(--navy); background: var(--bg-soft); }
.lang-switch a.current { color: var(--navy); border-color: var(--line); background: #fff; }
/* 页脚 Logo */
.footer-logo {
  display: inline-block; background: #fff; padding: 12px 18px;
  border-radius: 10px; margin-bottom: 20px;
}
.footer-logo img { height: 92px; width: auto; display: block; }
.nav-links { display: flex; gap: 8px; align-items: center; }
.nav-links a {
  padding: 8px 18px; border-radius: 4px;
  font-size: 15px; color: var(--text); transition: all .25s;
}
.nav-links a:hover { color: var(--navy); background: var(--bg-soft); }
.nav-links a.active {
  color: #fff; background: var(--navy);
}
.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: 6px;
  border: 1px solid var(--line); background: #fff; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 20px; height: 20px; stroke: var(--navy); }

/* ---------- 页面横幅 ---------- */
.page-hero {
  background:
    linear-gradient(rgba(15,36,64,.82), rgba(15,36,64,.82)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 64px);
  color: #fff; text-align: center;
  padding: 100px 24px 110px;
}
.page-hero h1 {
  font-size: 40px; font-weight: 600; letter-spacing: 4px; margin-bottom: 14px;
}
.page-hero .en-title {
  font-family: Georgia, serif; font-style: italic;
  color: var(--accent); letter-spacing: 2px; font-size: 16px;
}
.page-hero p { color: rgba(255,255,255,.65); font-size: 15px; margin-top: 10px; }

/* ---------- 通用区块 ---------- */
.section { padding: 90px 0; }
.section.soft { background: var(--bg-soft); }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.sec-head .kicker {
  color: var(--accent-dark); font-size: 13px; letter-spacing: 4px;
  text-transform: uppercase; margin-bottom: 12px;
}
.sec-head h2 { font-size: 32px; font-weight: 600; letter-spacing: 2px; }
.sec-head .line {
  width: 48px; height: 3px; background: var(--accent);
  margin: 18px auto 16px; border-radius: 2px;
}
.sec-head p { color: var(--text-light); font-size: 15px; }

.btn {
  display: inline-block; padding: 14px 40px; border-radius: 4px;
  font-size: 15px; letter-spacing: 2px; transition: all .3s; cursor: pointer;
  border: none;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-ghost { border: 1px solid rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); transform: translateY(-2px); }

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(ellipse at 78% 30%, rgba(201,163,92,.22), transparent 55%),
    linear-gradient(135deg, #0f2440 0%, #16345c 60%, #1d4270 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 90px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 90px);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: 60px; align-items: center;
  padding: 130px 0 140px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid rgba(201,163,92,.45); color: var(--accent);
  padding: 7px 18px; border-radius: 999px; font-size: 13px; letter-spacing: 2px;
  margin-bottom: 26px;
}
.hero h1 {
  font-size: 52px; line-height: 1.25; font-weight: 600; letter-spacing: 2px;
  margin-bottom: 22px;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .sub-en {
  font-family: Georgia, serif; font-style: italic; color: rgba(255,255,255,.55);
  margin-bottom: 18px; letter-spacing: 1px;
}
.hero p.lead {
  color: rgba(255,255,255,.72); font-size: 16px; max-width: 520px; margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; }

.hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.stat-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: 28px 26px; backdrop-filter: blur(4px);
  transition: all .3s;
}
.stat-card:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); }
.stat-card .num {
  font-size: 34px; font-weight: 700; color: var(--accent);
  font-family: Georgia, serif;
}
.stat-card .num small { font-size: 16px; margin-left: 2px; }
.stat-card .label { font-size: 13px; color: rgba(255,255,255,.65); margin-top: 6px; letter-spacing: 1px; }

/* ---------- 数据条 ---------- */
.stats-band { background: var(--navy); color: #fff; }
.stats-band .container {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding-top: 46px; padding-bottom: 46px; gap: 20px; text-align: center;
}
.stats-band .num {
  font-size: 36px; font-weight: 700; font-family: Georgia, serif; color: var(--accent);
}
.stats-band .label { font-size: 13px; color: rgba(255,255,255,.6); letter-spacing: 2px; margin-top: 4px; }

/* ---------- 业务/关于 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split .visual {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
}
.split .visual .grid-bg {
  aspect-ratio: 4/3;
  background:
    radial-gradient(circle at 30% 30%, rgba(201,163,92,.28), transparent 50%),
    linear-gradient(135deg, #16345c, #0f2440);
  display: flex; align-items: center; justify-content: center;
}
.split .visual svg { width: 46%; height: auto; opacity: .95; }
.split h2 { font-size: 30px; letter-spacing: 2px; margin: 14px 0 8px; }
.split .kicker { color: var(--accent-dark); letter-spacing: 3px; font-size: 13px; }
.split p { color: var(--text-light); margin-bottom: 18px; }

.feature-list { display: grid; gap: 14px; margin-top: 26px; }
.feature-list li {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 20px; transition: all .25s;
}
.feature-list li:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateX(4px); }
.feature-list .ico {
  flex: none; width: 38px; height: 38px; border-radius: 6px;
  background: var(--bg-soft); display: flex; align-items: center; justify-content: center;
}
.feature-list .ico svg { width: 20px; height: 20px; stroke: var(--navy); }
.feature-list b { display: block; font-size: 15px; margin-bottom: 2px; }
.feature-list span { font-size: 13px; color: var(--text-light); }

/* ---------- 卡片网格 ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: all .3s; display: flex; flex-direction: column;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-6px); border-color: transparent; }
.card .cover {
  aspect-ratio: 16/9; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  display: flex; align-items: center; justify-content: center;
}
.card .cover svg { width: 34%; height: auto; opacity: .9; transition: transform .4s; }
.card:hover .cover svg { transform: scale(1.08); }
.card .cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card .cover img:hover { transform: scale(1.05); transition: transform .5s; }
.grid-bg img.photo { width: 100%; height: 100%; object-fit: cover; }
/* 实拍图横幅 */
.photo-band { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.photo-band img { width: 100%; height: 440px; object-fit: cover; display: block; }
@media (max-width: 600px) { .photo-band img { height: 240px; } }
.card .body { padding: 26px 26px 30px; flex: 1; display: flex; flex-direction: column; }
.card .tag {
  align-self: flex-start; font-size: 12px; color: var(--accent-dark);
  background: rgba(201,163,92,.12); padding: 3px 12px; border-radius: 999px;
  letter-spacing: 1px; margin-bottom: 12px;
}
.card h3 { font-size: 19px; letter-spacing: 1px; margin-bottom: 10px; }
.card p { font-size: 14px; color: var(--text-light); flex: 1; }
.card .specs {
  margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line);
  font-size: 12.5px; color: var(--text-light); display: grid; gap: 6px;
}
.card .specs i { font-style: normal; color: var(--navy); font-weight: 600; margin-right: 6px; }

/* ---------- 服务流程 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 26px 28px; transition: all .3s;
}
.step:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: Georgia, serif; font-size: 40px; font-weight: 700;
  color: rgba(15,36,64,.1); position: absolute; top: 10px; right: 18px;
}
.step h3 { font-size: 17px; margin-bottom: 8px; letter-spacing: 1px; }
.step p { font-size: 13.5px; color: var(--text-light); }
.step .bar { width: 30px; height: 3px; background: var(--accent); border-radius: 2px; margin-bottom: 14px; }

/* ---------- 联系页 ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; }
.info-card {
  background: var(--navy); color: #fff; border-radius: var(--radius);
  padding: 44px 40px;
}
.info-card h3 { font-size: 22px; letter-spacing: 2px; margin-bottom: 30px; }
.info-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.info-item:last-child { border-bottom: none; }
.info-item .ico {
  flex: none; width: 42px; height: 42px; border-radius: 6px;
  background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center;
}
.info-item .ico svg { width: 20px; height: 20px; stroke: var(--accent); }
.info-item b { display: block; font-size: 13px; color: rgba(255,255,255,.55); letter-spacing: 1px; margin-bottom: 4px; }
.info-item span { font-size: 15px; }

.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 44px 40px; box-shadow: var(--shadow);
}
.form-card h3 { font-size: 22px; letter-spacing: 2px; margin-bottom: 6px; }
.form-card .hint { color: var(--text-light); font-size: 14px; margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; letter-spacing: 1px; margin-bottom: 8px; color: var(--text); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 4px; font-size: 14px; font-family: inherit;
  background: var(--bg-soft); transition: all .25s; color: var(--text);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); background: #fff;
  box-shadow: 0 0 0 3px rgba(201,163,92,.15);
}
.field textarea { min-height: 120px; resize: vertical; }

/* ---------- CTA ---------- */
.cta {
  background:
    radial-gradient(ellipse at 20% 20%, rgba(201,163,92,.2), transparent 50%),
    linear-gradient(120deg, var(--navy), var(--navy-2));
  color: #fff; text-align: center; padding: 90px 24px;
}
.cta h2 { font-size: 32px; letter-spacing: 3px; margin-bottom: 14px; }
.cta p { color: rgba(255,255,255,.65); margin-bottom: 34px; }

/* ---------- 页脚 ---------- */
.site-footer { background: #0b1a2f; color: rgba(255,255,255,.6); }
.footer-main {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px;
  padding: 70px 0 50px;
}
.footer-main h4 { color: #fff; font-size: 15px; letter-spacing: 2px; margin-bottom: 20px; }
.footer-main li { margin-bottom: 10px; font-size: 14px; }
.footer-main li a:hover { color: var(--accent); }
.footer-brand p { font-size: 13.5px; margin-top: 16px; max-width: 300px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 22px 0; text-align: center; font-size: 13px; color: rgba(255,255,255,.35);
}

/* ---------- 响应式 ---------- */
/* 平板/小屏笔记本：收紧导航，避免品牌名与语言切换折行 */
@media (max-width: 1180px) {
  .brand-mark img { height: 44px; }
  .brand-text .en { font-size: 15px; letter-spacing: .5px; white-space: nowrap; }
  .brand-text .zh { font-size: 11px; letter-spacing: 2px; }
  .nav { gap: 16px; }
  .nav-links { gap: 2px; }
  .nav-links a { padding: 8px 12px; font-size: 14px; }
  .lang-switch { margin-left: 6px; gap: 1px; }
  .lang-switch a { padding: 6px 8px; }
}
@media (max-width: 960px) {
  .hero-inner, .split, .contact-wrap { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .steps, .stats-band .container { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 38px; }
  .nav-links {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 12px 24px 20px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a.active { color: var(--navy); background: var(--bg-soft); }
  .nav-toggle { display: flex; }
}
@media (max-width: 600px) {
  .card-grid, .steps, .stats-band .container, .form-row, .footer-main, .hero-stats { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
  .page-hero h1 { font-size: 28px; }
  .section { padding: 60px 0; }
}
