@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@600;700&display=swap");

/* ===== 万工聘 · 墨蓝香槟金视觉系统 ===== */
:root {
  --brand-orange: #b8894c;
  --brand-gold: #c4a574;
  --brand-gold-soft: #e8d7b8;
  --brand-blue: #1e3d5c;
  --brand-blue-dark: #12263a;
  --brand-blue-deep: #0a1522;
  --ink: #0c1826;
  --accent-red: #b8894c;
  --text: #1a2430;
  --text-muted: #6a7380;
  --bg: #f4f0ea;
  --bg-white: #fbf8f3;
  --paper: #f7f3ed;
  --border: rgba(184, 137, 76, 0.18);
  --shadow: 0 16px 48px rgba(12, 24, 38, 0.07);
  --shadow-lg: 0 28px 64px rgba(12, 24, 38, 0.12);
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Noto Serif SC", "Noto Sans SC", "Songti SC", serif;
}

body {
  background:
    radial-gradient(ellipse at 8% -10%, rgba(196, 165, 116, 0.14), transparent 42%),
    radial-gradient(ellipse at 100% 0%, rgba(30, 61, 92, 0.07), transparent 46%),
    var(--bg);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.022;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.site-header {
  background: rgba(10, 21, 34, 0.72);
  backdrop-filter: blur(22px) saturate(1.35);
  border-bottom: 1px solid rgba(196, 165, 116, 0.16);
  transition: box-shadow 0.35s var(--ease), background 0.35s var(--ease);
}

.site-header.scrolled {
  background: rgba(10, 21, 34, 0.92);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}

.nav a {
  position: relative;
  color: rgba(247, 243, 237, 0.78);
  background: transparent !important;
}

.nav a:hover,
.nav a.active {
  color: var(--brand-gold-soft);
  background: transparent !important;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-gold), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s var(--ease);
}

.nav a:hover::after,
.nav a.active::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(420px, 58vw, 620px);
  background:
    radial-gradient(ellipse at 72% 18%, rgba(212, 176, 122, 0.22), transparent 38%),
    radial-gradient(ellipse at 8% 80%, rgba(196, 165, 116, 0.08), transparent 40%),
    linear-gradient(128deg, #070e16 0%, #101c2c 52%, #182738 100%);
}

.hero.has-photo {
  background-color: #070e16;
  background-size: cover;
  background-position: 22% center;
  background-repeat: no-repeat;
}

.hero.has-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(to left, rgba(7, 14, 22, 0.96) 0%, rgba(7, 14, 22, 0.82) 12%, rgba(7, 14, 22, 0.42) 26%, transparent 44%),
    linear-gradient(105deg, rgba(7, 14, 22, 0.92) 0%, rgba(10, 20, 32, 0.86) 52%, rgba(8, 16, 26, 0.84) 100%),
    linear-gradient(to top, rgba(7, 14, 22, 0.78), transparent 52%);
}

.hero::after {
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(232, 215, 184, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 215, 184, 0.14) 1px, transparent 1px);
}

.hero-inner {
  animation: heroIn 0.9s var(--ease) both;
  padding: 88px 0 108px;
  max-width: 760px;
}

/* 子页 Hero：双栏布局 + 亮点标签 */
.page-hero {
  min-height: clamp(360px, 48vw, 520px);
}

.page-hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
  gap: 40px 48px;
  align-items: center;
  padding: 56px 0 64px;
  position: relative;
  z-index: 1;
}

.page-hero-main {
  padding: 0;
  max-width: none;
}

.page-hero-main .lead {
  max-width: 38em;
}

.page-hero-panel {
  display: grid;
  gap: 12px;
}

.page-hero-stat {
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(196, 165, 116, 0.32);
  backdrop-filter: blur(10px);
}

.page-hero-stat .val {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 28px);
  color: var(--brand-gold-soft);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.page-hero-stat .lbl {
  font-size: 13px;
  color: rgba(251, 247, 240, 0.78);
  margin-top: 4px;
  line-height: 1.5;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 22px;
}

.hero-highlights span {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(196, 165, 116, 0.38);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(251, 247, 240, 0.9);
  font-size: 13px;
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
}

.page-hero + .stats {
  margin-top: -36px;
}

.page-hero h1 {
  color: #fbf7f0;
  font-size: clamp(30px, 4.5vw, 48px);
  line-height: 1.26;
}

.page-hero h1::after {
  content: "";
  display: block;
  width: 72px;
  height: 1px;
  margin-top: 18px;
  background: linear-gradient(90deg, var(--brand-gold), transparent);
}

.page-hero .hero-actions {
  margin-top: 0;
}

.hero .eyebrow,
.page-hero .eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.28em;
  color: var(--brand-gold);
  margin-bottom: 18px;
  font-weight: 500;
  text-transform: none;
}

.hero h1,
.section-title h2,
.intro-block h2,
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero h1 {
  color: #fbf7f0;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.28;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.hero h1::after {
  content: "";
  display: block;
  width: 72px;
  height: 1px;
  margin-top: 22px;
  background: linear-gradient(90deg, var(--brand-gold), transparent);
}

.hero h1 em {
  color: var(--brand-gold-soft);
  font-style: normal;
}

.hero .lead {
  color: rgba(251, 247, 240, 0.78);
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.9;
  max-width: 34em;
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

.btn {
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.btn-primary {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent 42%),
    linear-gradient(135deg, #e2c48a, #b8894c 55%, #9a7040);
  color: #1a140c;
  box-shadow:
    0 12px 28px rgba(154, 112, 64, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn-primary:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.36), transparent 42%),
    linear-gradient(135deg, #ebcfa0, #c49655 55%, #a87c48);
  box-shadow: 0 16px 36px rgba(154, 112, 64, 0.4);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(232, 215, 184, 0.45);
  color: #f4ead6;
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(196, 165, 116, 0.12);
  border-color: var(--brand-gold);
}

.btn-outline {
  border: 1px solid var(--brand-gold);
  color: var(--brand-blue-dark);
  background: transparent;
}

.btn-outline:hover {
  background: var(--brand-blue-dark);
  color: var(--brand-gold-soft);
  border-color: var(--brand-blue-dark);
}

.stats-grid {
  background: rgba(251, 248, 243, 0.92);
  border: 1px solid rgba(196, 165, 116, 0.28);
  backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 20px 50px rgba(12, 24, 38, 0.12);
  border-radius: 20px;
}

.stat-item {
  border-right-color: rgba(184, 137, 76, 0.16);
}

.stat-num {
  background: linear-gradient(180deg, #d4b07a, #9a7040);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: var(--font-display);
}

.card {
  background: var(--bg-white);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
  border: 1px solid rgba(184, 137, 76, 0.14);
  box-shadow: var(--shadow);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(184, 137, 76, 0.4);
}

.card h3 {
  color: var(--brand-blue-dark);
}

.section-alt {
  background: var(--paper);
}

.section-blue {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(196, 165, 116, 0.12), transparent 50%),
    linear-gradient(165deg, #0c1826 0%, #163044 100%);
}

.section-title h2 {
  letter-spacing: 0.08em;
  color: var(--ink);
}

.section-blue .section-title h2 {
  color: #f7f3ed;
}

.title-line {
  height: 2px;
  width: 56px;
  background: linear-gradient(90deg, var(--brand-blue-dark), var(--brand-gold));
}

/* Metric / glass visual cards */
.metric-card {
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  background: linear-gradient(145deg, rgba(232, 241, 252, 0.95), rgba(253, 242, 230, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
  min-height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  position: relative;
  overflow: hidden;
}

.metric-card::before {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27, 79, 138, 0.12), transparent 70%);
  top: -40px;
  right: -30px;
  pointer-events: none;
}

.metric-card .m-value {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  color: var(--brand-blue);
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.metric-card .m-label {
  font-size: 14px;
  color: var(--text-muted);
}

.intro-metrics {
  align-items: stretch;
}

.metric-pair {
  min-height: 0;
  gap: 28px;
  padding: 40px 32px;
}

.metric-pair > div + div {
  padding-top: 22px;
  border-top: 1px solid rgba(27, 79, 138, 0.12);
  width: 100%;
}

.metric-card.photo {
  padding: 0;
  min-height: 260px;
  background-size: cover;
  background-position: center;
}

.metric-card.photo .metric-overlay {
  width: 100%;
  height: 100%;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 28px;
  background: linear-gradient(160deg, rgba(6, 24, 41, 0.55), rgba(27, 79, 138, 0.45));
  color: #fff;
}

.metric-card.photo .m-value { color: #ffd9a8; }
.metric-card.photo .m-label { color: rgba(255, 255, 255, 0.88); }

/* Visual media block */
.media-frame {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  min-height: 260px;
  background: #dfe8f3 center/cover no-repeat;
  position: relative;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 260px;
  transition: transform 0.8s var(--ease);
}

.media-frame:hover img {
  transform: scale(1.04);
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  position: relative;
}

.flow-grid .flow-node {
  max-width: none;
  min-width: 0;
}

.flow-grid .flow-node::after {
  content: "→";
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brand-gold);
  font-size: 14px;
  opacity: 0.7;
  pointer-events: none;
}

.flow-grid .flow-node:nth-child(4n)::after,
.flow-grid .flow-node:last-child::after {
  content: none;
}

@media (max-width: 980px) {
  .flow-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .flow-grid .flow-node:nth-child(4n)::after {
    content: "→";
  }
  .flow-grid .flow-node:nth-child(2n)::after,
  .flow-grid .flow-node:last-child::after {
    content: none;
  }
}

@media (max-width: 560px) {
  .flow-grid {
    grid-template-columns: 1fr;
  }
  .flow-grid .flow-node::after {
    content: none !important;
  }
}

/* ===== Flowcharts ===== */
.flow-chart {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  justify-content: center;
  align-items: stretch;
}

.flow-node {
  background: #fff;
  border-radius: 14px;
  padding: 18px 14px;
  text-align: center;
  min-width: 118px;
  max-width: 150px;
  flex: 1 1 118px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.flow-node:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.flow-node .fn {
  width: 36px;
  height: 36px;
  margin: 0 auto 10px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(145deg, var(--brand-blue), #2d6cb0);
}

.flow-node h4 {
  font-size: 13px;
  margin-bottom: 4px;
  color: var(--brand-blue-dark);
}

.flow-node p {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.45;
}

.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  flex: 0 0 28px;
  color: var(--brand-gold);
  font-size: 18px;
  opacity: 0.85;
}

.flow-vertical {
  display: grid;
  gap: 0;
  max-width: 720px;
  margin: 0 auto;
}

.flow-v-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  position: relative;
}

.flow-v-item:not(:last-child) .flow-v-rail::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 44px;
  bottom: -8px;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, var(--brand-blue), var(--brand-gold));
  opacity: 0.45;
}

.flow-v-rail {
  position: relative;
  display: flex;
  justify-content: center;
  padding-top: 4px;
}

.flow-v-rail .fn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--brand-blue-dark), var(--brand-blue));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 12px;
  z-index: 1;
  box-shadow: 0 6px 16px rgba(27, 79, 138, 0.35);
}

.flow-v-body {
  background: #fff;
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.3s var(--ease);
}

.flow-v-body:hover {
  transform: translateX(4px);
}

.flow-v-body h4 {
  font-size: 15px;
  margin-bottom: 4px;
  color: var(--brand-blue-dark);
}

.flow-v-body p {
  font-size: 13px;
  color: var(--text-muted);
}

/* Triangle / platform flow */
.platform-flow {
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 10px;
  justify-items: center;
  padding: 28px 20px;
  border-radius: 20px;
  background: linear-gradient(160deg, #e8f1fc, #fdf6ee);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow);
  text-align: center;
}

.pf-node {
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-blue-dark), var(--brand-blue));
  box-shadow: 0 8px 20px rgba(27, 79, 138, 0.3);
  animation: pulseSoft 2.8s ease-in-out infinite;
}

.pf-node.alt {
  background: linear-gradient(135deg, #b8732e, var(--brand-orange));
  animation-delay: 0.6s;
}

.pf-mid {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
}

.pf-mid .hub {
  padding: 12px 20px;
  border-radius: 12px;
  background: #fff;
  color: var(--brand-blue-dark);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  font-weight: 800;
}

.pf-mid .arrow {
  color: var(--brand-gold);
  font-size: 18px;
  animation: slideHint 1.6s ease-in-out infinite;
}

@keyframes pulseSoft {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

@keyframes slideHint {
  0%, 100% { transform: translateX(0); opacity: 0.6; }
  50% { transform: translateX(4px); opacity: 1; }
}

/* Relation triangle enhanced */
.relation-node {
  transition: transform 0.35s var(--ease);
}

.relation-node:hover {
  transform: translateY(-6px);
}

/* Case with real photo */
.case-card {
  grid-template-columns: 168px 1fr;
  border: 1px solid rgba(184, 137, 76, 0.14);
  background: var(--bg-white);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.case-thumb {
  background-size: cover;
  background-position: center;
  min-height: 160px;
  color: transparent;
  font-size: 0;
}

.case-thumb.fallback {
  font-size: 36px;
  color: var(--brand-blue);
}

/* Industry tiles with photos */
.industry-tile .pic {
  height: 130px;
  padding: 0;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  font-size: 0;
}

.industry-tile .pic.has-img {
  background-color: #dfe8f3;
}

/* Reveal animations */
.reveal-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal-up.in {
  opacity: 1;
  transform: translateY(0);
}

.reveal-up.d1 { transition-delay: 0.08s; }
.reveal-up.d2 { transition-delay: 0.16s; }
.reveal-up.d3 { transition-delay: 0.24s; }
.reveal-up.d4 { transition-delay: 0.32s; }

.service-tiles .card {
  overflow: hidden;
}

.service-tiles .card .card-cover {
  height: 168px;
  margin: -24px -24px 16px;
  position: relative;
  overflow: hidden;
  background: #0a2748;
}

.service-tiles .card .card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.6s var(--ease);
}

.service-tiles .card:hover .card-cover img {
  transform: scale(1.05);
}

.service-tiles .card .card-cover::after {
  content: none;
}

/* Process steps legacy polish */
.process-step {
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.process-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.cta-bar {
  background:
    radial-gradient(ellipse at 80% 50%, rgba(196, 165, 116, 0.16), transparent 50%),
    linear-gradient(120deg, #0a1522, #163044);
  border-top: 1px solid rgba(196, 165, 116, 0.2);
}

.cta-phone {
  color: var(--brand-gold) !important;
  transition: transform 0.3s var(--ease);
  display: inline-block;
  font-family: var(--font-display);
}

.cta-phone:hover {
  transform: scale(1.04);
}

.site-footer {
  background: #070f18;
  border-top: 1px solid rgba(196, 165, 116, 0.12);
}

.footer-col a:hover {
  color: var(--brand-gold);
}

.page-hero {
  background:
    radial-gradient(ellipse at 72% 18%, rgba(196, 165, 116, 0.10), transparent 42%),
    linear-gradient(128deg, #070e16 0%, #101c2c 55%, #0c1722 100%);
}

.page-hero .eyebrow {
  color: var(--brand-gold);
}

.metric-card {
  background: linear-gradient(160deg, #fbf8f3 0%, #f0e6d4 100%);
  border: 1px solid rgba(184, 137, 76, 0.22);
}

.metric-card .m-value {
  color: var(--brand-blue-dark);
  font-family: var(--font-display);
}

.platform-flow,
.eco-flow {
  background: linear-gradient(160deg, #f4efe6, #e8eef3);
  border: 1px solid rgba(184, 137, 76, 0.18);
}

.hl {
  color: var(--brand-orange);
}

.tab-btn.active {
  background: var(--brand-blue-dark);
  border-color: var(--brand-blue-dark);
}

.cert-nav a {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(184, 137, 76, 0.22);
}

.cert-nav a:hover {
  background: #12263a;
  border-color: #12263a;
  color: #e8d7b8;
}

.cert-group > h3 {
  font-family: var(--font-display);
}

.cert-card {
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.cert-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.info-table th {
  background: #efe8dc;
}

.contact-box {
  background: linear-gradient(160deg, #0c1826, #1e3d5c);
  border: 1px solid rgba(196, 165, 116, 0.28);
}

.contact-box a {
  color: var(--brand-gold-soft);
}

.flow-node .fn,
.flow-v-rail .fn {
  background: linear-gradient(145deg, #12263a, #1e3d5c);
}

.pf-node {
  background: linear-gradient(135deg, #12263a, #1e3d5c);
}

.pf-node.alt {
  background: linear-gradient(135deg, #9a7040, #c4a574);
  color: #1a140c;
}

.card-icon {
  background: linear-gradient(145deg, #efe8dc, #e8d7b8);
  color: var(--brand-blue-dark);
}

/* Relation / eco diagrams */
.relation-flow {
  margin-top: 8px;
}

.relation-flow .relation {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
  justify-content: center;
}

.relation-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-gold);
  font-size: 22px;
  font-weight: 700;
  padding: 0 4px;
  animation: slideHint 1.8s ease-in-out infinite;
}

.relation-note {
  text-align: center;
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 14px;
}

.eco-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: stretch;
  padding: 28px 20px;
  border-radius: 20px;
  background: linear-gradient(160deg, #e8f1fc, #fdf6ee);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow);
}

.eco-side {
  background: #fff;
  border-radius: 16px;
  padding: 22px 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.eco-side h3 {
  color: var(--brand-blue-dark);
  margin-bottom: 12px;
  text-align: center;
}

.eco-side.alt h3 {
  color: var(--brand-orange);
}

.eco-side ul {
  margin: 0;
  padding-left: 18px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

.eco-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 160px;
}

.eco-hub {
  padding: 18px 22px;
  border-radius: 16px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-blue-dark), var(--brand-blue));
  box-shadow: 0 10px 28px rgba(27, 79, 138, 0.35);
  text-align: center;
  animation: pulseSoft 2.8s ease-in-out infinite;
}

.eco-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.eco-links span {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-blue);
  background: rgba(255, 255, 255, 0.85);
  border: 1px dashed rgba(27, 79, 138, 0.25);
  border-radius: 999px;
  padding: 8px 10px;
}

.page-hero.has-photo .hero-inner {
  position: relative;
  z-index: 1;
}

.hero.has-photo .hero-inner {
  position: relative;
  z-index: 1;
}

@media (max-width: 980px) {
  .page-hero-shell {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 48px 0 56px;
  }

  .page-hero-panel {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-card {
    grid-template-columns: 1fr;
  }

  .flow-arrow {
    width: 100%;
    height: 24px;
    transform: rotate(90deg);
    flex-basis: 100%;
  }

  .flow-chart {
    flex-direction: column;
    align-items: center;
  }

  .flow-node {
    max-width: 280px;
    width: 100%;
  }

  .eco-flow {
    grid-template-columns: 1fr;
  }

  .relation-arrow {
    width: 100%;
    transform: rotate(90deg);
  }
}

@media (max-width: 640px) {
  .page-hero-panel {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal-up {
    opacity: 1 !important;
    transform: none !important;
  }
}
