/* ============================================================
   JH Trade — clean-tech deep-navy theme
   ============================================================ */

:root {
  --navy-900: #06152b;
  --navy-800: #0a1e3a;
  --navy-700: #0e2a4d;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --cyan-400: #22d3ee;
  --cyan-300: #67e8f9;

  --ink: #0d1b2a;
  --ink-2: #33465b;
  --muted: #5b6b7d;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f4f8fc;
  --bg-tint: #eef4fb;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(13, 27, 42, .06), 0 4px 14px rgba(13, 27, 42, .05);
  --shadow-md: 0 8px 30px rgba(13, 38, 71, .10);
  --shadow-lg: 0 24px 60px rgba(8, 27, 54, .18);
  --grad: linear-gradient(120deg, var(--cyan-400), var(--blue-600));
  --container: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.02em; font-weight: 700; }
p { margin: 0; }

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

/* ---- Buttons ---- */
.btn {
  --pad: 12px 22px;
  display: inline-flex; align-items: center; gap: 9px;
  padding: var(--pad);
  border-radius: 999px;
  font-weight: 600; font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 24px rgba(37, 99, 235, .35); }
.btn-primary:hover { box-shadow: 0 12px 30px rgba(37, 99, 235, .45); transform: translateY(-2px); }
.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); }
.btn-sm { --pad: 9px 16px; font-size: 14px; background: var(--bg-tint); color: var(--blue-600); }
.btn-sm:hover { background: #e2ecfa; }
.btn-block { width: 100%; justify-content: center; }
.btn-ico { width: 17px; height: 17px; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  transition: background .3s, box-shadow .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.header-inner { display: flex; align-items: center; gap: 20px; height: 72px; }

.logo { display: inline-flex; align-items: center; gap: 11px; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 11px;
  background: var(--grad); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 15px; letter-spacing: .02em;
  box-shadow: 0 6px 16px rgba(37, 99, 235, .35);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text strong { font-size: 17px; letter-spacing: -.01em; }
.logo-text em { font-style: normal; font-size: 11.5px; color: var(--muted); letter-spacing: .02em; }
.site-header:not(.scrolled) .logo-text strong,
.site-header:not(.scrolled) .logo-text em { color: #fff; }
.site-header:not(.scrolled) .logo-text em { color: rgba(255,255,255,.75); }

.main-nav { display: flex; gap: 4px; margin-inline: auto; }
.nav-link {
  position: relative; padding: 8px 14px; border-radius: 8px;
  font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, .9);
  transition: color .2s, background .2s;
}
.site-header.scrolled .nav-link { color: var(--ink-2); }
.nav-link:hover { color: var(--cyan-300); }
.site-header.scrolled .nav-link:hover { color: var(--blue-600); background: var(--bg-tint); }
.nav-link.is-active { color: #fff; }
.site-header.scrolled .nav-link.is-active { color: var(--blue-600); }
.nav-link.is-active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
  border-radius: 2px; background: var(--grad);
}

.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
  min-width: 46px; height: 34px; padding: 0 12px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .35); background: rgba(255,255,255,.08);
  color: #fff; font-weight: 600; font-size: 13px; cursor: pointer; transition: .2s;
}
.lang-toggle:hover { background: rgba(255,255,255,.18); }
.site-header.scrolled .lang-toggle { color: var(--blue-600); border-color: var(--line); background: #fff; }
.site-header.scrolled .lang-toggle:hover { background: var(--bg-tint); }

.menu-btn { display: none; width: 42px; height: 38px; border: 0; background: transparent; cursor: pointer; padding: 9px 8px; }
.menu-btn span { display: block; height: 2px; border-radius: 2px; background: #fff; transition: .3s var(--ease); }
.menu-btn span + span { margin-top: 5px; }
.site-header.scrolled .menu-btn span { background: var(--ink); }
body.nav-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .menu-btn span:nth-child(2) { opacity: 0; }
body.nav-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none; flex-direction: column;
  background: var(--navy-800); border-top: 1px solid rgba(255,255,255,.1);
}
.mobile-nav a { padding: 15px 24px; color: #fff; font-size: 16px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.mobile-nav a:hover { background: rgba(255, 255, 255, .06); color: var(--cyan-300); }
body.nav-open .mobile-nav { display: flex; }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; color: #fff; padding-top: 40px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 15% 0%, rgba(10, 30, 58, .55), transparent 60%),
    linear-gradient(180deg, rgba(6, 21, 43, .78) 0%, rgba(6, 21, 43, .70) 45%, rgba(6, 21, 43, .92) 100%);
}
.hero-grid {
  position: absolute; inset: 0; opacity: .5;
  background-image:
    linear-gradient(rgba(103, 232, 249, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 232, 249, .07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(80% 60% at 50% 30%, #000 40%, transparent 100%);
}
.hero-inner { position: relative; padding: 72px 24px 120px; max-width: 900px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--cyan-300); margin-bottom: 22px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan-400); box-shadow: 0 0 0 4px rgba(34, 211, 238, .22); }

.hero-title { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 800; letter-spacing: -.03em; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { margin-top: 22px; font-size: clamp(1rem, 1.6vw, 1.22rem); color: rgba(233, 240, 250, .86); max-width: 640px; }
.hero-cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }

.hero-stats { position: relative; background: linear-gradient(180deg, transparent, rgba(6, 21, 43, .0)); }
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  margin-top: 8px; padding: 26px 24px 44px;
}
.stat { display: flex; flex-direction: column; gap: 4px; position: relative; padding-left: 18px; }
.stat::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 3px; border-radius: 3px; background: var(--grad); }
.stat-value { font-size: clamp(1.6rem, 3vw, 2.35rem); font-weight: 800; letter-spacing: -.02em; }
.stat-label { font-size: 13.5px; color: rgba(233, 240, 250, .72); }

/* ============================================================
   Sections
   ============================================================ */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head.light { color: #fff; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 12px; }
.section-head.light .kicker { color: var(--cyan-300); }
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.6rem); letter-spacing: -.025em; }
.lead { font-size: clamp(1rem, 1.4vw, 1.14rem); color: var(--ink-2); }
.muted { color: var(--muted); margin-top: 14px; }

/* ---- About ---- */
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.about-copy .lead { margin-top: 18px; }
.badge-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px; border-radius: 999px; background: var(--bg-tint); color: var(--blue-600);
  font-size: 13.5px; font-weight: 600;
}
.badge svg { width: 16px; height: 16px; }
.about-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-media img { width: 100%; aspect-ratio: 3/2.15; object-fit: cover; }
.about-media-cap {
  position: absolute; left: 16px; bottom: 16px; right: 16px;
  background: rgba(6, 21, 43, .62); backdrop-filter: blur(8px);
  color: #fff; padding: 12px 16px; border-radius: 12px;
  display: flex; flex-direction: column; border: 1px solid rgba(255,255,255,.14);
}
.about-media-cap strong { font-size: 15px; }
.about-media-cap span { font-size: 12.5px; color: rgba(255,255,255,.75); }

/* ---- Tabs (services) ---- */
.tab-bar { display: flex; flex-wrap: wrap; gap: 8px; border-bottom: 1px solid var(--line); margin-bottom: 34px; }
.tab {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 18px; border: 0; background: transparent; cursor: pointer;
  font-family: inherit; font-size: 15px; font-weight: 600; color: var(--muted);
  border-radius: 10px 10px 0 0; position: relative; transition: color .2s, background .2s;
}
.tab:hover { color: var(--ink); background: var(--bg-tint); }
.tab.is-active { color: var(--blue-600); }
.tab.is-active::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: -1px; height: 3px; border-radius: 3px; background: var(--grad); }
.tab-ico { width: 19px; height: 19px; }

.tab-panel { display: none; animation: fade .4s var(--ease); }
.tab-panel.is-active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.panel-copy h3 { font-size: 1.5rem; margin-bottom: 14px; }
.panel-points { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; }
.panel-points li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--ink-2); }
.tick { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 7px; background: var(--bg-tint); color: var(--blue-600); display: grid; place-items: center; }
.tick svg { width: 14px; height: 14px; }

/* ---- Supply chain ---- */
.supply { position: relative; color: #fff; padding: 96px 0; overflow: hidden; }
.supply-bg { position: absolute; inset: 0; z-index: -1; }
.supply-bg img { width: 100%; height: 100%; object-fit: cover; }
.supply-overlay { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(6, 21, 43, .93), rgba(10, 30, 58, .82)); }
.flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; counter-reset: step; }
.flow-step {
  position: relative; padding: 22px 16px; border-radius: 14px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
  display: flex; flex-direction: column; gap: 10px; transition: transform .25s var(--ease), background .25s;
}
.flow-step:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .1); }
.flow-no { font-size: 26px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.flow-label { font-size: 14.5px; font-weight: 600; }
.flow-step:not(:last-child)::after {
  content: ""; position: absolute; right: -10px; top: 50%; width: 12px; height: 12px;
  border-top: 2px solid rgba(103, 232, 249, .5); border-right: 2px solid rgba(103, 232, 249, .5);
  transform: translateY(-50%) rotate(45deg); z-index: 2;
}

/* ---- Capabilities ---- */
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cap-card {
  padding: 28px 24px; border-radius: var(--radius); background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.cap-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.cap-ico { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--bg-tint); color: var(--blue-600); margin-bottom: 18px; }
.cap-ico svg { width: 25px; height: 25px; }
.cap-card h3 { font-size: 1.16rem; margin-bottom: 8px; }
.cap-card p { font-size: 14.5px; color: var(--muted); }

/* ---- Partners teaser ---- */
.partners-teaser { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.partners-teaser .lead { margin: 16px 0 26px; }
.teaser-marks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.teaser-mark {
  aspect-ratio: 1; border-radius: 16px; display: grid; place-items: center;
  font-weight: 800; font-size: 20px; color: #fff; background: var(--c, var(--blue-600));
  box-shadow: var(--shadow-sm); opacity: .92;
  transition: transform .25s var(--ease);
}
.teaser-mark:hover { transform: translateY(-4px) scale(1.03); }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: start; }
.contact-list { margin-top: 26px; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list em { display: block; font-style: normal; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.contact-list strong, .contact-list a, .contact-list span { font-size: 15.5px; color: var(--ink); }
.contact-list a:hover { color: var(--blue-600); }
.c-ico { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; background: var(--grad); color: #fff; display: grid; place-items: center; }
.c-ico svg { width: 20px; height: 20px; }
.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; text-align: center; box-shadow: var(--shadow-md);
}
.contact-card img { width: 180px; height: 180px; margin: 0 auto 16px; border-radius: 12px; }
.contact-card p { font-size: 14px; color: var(--muted); margin-bottom: 18px; }

/* ============================================================
   Partners page
   ============================================================ */
.page-hero { position: relative; color: #fff; overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; z-index: -1; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 21, 43, .82), rgba(6, 21, 43, .92)); }
.page-hero-inner { padding: 118px 24px 84px; max-width: 820px; }
.page-hero .hero-title { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.page-hero .hero-sub { color: rgba(233, 240, 250, .85); }

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.chip {
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font-family: inherit; font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: .2s;
}
.chip:hover { border-color: var(--blue-500); color: var(--blue-600); }
.chip.is-active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 6px 16px rgba(37, 99, 235, .3); }

.grid-hint { font-size: 13.5px; color: var(--muted); margin: -14px 0 22px; display: flex; align-items: center; gap: 8px; }
.grid-hint::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }
.partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.partner-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden; min-height: 232px;
  display: flex; flex-direction: column; cursor: pointer; outline: none;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.partner-card:hover, .partner-card:focus-visible, .partner-card.is-open {
  transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent;
}
.partner-card:focus-visible { box-shadow: var(--shadow-lg), 0 0 0 3px rgba(37, 99, 235, .35); }

/* photo background layer + scrim (revealed on hover/tap) */
.pc-photo {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.06); transition: opacity .45s var(--ease), transform 6s var(--ease);
}
.pc-scrim {
  position: absolute; inset: 0; opacity: 0; transition: opacity .45s var(--ease);
  background: linear-gradient(180deg, rgba(6, 21, 43, .30) 0%, rgba(6, 21, 43, .62) 48%, rgba(6, 21, 43, .93) 100%);
}
.partner-card:hover .pc-photo, .partner-card:focus-visible .pc-photo, .partner-card.is-open .pc-photo { opacity: 1; transform: scale(1); }
.partner-card:hover .pc-scrim, .partner-card:focus-visible .pc-scrim, .partner-card.is-open .pc-scrim { opacity: 1; }

.pc-body {
  position: relative; z-index: 2; padding: 24px;
  display: flex; flex-direction: column; flex: 1;
  transition: color .3s var(--ease);
}
.partner-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: auto; padding-bottom: 20px; }
.partner-mark {
  min-width: 54px; height: 54px; padding: 0 14px; border-radius: 14px; display: inline-grid; place-items: center;
  font-weight: 800; font-size: 18px; color: #fff; background: var(--c, var(--blue-600));
  box-shadow: 0 6px 16px rgba(13, 27, 42, .18); transition: background .3s, box-shadow .3s;
}
.partner-mark.is-logo { background: #fff; height: 48px; padding: 0 14px; }
.partner-mark.is-logo img { max-height: 26px; width: auto; display: block; }
.partner-tag {
  font-size: 12px; font-weight: 600; color: var(--blue-600); background: var(--bg-tint);
  padding: 6px 12px; border-radius: 999px; transition: color .3s, background .3s;
}
.partner-name { font-size: 1.08rem; line-height: 1.35; margin-bottom: 10px; transition: color .3s; }
.partner-desc { font-size: 14px; color: var(--muted); transition: color .3s; }

/* revealed state: text flips to white, chips go translucent */
.partner-card:hover .partner-name, .partner-card:focus-visible .partner-name, .partner-card.is-open .partner-name,
.partner-card:hover .partner-desc, .partner-card:focus-visible .partner-desc, .partner-card.is-open .partner-desc { color: #fff; }
.partner-card:hover .partner-tag, .partner-card:focus-visible .partner-tag, .partner-card.is-open .partner-tag {
  color: #fff; background: rgba(255, 255, 255, .18); backdrop-filter: blur(4px);
}
.partner-card:hover .partner-mark.is-logo, .partner-card.is-open .partner-mark.is-logo { box-shadow: 0 6px 18px rgba(0,0,0,.3); }

.partner-line { position: absolute; left: 0; bottom: 0; z-index: 3; height: 4px; width: 100%; background: var(--c, var(--blue-600)); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.partner-card:hover .partner-line, .partner-card:focus-visible .partner-line, .partner-card.is-open .partner-line { transform: scaleX(1); }

.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band .lead { margin-top: 12px; max-width: 620px; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--navy-900); color: #cdd8e6; padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.site-footer .logo-mark { box-shadow: none; }
.site-footer .logo-text strong { color: #fff; }
.site-footer .logo-text em { color: #8ea3bd; }
.footer-legal { margin-top: 16px; font-size: 14px; color: #9fb2c9; max-width: 320px; }
.footer-tag { margin-top: 6px; font-size: 13px; color: var(--cyan-300); }
.footer-col h4 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #7f95b0; margin-bottom: 16px; font-weight: 700; }
.footer-col a, .footer-addr { display: block; font-size: 14.5px; color: #cdd8e6; padding: 5px 0; }
.footer-col a:hover { color: var(--cyan-300); }
.footer-addr { color: #9fb2c9; max-width: 280px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 22px 24px; margin-top: 8px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; color: #7f95b0; }

/* ============================================================
   Reveal animation
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .menu-btn { display: block; }
  .btn-sm { display: none; }
  .panel-grid { grid-template-columns: 1fr; gap: 24px; }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(3, 1fr); }
  .flow-step:nth-child(3)::after { display: none; }
}
@media (max-width: 860px) {
  .about-grid, .partners-teaser, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .about-media { order: -1; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 22px 18px; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 64px 0; }
}
@media (max-width: 560px) {
  .container { padding-inline: 18px; }
  .hero-inner { padding: 52px 18px 90px; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow-step::after { display: none !important; }
  .cap-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: 1fr; }
  .panel-points { grid-template-columns: 1fr; }
  .teaser-marks { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .teaser-mark { border-radius: 12px; font-size: 15px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-card img { width: 150px; height: 150px; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}

/* Chinese mode: slightly relax letter-spacing for CJK */
html[data-lang="zh"] { --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Inter", system-ui, sans-serif; }
html[data-lang="zh"] h1, html[data-lang="zh"] h2, html[data-lang="zh"] h3 { letter-spacing: 0; }
