/* ============================================================
   彦格新能源 YANGE NEW ENERGY — 企业官网样式
   设计令牌源自 Ardot 设计稿：深蓝 #0C4A6E / 能源绿 #16A34A
   ============================================================ */

:root {
  --blue-900: #071A2B;
  --blue-850: #0A2438;
  --blue-800: #10314B;
  --blue-700: #0C4A6E;
  --blue-600: #1368A0;
  --green-500: #16A34A;
  --green-400: #22C55E;
  --green-300: #4ADE80;
  --green-700: #15803D;
  --gray-bg: #F4F7FA;
  --border: #E3E9F0;
  --text: #18191C;
  --text-2: #3D4852;
  --muted: #6B7F93;
  --white: #FFFFFF;
  --container: 1200px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-card: 0 1px 2px rgba(4, 18, 34, 0.04), 0 8px 24px rgba(4, 18, 34, 0.06);
  --shadow-card-hover: 0 2px 4px rgba(4, 18, 34, 0.06), 0 16px 40px rgba(4, 18, 34, 0.12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body[data-lang="cn"] { font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif; }
body[data-lang="kr"] { font-family: "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif; }

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- 通用元素 ---------- */
.section { padding: 88px 0; }
.section-gray { background: var(--gray-bg); }
.section-dark { background: var(--blue-850); }

.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.12em;
  color: var(--green-500); text-transform: uppercase; margin-bottom: 18px;
}
.label::before {
  content: ""; width: 28px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--green-400), var(--green-500));
}
.label-light { color: var(--green-300); }

.h2 {
  font-size: 34px; line-height: 1.3; font-weight: 700;
  color: var(--text); letter-spacing: -0.01em; margin-bottom: 18px;
}
.section-dark .h2 { color: var(--white); }

.sub { font-size: 15.5px; color: var(--text-2); max-width: 760px; }
.section-dark .sub { color: rgba(255, 255, 255, 0.72); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 26px; border-radius: 10px;
  font-size: 15px; font-weight: 600; cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  border: none; white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--green-400), var(--green-500));
  color: var(--white);
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(22, 163, 74, 0.45); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.08); color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); }
.btn-blue { background: var(--blue-700); color: var(--white); }
.btn-blue:hover { background: var(--blue-600); transform: translateY(-2px); }

/* ---------- 顶部导航 ---------- */
.header {
  height: 76px; background: var(--white);
  border-bottom: 1px solid var(--border);
  position: relative; z-index: 50;
}
.header-inner { height: 76px; display: flex; align-items: center; gap: 40px; }

.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-img { height: 54px; width: auto; display: block; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-800));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(12, 74, 110, 0.3);
}
.logo-mark svg { width: 20px; height: 20px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-name { font-size: 19px; font-weight: 700; color: var(--text); }
.logo-sub { font-size: 10px; font-weight: 500; letter-spacing: 0.14em; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 36px; margin-left: 12px; }
.nav a {
  font-size: 15px; color: var(--text-2); font-weight: 500;
  transition: color 0.15s ease; position: relative;
}
.nav a:hover { color: var(--blue-700); }

.header-right { margin-left: auto; display: flex; align-items: center; gap: 20px; }

/* 语言切换器 */
.lang-switcher {
  display: flex; align-items: center; gap: 4px;
  background: var(--gray-bg); border: 1px solid var(--border);
  border-radius: 9px; padding: 4px;
}
.lang-switcher a {
  font-size: 12.5px; font-weight: 500; color: var(--muted);
  padding: 5px 12px; border-radius: 6px; transition: all 0.15s ease;
}
.lang-switcher a:hover { color: var(--blue-700); }
.lang-switcher a.active {
  background: var(--white); color: var(--blue-700); font-weight: 600;
  box-shadow: 0 1px 3px rgba(4, 18, 34, 0.12);
}

.header-cta {
  display: inline-flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 20px; border-radius: 10px;
  background: var(--blue-700); color: var(--white);
  font-size: 14px; font-weight: 600;
  transition: background 0.15s ease, transform 0.15s ease;
}
.header-cta:hover { background: var(--blue-600); transform: translateY(-1px); }
.header-cta svg { width: 14px; height: 14px; }

.menu-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--border);
  border-radius: 10px; background: var(--white); cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-toggle svg { width: 20px; height: 20px; color: var(--text); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 660px;
  display: flex; align-items: center;
  background: var(--blue-900);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url("images/hero-solar-farm.jpg") center / cover no-repeat;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(7, 26, 43, 0.92) 0%, rgba(7, 26, 43, 0.72) 45%, rgba(7, 26, 43, 0.35) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 88px 0; width: 100%; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
  border-radius: 999px; padding: 8px 18px;
  font-size: 13px; color: rgba(255, 255, 255, 0.92); margin-bottom: 26px;
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green-300);
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.25);
}

.hero h1 {
  font-size: 46px; line-height: 1.22; font-weight: 700;
  color: var(--white); letter-spacing: -0.015em;
  max-width: 820px; margin-bottom: 22px;
}
.hero-sub {
  font-size: 17px; color: rgba(255, 255, 255, 0.78);
  max-width: 640px; margin-bottom: 36px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 64px; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 64px; }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-value {
  font-size: 26px; font-weight: 700; color: var(--white);
  font-family: "Inter", sans-serif; letter-spacing: -0.01em;
}
.stat-label { font-size: 13px; color: rgba(255, 255, 255, 0.65); }

/* ---------- 关于我们 ---------- */
.about-grid {
  display: grid; grid-template-columns: 540px 1fr; gap: 64px; align-items: center;
}
.about-image {
  position: relative; height: 420px; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-card);
}
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.location-chip {
  position: absolute; left: 20px; bottom: 20px;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(8px);
  border-radius: 999px; padding: 9px 18px;
  font-size: 13px; font-weight: 600; color: var(--blue-700);
  box-shadow: 0 4px 16px rgba(4, 18, 34, 0.18);
}
.location-chip svg { width: 14px; height: 14px; color: var(--green-500); }

.about-points { display: flex; flex-direction: column; gap: 16px; margin-top: 26px; }
.about-point { display: flex; align-items: flex-start; gap: 12px; }
.point-check {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(22, 163, 74, 0.12);
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.point-check svg { width: 12px; height: 12px; color: var(--green-500); }
.about-point p { font-size: 15px; color: var(--text-2); }

/* ---------- 产品中心 ---------- */
.section-head { margin-bottom: 44px; }
.products-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.product-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.product-card-img { height: 200px; overflow: hidden; }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-card-body h3 { font-size: 17px; font-weight: 600; color: var(--text); }
.product-card-body p { font-size: 13.5px; color: var(--text-2); flex: 1; }
.product-tag {
  align-self: flex-start;
  font-size: 12px; font-weight: 500; color: var(--blue-700);
  background: rgba(12, 74, 110, 0.08);
  border-radius: 6px; padding: 4px 12px; margin-top: 4px;
}

/* ---------- 服务能力 ---------- */
.services-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-bottom: 64px;
}
.service-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(74, 222, 128, 0.4);
}
.service-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(74, 222, 128, 0.14);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.service-icon svg { width: 22px; height: 22px; color: var(--green-300); }
.service-card h3 { font-size: 16.5px; font-weight: 600; color: var(--white); margin-bottom: 10px; }
.service-card p { font-size: 13px; color: rgba(255, 255, 255, 0.65); }

/* 合作流程 */
.process { position: relative; }
.process-steps {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px;
  position: relative;
}
.process-steps::before {
  content: ""; position: absolute; top: 21px; left: 8%; right: 8%;
  height: 2px; background: rgba(255, 255, 255, 0.14); z-index: 0;
}
.process-step { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 14px; }
.step-number {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue-850);
  border: 2px solid rgba(74, 222, 128, 0.55);
  color: var(--green-300);
  font-size: 13px; font-weight: 700; font-family: "Inter", sans-serif;
  display: flex; align-items: center; justify-content: center;
}
.process-step h4 { font-size: 15px; font-weight: 600; color: var(--white); }

/* ---------- 联系我们 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 460px; gap: 64px; align-items: start; }
.contact-list { display: flex; flex-direction: column; gap: 18px; margin: 30px 0 22px; }
.contact-row { display: flex; align-items: center; gap: 16px; }
.contact-icon {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px;
  background: rgba(12, 74, 110, 0.08);
  display: flex; align-items: center; justify-content: center;
}
.contact-icon svg { width: 20px; height: 20px; color: var(--blue-700); }
.contact-info { display: flex; flex-direction: column; line-height: 1.35; }
.contact-info .k { font-size: 12.5px; color: var(--muted); }
.contact-info .v { font-size: 15px; font-weight: 600; color: var(--text); }
.contact-info .v a { transition: color 0.15s ease; }
.contact-info .v a:hover { color: var(--blue-700); }
.copy-btn {
  margin-left: 6px; font-size: 11.5px; font-weight: 500;
  color: var(--blue-700); background: rgba(12, 74, 110, 0.08);
  border: none; border-radius: 5px; padding: 3px 9px; cursor: pointer;
  transition: background 0.15s ease; vertical-align: middle;
}
.copy-btn:hover { background: rgba(12, 74, 110, 0.16); }

.contact-note { font-size: 12px; color: var(--muted); margin-bottom: 26px; }

.export-banner {
  position: relative; height: 150px; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-card);
}
.export-banner img { width: 100%; height: 100%; object-fit: cover; }
.export-banner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(7, 26, 43, 0.82), rgba(7, 26, 43, 0.25));
}
.banner-chip {
  position: absolute; left: 24px; top: 50%; transform: translateY(-50%); z-index: 2;
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px); border-radius: 999px; padding: 9px 18px;
  font-size: 13px; font-weight: 600; color: var(--white);
}
.banner-chip svg { width: 16px; height: 16px; color: var(--green-300); }

/* 询盘卡片 */
.inquiry-card {
  background: linear-gradient(160deg, var(--blue-700) 0%, var(--blue-800) 60%, var(--blue-900) 100%);
  border-radius: 20px; padding: 44px 40px;
  box-shadow: 0 20px 50px rgba(7, 26, 43, 0.35);
  position: relative; overflow: hidden;
}
.inquiry-card::before {
  content: ""; position: absolute; top: -80px; right: -80px;
  width: 220px; height: 220px; border-radius: 50%;
  background: rgba(74, 222, 128, 0.12);
}
.inquiry-card h2 { font-size: 24px; font-weight: 700; color: var(--white); margin-bottom: 12px; position: relative; }
.inquiry-card > p { font-size: 14px; color: rgba(255, 255, 255, 0.72); margin-bottom: 28px; position: relative; }
.inquiry-email {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; border-radius: 12px; width: 100%;
  background: linear-gradient(135deg, var(--green-400), var(--green-500));
  color: var(--white); font-size: 15px; font-weight: 600;
  box-shadow: 0 8px 24px rgba(22, 163, 74, 0.4);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  position: relative; word-break: break-all; padding: 0 18px;
}
.inquiry-email:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(22, 163, 74, 0.5); }
.inquiry-email svg { width: 18px; height: 18px; flex-shrink: 0; }
.inquiry-divider { height: 1px; background: rgba(255, 255, 255, 0.14); margin: 26px 0; }
.inquiry-secondary { font-size: 13px; color: rgba(255, 255, 255, 0.65); margin-bottom: 18px; }
.inquiry-chips { display: flex; flex-wrap: wrap; gap: 10px; position: relative; }
.inquiry-chips span {
  font-size: 12px; font-weight: 500; color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px; padding: 6px 14px;
}

/* ---------- 页脚 ---------- */
.footer { background: var(--blue-900); color: rgba(255, 255, 255, 0.75); }
.footer-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px;
  padding: 64px 0 48px;
}
.footer-brand { display: flex; flex-direction: column; gap: 18px; }
.footer-logo { display: flex; align-items: center; gap: 12px; }
.footer-logo-img {
  height: 48px; width: auto; display: block;
  background: #ffffff; padding: 10px 16px; border-radius: 8px;
}
.footer-logo .logo-name { color: var(--white); }
.footer-logo .logo-sub { color: rgba(255, 255, 255, 0.45); }
.footer-tagline { font-size: 13.5px; color: rgba(255, 255, 255, 0.55); max-width: 340px; }
.footer-col h4 {
  font-size: 13.5px; font-weight: 600; color: var(--white);
  margin-bottom: 18px; letter-spacing: 0.02em;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a, .footer-col li { font-size: 13px; color: rgba(255, 255, 255, 0.55); transition: color 0.15s ease; }
.footer-col a:hover { color: var(--green-300); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0; display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 12px;
  font-size: 12.5px; color: rgba(255, 255, 255, 0.4);
}
.footer-langs { display: flex; align-items: center; gap: 10px; }
.footer-langs a { color: rgba(255, 255, 255, 0.55); transition: color 0.15s ease; }
.footer-langs a:hover { color: var(--green-300); }
.footer-langs .sep { color: rgba(255, 255, 255, 0.25); }
.footer-langs a.active { color: var(--green-300); font-weight: 600; }

/* ---------- 滚动显现动画 ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1180px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .process-steps { grid-template-columns: repeat(5, 1fr); }
  .about-grid { grid-template-columns: 440px 1fr; gap: 40px; }
}

@media (max-width: 1024px) {
  .nav { display: none; }
  .menu-toggle { display: flex; }
  .header.open .nav {
    display: flex; flex-direction: column; align-items: flex-start;
    position: absolute; top: 76px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--border);
    padding: 20px 24px 24px; gap: 20px; box-shadow: var(--shadow-card);
  }
  .about-grid { grid-template-columns: 1fr; }
  .about-image { height: 340px; }
  .contact-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .h2 { font-size: 27px; }
  .hero { min-height: 560px; }
  .hero h1 { font-size: 32px; }
  .hero-stats { gap: 32px; }
  .products-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .process-steps::before { display: none; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .header-cta { display: none; }
  .logo-sub { display: none; }
  .logo-img { height: 44px; }
  .footer-logo-img { height: 40px; }
  .inquiry-card { padding: 32px 26px; }
}
