/* ===========================================================
   暹罗新能 SIAM NOVA ENERGY — 主样式
   泰国玉绿 + 金 · 浅色品牌主题（取自《LONGSEEK 珑寻泰国绿能》PPT）
   =========================================================== */

/* ---------- 变量 ---------- */
:root {
  --g-950: #E9F1EA;
  --g-900: #DFEAE1;
  --g-850: #D5E4D7;
  --g-800: #C7DACB;
  --g-700: #AFCCB8;
  --g-600: #8FB8A0;

  --jade: #1F8A86;
  --jade-l: #2EB5B0;
  --cyan: #2E8A76;
  --teal: #0F6B5D;
  --teal-l: #9A7522;
  --gold: #C9A24A;
  --gold-l: #E3C88A;

  --text: #1C3B33;
  --muted: #4F7168;
  --muted-2: #718E85;

  --line: rgba(15, 107, 93, .16);
  --line-2: rgba(15, 107, 93, .10);
  --card: #FFFFFF;
  --card-hover: #F0F7F1;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 14px 34px rgba(15, 107, 93, .10);
  --ease: cubic-bezier(.22, .78, .34, 1);

  --maxw: 1200px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans Thai", "Noto Sans SC", sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--g-950);
  color: var(--text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; font-weight: 650; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(201, 162, 74, .35); }

.container { width: min(100% - 48px, var(--maxw)); margin-inline: auto; }

/* ---------- 滚动条 ---------- */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--g-950); }
::-webkit-scrollbar-thumb { background: var(--g-700); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--g-600); }

/* ---------- 顶部进度 ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--teal), var(--teal-l));
  z-index: 999; transition: width .1s linear;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; cursor: pointer; white-space: nowrap;
  transition: all .3s var(--ease);
}
.btn-primary {
  background: linear-gradient(135deg, #14796A, #0B5449);
  color: #FFFFFF;
  box-shadow: 0 10px 24px rgba(15, 107, 93, .22);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(15, 107, 93, .30); }
.btn-ghost { border-color: rgba(15, 107, 93, .28); background: #FFFFFF; color: var(--text); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); background: #F1F7F3; }
.btn-sm { padding: 9px 18px; font-size: 13.5px; }
.btn-block { width: 100%; }

/* ---------- 通用 Section ---------- */
.section { padding: 108px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, var(--g-900), var(--g-850) 50%, var(--g-900)); border-block: 1px solid var(--line-2); }
.section-tag {
  display: inline-block; font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--teal-l); font-weight: 600; margin-bottom: 16px;
  padding-left: 30px; position: relative;
}
.section-tag::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 20px; height: 1px;
  background: var(--teal);
}
.section-title { font-size: clamp(26px, 3.4vw, 40px); margin-bottom: 18px; }
.section-desc { color: var(--muted); max-width: 680px; font-size: 16px; margin-bottom: 0; }
.section-head { margin-bottom: 56px; }
.grad-text {
  background: linear-gradient(100deg, #0B5449, var(--teal) 55%, #1F8A86);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ===========================================================
   HEADER
   =========================================================== */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 900;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), backdrop-filter .35s;
}
.site-header.is-stuck {
  background: rgba(233, 241, 234, .94);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 8px 28px rgba(15, 107, 93, .08);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 78px; }
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark { display: grid; place-items: center; filter: drop-shadow(0 0 10px rgba(15,107,93,.25)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 18px; letter-spacing: .04em; }
.brand-text em {
  font-style: normal; font-size: 10px; letter-spacing: .22em;
  color: var(--teal-l); opacity: .85; margin-top: 2px;
}

.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a {
  position: relative; padding: 9px 15px; font-size: 14.5px; font-weight: 500;
  color: var(--muted); border-radius: 8px; transition: color .25s, background .25s;
}
.main-nav a:hover, .main-nav a.is-active { color: var(--teal); background: rgba(15,107,93,.07); }
.main-nav a.is-active::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 2px; height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--teal-l)); border-radius: 2px;
}

.header-tools { display: flex; align-items: center; gap: 14px; }
.lang-switch {
  display: flex; align-items: center; gap: 6px;
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 8px;
  background: #FFFFFF;
}
.lang-btn {
  background: none; border: 0; cursor: pointer; padding: 4px 8px;
  font-size: 12.5px; font-weight: 600; color: var(--muted-2); border-radius: 999px;
  transition: all .25s;
}
.lang-btn:hover { color: var(--text); }
.lang-btn.is-active { color: var(--teal-l); background: rgba(201, 162, 74, .14); }
.lang-sep { width: 1px; height: 12px; background: var(--line); }

.nav-toggle {
  display: none; flex-direction: column; gap: 4px; padding: 10px;
  background: none; border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
}
.nav-toggle span { display: block; width: 18px; height: 1.6px; background: var(--text); border-radius: 2px; transition: .3s var(--ease); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(5.6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-5.6px) rotate(-45deg); }

/* ===========================================================
   HERO
   =========================================================== */
.hero { position: relative; padding: 168px 0 0; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(15,107,93,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,107,93,.055) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 100%);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(90px); }
.hero-glow-1 { width: 620px; height: 620px; top: -220px; left: -140px; background: radial-gradient(circle, rgba(31,169,140,.16), transparent 65%); }
.hero-glow-2 { width: 520px; height: 520px; top: 40px; right: -160px; background: radial-gradient(circle, rgba(201,162,74,.14), transparent 65%); }
.hero-rays { position: absolute; inset: auto 0 -80px; width: 100%; height: 60%; opacity: .7; }
.hero-panels { position: absolute; inset: auto 0 0; width: 100%; height: 240px; opacity: .55; }

.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center;
  padding-bottom: 96px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 16px 7px 12px; margin-bottom: 26px;
  border: 1px solid rgba(15,107,93,.28); border-radius: 999px;
  background: rgba(15,107,93,.06);
  font-size: 13px; color: var(--teal); letter-spacing: .02em;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(31,138,134,.16);
  animation: pulse 2.4s infinite;
}
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 3px rgba(31,138,134,.2);} 50% { box-shadow: 0 0 0 7px rgba(31,138,134,0);} }

.hero-title { font-size: clamp(32px, 4.6vw, 58px); line-height: 1.16; margin-bottom: 24px; font-weight: 700; }
.hero-lead { color: var(--muted); font-size: 16.5px; max-width: 620px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }

.hero-trust { display: flex; flex-wrap: wrap; gap: 30px; }
.hero-trust li { display: flex; flex-direction: column; padding-left: 14px; border-left: 1px solid var(--line); }
.hero-trust strong { font-size: 14.5px; font-weight: 600; }
.hero-trust span { font-size: 12px; color: var(--muted-2); }

/* 右侧数据卡 */
.hero-visual { position: relative; }
.dash-card {
  position: relative; padding: 26px 26px 22px; border-radius: 20px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}
.dash-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.dash-title { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }
.dash-live { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: #2E8A76; }
.dash-live i { width: 7px; height: 7px; border-radius: 50%; background: #2E8A76; box-shadow: 0 0 8px rgba(46,138,118,.55); animation: pulse 1.8s infinite; }
.dash-value { display: flex; align-items: baseline; gap: 8px; }
.dash-value strong {
  font-size: 46px; font-weight: 700; letter-spacing: -.02em; line-height: 1;
  color: #0B5449;
  font-variant-numeric: tabular-nums;
}
.dash-value em { font-style: normal; font-size: 16px; color: var(--muted); }
.dash-sub { font-size: 12.5px; color: var(--muted-2); margin: 8px 0 20px; }

.dash-chart { display: flex; align-items: flex-end; gap: 6px; height: 96px; margin-bottom: 20px; }
.dash-chart i {
  flex: 1; height: var(--h); border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, var(--cyan), rgba(31,169,140,.25));
  opacity: .85; transition: opacity .3s;
}
.dash-chart:hover i { opacity: .5; }
.dash-chart i:hover { opacity: 1; }
.dash-foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.dash-foot .k { display: block; font-size: 11.5px; color: var(--muted-2); }
.dash-foot b { font-size: 15px; color: var(--teal-l); }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 13px 18px; border-radius: 14px;
  background: #FFFFFF; border: 1px solid var(--line);
  box-shadow: 0 14px 30px rgba(15,107,93,.12); backdrop-filter: blur(8px);
  animation: floatY 5.5s ease-in-out infinite;
}
.float-card b { display: block; font-size: 15px; font-variant-numeric: tabular-nums; }
.float-card small { font-size: 11.5px; color: var(--muted-2); }
.float-card-1 { top: -26px; left: -34px; }
.float-card-2 { bottom: -30px; right: -20px; animation-delay: -2.4s; }
.fc-icon {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(31,138,134,.2), rgba(31,169,140,.1));
  border: 1px solid rgba(31,138,134,.28); font-size: 11.5px; font-weight: 700; color: var(--cyan);
}
.fc-icon-gold { background: linear-gradient(135deg, rgba(15,107,93,.22), rgba(15,107,93,.08)); border-color: rgba(15,107,93,.3); color: var(--teal-l); font-size: 16px; }
@keyframes floatY { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-9px);} }

/* 客户条 */
.client-strip {
  position: relative; z-index: 1; display: flex; align-items: center; gap: 24px;
  padding: 20px 0 26px; border-top: 1px solid var(--line-2);
}
.cs-label { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); flex-shrink: 0; }
.cs-track { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.cs-track span { font-size: 13.5px; color: var(--muted); opacity: .8; position: relative; }
.cs-track span::after { content: "·"; margin-left: 13px; color: var(--teal); opacity: .6; }
.cs-track span:last-child::after { content: ""; }

/* ===========================================================
   STATS
   =========================================================== */
.stats-band { padding: 4px 0 96px; }
.stats-grid {
  display: grid; grid-template-columns: repeat(6, 1fr);
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(160deg, #FFFFFF, #F0F7F1);
  overflow: hidden; box-shadow: var(--shadow);
}
.stat-cell { padding: 30px 20px; text-align: center; border-right: 1px solid var(--line-2); }
.stat-cell:last-child { border-right: 0; }
.stat-val {
  font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; line-height: 1.1;
  color: var(--teal);
  font-variant-numeric: tabular-nums;
}
.stat-val em { font-style: normal; font-size: .52em; margin-left: 3px; opacity: .8; }
.stat-label { font-size: 12.5px; color: var(--muted-2); margin-top: 6px; }

/* ===========================================================
   SERVICES
   =========================================================== */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 30px 26px; border-radius: var(--radius); cursor: pointer;
  background: var(--card); border: 1px solid var(--line); overflow: hidden;
  transition: all .4s var(--ease);
}
.svc-card::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .4s;
  background: radial-gradient(680px circle at var(--mx, 50%) var(--my, 0%), rgba(15,107,93,.12), transparent 45%);
}
.svc-card::after {
  content: ""; position: absolute; inset: -1px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--teal), transparent 40%);
  -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  -webkit-mask-composite: xor; mask-composite: exclude; padding: 1px;
  opacity: 0; transition: opacity .4s;
}
.svc-card:hover { transform: translateY(-6px); background: var(--card-hover); border-color: transparent; }
.svc-card:hover::before, .svc-card:hover::after { opacity: 1; }
.svc-icon {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(140deg, rgba(31,169,140,.22), rgba(31,138,134,.08));
  border: 1px solid rgba(31,138,134,.22); color: var(--cyan);
}
.svc-icon svg { width: 26px; height: 26px; }
.svc-card h3 { font-size: 19px; }
.svc-short { font-size: 14.5px; color: var(--muted); flex: 1; }
.svc-more {
  display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600;
  color: var(--teal-l); transition: gap .3s;
}
.svc-card:hover .svc-more { gap: 12px; }

/* 流程条 */
.process-strip { margin-top: 60px; padding: 34px 32px; border-radius: var(--radius); background: #FFFFFF; border: 1px solid var(--line-2); }
.ps-title { font-size: 17px; margin-bottom: 26px; }
.process-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; }
.process-list li { position: relative; padding-top: 14px; }
.process-list li::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 1px; background: var(--line);
}
.process-list li::after {
  content: ""; position: absolute; top: -1px; left: 0; width: 26px; height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--teal-l));
}
.process-list .step { display: block; font-size: 12px; letter-spacing: .14em; color: var(--teal-l); margin-bottom: 6px; font-weight: 600; }
.process-list b { display: block; font-size: 15.5px; margin-bottom: 5px; }
.process-list small { font-size: 12.5px; color: var(--muted-2); line-height: 1.6; }

/* ===========================================================
   PROJECTS
   =========================================================== */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.filter-btn {
  padding: 8px 18px; border-radius: 999px; cursor: pointer; font-size: 13.5px;
  background: #FFFFFF; border: 1px solid var(--line); color: var(--muted);
  transition: all .3s;
}
.filter-btn:hover { color: var(--teal); border-color: rgba(15,107,93,.35); }
.filter-btn.is-active { background: linear-gradient(135deg, #14796A, #0B5449); color: #FFFFFF; border-color: transparent; font-weight: 600; }

.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.proj-card {
  border-radius: var(--radius); overflow: hidden; background: var(--card);
  border: 1px solid var(--line); transition: all .4s var(--ease);
}
.proj-card:hover { transform: translateY(-6px); border-color: rgba(15,107,93,.35); box-shadow: var(--shadow); }
.proj-card.is-hidden { display: none; }
.pv-visual {
  position: relative; height: 176px; overflow: hidden;
  background: linear-gradient(150deg, #DCEDE1, #C2DBC9);
  border-bottom: 1px solid var(--line-2);
}
.pv-visual::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(15,107,93,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(15,107,93,.06) 1px, transparent 1px);
  background-size: 26px 26px;
}
.pv-visual svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.pv-badge {
  position: absolute; z-index: 2; top: 12px; left: 12px; padding: 4px 11px; border-radius: 999px;
  font-size: 11px; font-weight: 600; letter-spacing: .04em;
  background: rgba(255,255,255,.92); border: 1px solid rgba(15,107,93,.18); color: var(--teal);
  backdrop-filter: blur(4px);
}
.pv-img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.proj-body { padding: 22px 22px 24px; }
.proj-body h3 { font-size: 17.5px; margin-bottom: 10px; }
.proj-desc { font-size: 13.5px; color: var(--muted-2); line-height: 1.7; min-height: 68px; }
.proj-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px 0 0; margin-top: 6px; border-top: 1px solid var(--line-2); }
.proj-metrics div { text-align: center; }
.proj-metrics .pm-k { display: block; font-size: 11px; color: var(--muted-2); margin-bottom: 3px; }
.proj-metrics .pm-v { font-size: 14.5px; font-weight: 650; color: var(--teal-l); }

.cta-inline {
  margin-top: 54px; padding: 34px 40px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap;
  background: linear-gradient(120deg, #0F6B5D, #0B5449);
  border: 1px solid transparent;
}
.cta-inline p { font-size: 17px; margin: 0; max-width: 620px; color: #FFFFFF; }
.cta-inline .btn-primary { background: linear-gradient(135deg, var(--gold-l), var(--gold)); color: #3A2A08; box-shadow: 0 10px 24px rgba(0,0,0,.20); }

/* ===========================================================
   ABOUT
   =========================================================== */
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 54px; align-items: start; }
.about-copy p { color: var(--muted); font-size: 15.5px; }
.cred-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 30px; }
.cred {
  padding: 20px; border-radius: var(--radius-sm);
  background: #FFFFFF; border: 1px solid var(--line-2);
  transition: all .3s var(--ease);
}
.cred:hover { border-color: rgba(15,107,93,.3); transform: translateY(-3px); }
.cred-ic { font-size: 11px; letter-spacing: .1em; color: var(--teal); font-weight: 700; }
.cred b { display: block; font-size: 15px; margin: 6px 0 4px; }
.cred small { font-size: 12.5px; color: var(--muted-2); line-height: 1.6; }

.map-card {
  padding: 26px; border-radius: var(--radius);
  background: #FFFFFF;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.map-title { font-size: 17px; }
.map-sub { font-size: 13px; color: var(--muted-2); margin: 6px 0 18px; }
.th-map { width: 100%; height: auto; }
.map-shape { stroke: #0F6B5D; stroke-width: 1.6; filter: drop-shadow(0 0 10px rgba(15,107,93,.18)); }
.map-grid path { stroke: rgba(15,107,93,.12); stroke-width: 1; fill: none; }
.map-node circle { fill: var(--teal-l); filter: drop-shadow(0 0 6px rgba(201,162,74,.8)); animation: pulseNode 2.6s infinite; }
.map-node text { fill: var(--muted); font-size: 15px; font-family: var(--font); }
@keyframes pulseNode { 0%,100% { opacity: 1; } 50% { opacity: .45; } }

.timeline { margin-top: 96px; }
.tl-title { font-size: clamp(20px, 2.4vw, 28px); margin-bottom: 34px; }
.tl-wrap { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; position: relative; padding-top: 26px; }
.tl-wrap::before { content: ""; position: absolute; top: 32px; left: 0; right: 0; height: 1px; background: var(--line); }
.tl-item { position: relative; padding: 0 16px 0 0; }
.tl-item::before {
  content: ""; position: absolute; top: -33px; left: 0; width: 12px; height: 12px; border-radius: 50%;
  background: var(--g-950); border: 2px solid var(--teal); z-index: 2;
  transition: all .3s var(--ease);
}
.tl-item:hover::before { background: var(--teal); box-shadow: 0 0 0 5px rgba(15,107,93,.18); }
.tl-year { font-size: 22px; font-weight: 700; color: var(--teal-l); font-variant-numeric: tabular-nums; }
.tl-text { font-size: 13px; color: var(--muted-2); line-height: 1.6; margin-top: 6px; }

.team { margin-top: 88px; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.team-card {
  padding: 26px 22px; border-radius: var(--radius); text-align: left;
  background: var(--card); border: 1px solid var(--line);
  transition: all .35s var(--ease);
}
.team-card:hover { transform: translateY(-5px); border-color: rgba(31,138,134,.28); }
.team-av {
  width: 50px; height: 50px; border-radius: 14px; margin-bottom: 16px;
  display: grid; place-items: center; font-size: 15px; font-weight: 700; letter-spacing: .04em;
  background: linear-gradient(140deg, var(--gold-l), var(--gold)); color: #3A2A08;
}
.team-av img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.team-card h4 { font-size: 15.5px; }
.team-role { font-size: 12.5px; color: var(--teal-l); margin: 4px 0 10px; }
.team-note { font-size: 12.8px; color: var(--muted-2); line-height: 1.65; }

/* ===========================================================
   NEWS
   =========================================================== */
.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.news-card {
  display: flex; gap: 22px; padding: 24px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line);
  transition: all .35s var(--ease);
}
.news-card:hover { transform: translateY(-5px); background: var(--card-hover); border-color: rgba(15,107,93,.28); }
.news-date {
  flex-shrink: 0; width: 72px; height: 72px; border-radius: 12px; display: grid; place-content: center;
  text-align: center; background: linear-gradient(150deg, rgba(31,169,140,.2), rgba(31,169,140,.05));
  border: 1px solid var(--line-2);
}
.news-date b { display: block; font-size: 22px; font-weight: 700; color: var(--text); line-height: 1; font-variant-numeric: tabular-nums; }
.news-date span { font-size: 11px; color: var(--muted-2); }
.news-thumb { width: 100%; height: 148px; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 14px; }
.news-body h3 { font-size: 16.5px; margin-bottom: 8px; line-height: 1.45; }
.news-body p { font-size: 13.5px; color: var(--muted-2); line-height: 1.7; margin-bottom: 10px; }
.news-meta { display: flex; align-items: center; gap: 14px; font-size: 12px; color: var(--muted-2); }
.news-meta .nm-cat { color: var(--teal-l); }

/* ===========================================================
   FAQ
   =========================================================== */
.faq-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.faq-layout .section-desc { margin-bottom: 24px; }
.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-q {
  width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
  padding: 22px 0; background: none; border: 0; cursor: pointer; text-align: left;
  font-size: 16.5px; font-weight: 600; color: var(--text); transition: color .3s;
}
.faq-q:hover { color: var(--teal-l); }
.faq-q i {
  flex-shrink: 0; position: relative; width: 22px; height: 22px; margin-top: 4px;
  border-radius: 50%; border: 1px solid var(--line);
  transition: all .35s var(--ease);
}
.faq-q i::before, .faq-q i::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 9px; height: 1.4px;
  background: var(--teal-l); transform: translate(-50%, -50%); transition: transform .35s var(--ease);
}
.faq-q i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.is-open .faq-q i { background: rgba(15,107,93,.16); border-color: rgba(15,107,93,.4); }
.faq-item.is-open .faq-q i::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .45s var(--ease); }
.faq-item.is-open .faq-a { max-height: 400px; }
.faq-a p { padding: 0 44px 22px 0; font-size: 14.8px; color: var(--muted); line-height: 1.85; margin: 0; }

/* ===========================================================
   CONTACT
   =========================================================== */
.section-contact { background: linear-gradient(180deg, #DCE8DF, #E4EFE6); border-top: 1px solid var(--line-2); }
.contact-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 56px; align-items: start; }
.ct-list { margin-top: 30px; display: grid; gap: 16px; }
.ct-list li { display: flex; align-items: flex-start; gap: 12px; }
.ct-ic { color: var(--teal); font-size: 13px; margin-top: 4px; }
.ct-list b { display: block; font-size: 14.5px; }
.ct-list small { font-size: 12.8px; color: var(--muted-2); }

.contact-form {
  position: relative; padding: 34px 34px 30px; border-radius: var(--radius);
  background: #FFFFFF;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.cf-title { font-size: 19px; margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-size: 12.8px; color: var(--muted); margin-bottom: 7px; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm);
  background: #FFFFFF; border: 1px solid var(--line);
  color: var(--text); font-size: 14.5px; outline: none; transition: all .28s var(--ease);
}
.field textarea { resize: vertical; font-family: var(--font); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); opacity: .7; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: rgba(15,107,93,.55); box-shadow: 0 0 0 3px rgba(15,107,93,.12); background: #FFFFFF;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 20px, calc(100% - 13px) 20px; background-size: 5px 5px; background-repeat: no-repeat; cursor: pointer; }
.field.has-error input, .field.has-error textarea { border-color: #E06C6C; box-shadow: 0 0 0 3px rgba(224,108,108,.12); }
.field .err { display: block; font-size: 11.8px; color: #E98C8C; margin-top: 5px; }
.form-note { font-size: 12px; color: var(--muted-2); margin: 14px 0 0; text-align: center; }

.form-success {
  position: absolute; inset: 0; display: none; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px; text-align: center;
  background: #FFFFFF;
  border-radius: var(--radius); padding: 30px;
}
.form-success.is-show { display: flex; animation: fadeIn .4s var(--ease); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.fs-icon {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  font-size: 26px; color: #3A2A08; margin-bottom: 10px;
  background: linear-gradient(135deg, var(--teal-l), var(--teal));
}
.form-success b { font-size: 19px; }
.form-success small { font-size: 13.5px; color: var(--muted); }

/* ===========================================================
   FOOTER
   =========================================================== */
.site-footer { padding: 72px 0 34px; background: #DCE8DF; border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: 1.1fr 2fr; gap: 48px; padding-bottom: 44px; border-bottom: 1px solid var(--line-2); }
.footer-brand p { font-size: 14px; color: var(--muted); margin-top: 14px; }
.ft-muted { font-size: 12.5px !important; color: var(--muted-2) !important; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.footer-cols h4 { font-size: 14px; margin-bottom: 16px; color: var(--teal-l); letter-spacing: .04em; }
.footer-cols ul { display: grid; gap: 10px; }
.footer-cols li { font-size: 13.5px; color: var(--muted); }
.footer-cols a:hover { color: var(--text); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-top: 22px; }
.footer-bottom p { font-size: 12.5px; color: var(--muted-2); margin: 0; }
.ft-note { color: var(--muted-2); opacity: .75; }

/* ===========================================================
   MODAL
   =========================================================== */
.modal { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 24px; }
.modal.is-open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(6,50,43,.55); backdrop-filter: blur(6px); animation: fadeIn .3s; }
.modal-panel {
  position: relative; z-index: 1; width: min(100%, 640px); max-height: 88vh; overflow-y: auto;
  padding: 38px 40px 32px; border-radius: 20px;
  background: #FFFFFF;
  border: 1px solid rgba(15,107,93,.18); box-shadow: var(--shadow);
  animation: modalIn .4s var(--ease);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(22px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-close {
  position: absolute; top: 16px; right: 18px; width: 34px; height: 34px; border-radius: 50%;
  background: #F1F7F3; border: 1px solid var(--line); cursor: pointer;
  font-size: 20px; line-height: 1; color: var(--muted); transition: all .3s;
}
.modal-close:hover { color: var(--teal); background: #E4F0E7; }
.modal-icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(140deg, rgba(31,169,140,.25), rgba(31,138,134,.08));
  border: 1px solid rgba(31,138,134,.25); color: var(--cyan);
}
.modal-icon svg { width: 28px; height: 28px; }
.modal-panel h3 { font-size: 24px; margin-bottom: 12px; }
.modal-panel > p { font-size: 15px; color: var(--muted); border-bottom: 1px solid var(--line-2); padding-bottom: 20px; margin-bottom: 20px; }
.modal-body li {
  position: relative; padding-left: 26px; margin-bottom: 12px; font-size: 14.8px; color: var(--muted); line-height: 1.75;
}
.modal-body li::before {
  content: ""; position: absolute; left: 4px; top: 11px; width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal); box-shadow: 0 0 0 3px rgba(15,107,93,.16);
}
.modal-spec { margin-top: 24px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.modal-spec h4 { grid-column: 1/-1; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }
.ms-item { display: flex; justify-content: space-between; gap: 12px; padding: 11px 14px; border-radius: var(--radius-sm); background: #EFF6F0; border: 1px solid var(--line-2); font-size: 13.5px; }
.ms-item span { color: var(--muted-2); }
.ms-item b { color: var(--teal-l); }
.modal-foot { margin-top: 26px; }

/* 回到顶部 */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 880;
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  background: var(--teal); border: 1px solid transparent; color: #FFFFFF;
  display: grid; place-items: center; opacity: 0; visibility: hidden;
  backdrop-filter: blur(8px); transition: all .35s var(--ease);
}
.to-top.is-show { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--gold); border-color: transparent; color: #3A2A08; transform: translateY(-3px); }

/* ===========================================================
   入场动画
   =========================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ===========================================================
   响应式
   =========================================================== */
@media (max-width: 1080px) {
  .service-grid, .project-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .stat-cell:nth-child(3) { border-right: 0; }
  .stat-cell:nth-child(-n+3) { border-bottom: 1px solid var(--line-2); }
  .process-list { grid-template-columns: repeat(3, 1fr); gap: 22px 18px; }
  .tl-wrap { grid-template-columns: repeat(3, 1fr); gap: 26px 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 60px; }
  .hero-visual { max-width: 520px; }
  .about-grid, .faq-layout, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .container { width: min(100% - 36px, var(--maxw)); }
  .section { padding: 76px 0; }
  .main-nav {
    position: fixed; inset: 78px 0 auto; flex-direction: column; gap: 0; padding: 16px 20px 24px;
    background: rgba(233,241,234,.98); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: all .3s var(--ease);
  }
  .main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .main-nav a { padding: 13px 6px; font-size: 15.5px; border-bottom: 1px solid var(--line-2); border-radius: 0; }
  .main-nav a.is-active::after { display: none; }
  .nav-toggle { display: flex; }
  .hero { padding-top: 130px; }
  .hero-inner { padding-bottom: 64px; }
  .float-card-1 { left: 0; }
  .float-card-2 { right: 0; }
  .client-strip { flex-direction: column; align-items: flex-start; gap: 12px; }
  .cred-grid { grid-template-columns: 1fr; }
  .news-grid, .modal-spec { grid-template-columns: 1fr; }
  .news-card { flex-direction: column; gap: 14px; }
  .cta-inline { padding: 26px 24px; }
  .to-top { right: 14px; bottom: 14px; }
}

@media (max-width: 640px) {
  .service-grid, .project-grid, .team-grid, .form-row, .footer-cols { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-cell { border-bottom: 1px solid var(--line-2); }
  .stat-cell:nth-child(2n) { border-right: 0; }
  .hero-trust { gap: 16px; }
  .hero-trust li { padding-left: 11px; }
  .process-list { grid-template-columns: 1fr; }
  .tl-wrap { grid-template-columns: repeat(2, 1fr); }
  .dash-card { padding: 20px; }
  .dash-value strong { font-size: 36px; }
  .contact-form { padding: 24px 20px; }
  .modal-panel { padding: 30px 22px 24px; }
  .section-title { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
