/* ============================================================
   Millenheureux Holdings — site styles
   Palette: navy 0B1830/16305C · teal 2F7F7A · gold C9A445
   No external fonts or libraries — system font stack only.
   ============================================================ */

:root {
  --navy: #0B1830;
  --navy-2: #16305C;
  --navy-soft: #1E3A6E;
  --teal: #2F7F7A;
  --teal-soft: #EAF3F2;
  --gold: #C9A445;
  --gold-soft: #F4EDDA;
  --paper: #F7F8FA;
  --white: #FFFFFF;
  --ink: #1B2534;
  --muted: #5B6577;
  --line: #E3E6EB;
  --shadow: 0 10px 30px rgba(11, 24, 48, 0.10);
  --radius: 14px;
  --container: 1140px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }

a { color: var(--navy-2); }

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

/* ---------- typography ---------- */
h1, h2, h3 { line-height: 1.25; color: var(--navy); font-weight: 700; }

.kicker {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section { padding: 84px 0; }
.section.tint { background: var(--paper); }

.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(26px, 4vw, 34px); margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 16.5px; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark {
  width: 38px; height: 38px; flex: none;
  border: 1.6px solid var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy-2); font-weight: 700; font-size: 17px;
  font-family: Georgia, "Times New Roman", serif;
}
.brand-name { font-size: 14.5px; font-weight: 700; letter-spacing: 0.12em; color: var(--navy); }
.brand-sub { display: block; font-size: 9.5px; letter-spacing: 0.3em; color: var(--muted); font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links a {
  display: block; padding: 9px 14px; text-decoration: none;
  font-size: 14.5px; font-weight: 600; color: var(--ink); border-radius: 8px;
}
.nav-links a:hover { background: var(--paper); color: var(--navy-2); }
.nav-links a.active { color: var(--navy-2); background: var(--teal-soft); }

.lang-switch { display: flex; align-items: center; gap: 4px; margin-left: 14px; }
.lang-switch button {
  border: 1px solid var(--line); background: transparent; cursor: pointer;
  font-family: inherit; font-size: 13px; font-weight: 700;
  padding: 6px 11px; border-radius: 999px; color: var(--muted);
}
.lang-switch button.on { background: var(--navy-2); border-color: var(--navy-2); color: #fff; }

.nav-toggle {
  display: none; border: 1px solid var(--line); background: transparent;
  border-radius: 10px; padding: 9px 11px; cursor: pointer;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--navy); margin: 4px 0; border-radius: 2px; }

/* ---------- hero ---------- */
.hero {
  position: relative; color: #fff;
  background: var(--navy) url("../img/hero-east.jpg") center / cover no-repeat;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: url("../img/hero-west.jpg") center / cover no-repeat;
  -webkit-mask-image: linear-gradient(to right, transparent 34%, #000 58%);
          mask-image: linear-gradient(to right, transparent 34%, #000 58%);
}
/* legibility veil */
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(11,24,48,0.86) 8%, rgba(11,24,48,0.55) 48%, rgba(11,24,48,0.38) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 120px 0 132px; max-width: 780px; }

.hero .kicker { color: var(--gold); }
.hero h1 {
  color: #fff; font-size: clamp(30px, 5vw, 48px); font-weight: 800;
  margin-bottom: 18px; letter-spacing: 0.005em;
}
.hero p.lead { font-size: clamp(15.5px, 2vw, 18.5px); color: #D9E1EE; max-width: 640px; margin-bottom: 30px; }
.hero .cn-line { font-size: 15px; color: #AEBBD4; margin-top: -18px; margin-bottom: 30px; }

.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  font-weight: 700; font-size: 15px; border-radius: 999px;
  padding: 13px 28px; transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,0.55); color: #fff; margin-left: 12px; }
.btn-ghost:hover { border-color: #fff; }
.btn-primary { background: var(--navy-2); color: #fff; }
.btn-primary:hover { background: var(--navy); }
.btn-outline { border: 1.5px solid var(--navy-2); color: var(--navy-2); }
.btn-outline:hover { background: var(--navy-2); color: #fff; }

/* ---------- cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: 0 4px 16px rgba(11,24,48,0.05);
}
.card h3 { font-size: 17.5px; margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--muted); }

.icon-chip {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy-2); display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; flex: none;
}
.icon-chip svg { width: 21px; height: 21px; stroke: var(--gold); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-chip.teal { background: var(--teal); }
.icon-chip.teal svg { stroke: #fff; }

.card-link { display: inline-block; margin-top: 14px; font-weight: 700; font-size: 14px; text-decoration: none; color: var(--teal); }
.card-link:hover { text-decoration: underline; }

/* value props strip on home */
.value-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.value-strip > div { padding: 26px 24px; border-left: 1px solid var(--line); }
.value-strip > div:first-child { border-left: none; }
.value-strip .num { font-size: 30px; font-weight: 800; color: var(--navy-2); font-family: Georgia, serif; }
.value-strip .lbl { font-size: 13.5px; color: var(--muted); }

/* east-west flow band */
.flow-band { display: grid; grid-template-columns: 1fr 90px 1fr; gap: 0; align-items: stretch; }
.flow-col { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; }
.flow-col h3 { display: flex; align-items: center; gap: 10px; font-size: 17px; margin-bottom: 14px; }
.flow-col ul { list-style: none; }
.flow-col li { padding: 7px 0 7px 22px; position: relative; font-size: 14.5px; color: var(--ink); border-bottom: 1px dashed var(--line); }
.flow-col li:last-child { border-bottom: none; }
.flow-col li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.flow-arrow { display: flex; align-items: center; justify-content: center; color: var(--gold); }
.flow-arrow svg { width: 44px; height: 44px; }

/* CTA band */
.cta-band { background: var(--navy); border-radius: 18px; color: #fff; padding: 46px 44px; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.cta-band h2 { color: #fff; font-size: clamp(20px, 3vw, 26px); margin-bottom: 6px; }
.cta-band p { color: #C9D4E6; font-size: 15px; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { background: var(--navy); color: #fff; padding: 76px 0 66px; position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; right: -140px; top: -140px; width: 420px; height: 420px;
  border: 1.5px solid rgba(201,164,69,0.35); border-radius: 50%;
}
.page-hero .kicker { color: var(--gold); }
.page-hero h1 { color: #fff; font-size: clamp(28px, 4.4vw, 40px); max-width: 760px; }
.page-hero p { color: #C9D4E6; max-width: 680px; margin-top: 14px; font-size: 16.5px; }

/* ---------- split layout ---------- */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }

.check-list { list-style: none; margin-top: 18px; }
.check-list li { padding: 9px 0 9px 34px; position: relative; font-size: 15.5px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 14px; width: 18px; height: 18px;
  border-radius: 50%; background: var(--teal-soft);
}
.check-list li::after {
  content: ""; position: absolute; left: 5px; top: 19px; width: 8px; height: 4.5px;
  border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal);
  transform: rotate(-45deg);
}

/* ---------- compliance note ---------- */
.note {
  background: var(--gold-soft); border: 1px solid #E4D5A8; border-radius: 12px;
  padding: 18px 22px; font-size: 14px; color: #6B5A25; display: flex; gap: 12px; align-items: flex-start;
}
.note svg { width: 20px; height: 20px; flex: none; margin-top: 2px; stroke: #A98B2F; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- team ---------- */
.team-card { display: flex; gap: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 4px 16px rgba(11,24,48,0.05); }
.team-card img { width: 108px; height: 108px; border-radius: 12px; object-fit: cover; flex: none; }
.team-card h3 { font-size: 17px; }
.team-card .role { color: var(--gold); font-weight: 700; font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; margin: 2px 0 10px; }
.team-card p { font-size: 13.5px; color: var(--muted); }

/* ---------- sectors ---------- */
.sector-tag { display: inline-block; background: var(--teal-soft); color: var(--teal); font-size: 12.5px; font-weight: 700; padding: 4px 12px; border-radius: 999px; margin: 3px 4px 3px 0; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 46px; align-items: start; }
.contact-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: none; }
.contact-item .icon-chip { margin: 0; width: 42px; height: 42px; }
.contact-item .lbl { font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.contact-item .val { font-size: 15.5px; color: var(--ink); font-weight: 600; word-break: break-all; }
.contact-item .val a { text-decoration: none; }
.contact-item .val a:hover { text-decoration: underline; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: #AEBBD4; margin-top: 90px; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: 56px 0 40px; }
.site-footer h4 { color: #fff; font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #AEBBD4; text-decoration: none; font-size: 14.5px; }
.site-footer a:hover { color: #fff; }
.footer-brand .brand-mark { border-color: var(--gold); color: var(--gold); }
.footer-brand p { font-size: 14px; margin-top: 14px; max-width: 360px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 18px 0; font-size: 13px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-bottom a { color: #AEBBD4; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s 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: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .flow-band { grid-template-columns: 1fr; }
  .flow-arrow { padding: 14px 0; transform: rotate(90deg); }
  .value-strip { grid-template-columns: repeat(2, 1fr); }
  .value-strip > div { border-left: none; border-top: 1px solid var(--line); }
  .value-strip > div:nth-child(-n+2) { border-top: none; }
  .value-strip > div:nth-child(even) { border-left: 1px solid var(--line); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .hero-inner { padding: 88px 0 96px; }
}

@media (max-width: 760px) {
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 10px 18px 18px; gap: 2px;
    box-shadow: 0 18px 30px rgba(11,24,48,0.10);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 10px; border-radius: 8px; font-size: 16px; }
  .lang-switch { margin: 12px 10px 0; }
  .nav-toggle { display: block; }
  .section { padding: 60px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero { background-image: url("../img/hero-east-mobile.jpg"); }
  .hero::before { background-image: url("../img/hero-west-mobile.jpg"); }
  .btn-ghost { margin-left: 0; margin-top: 10px; }
  .btn { display: inline-block; }
  .footer-main { grid-template-columns: 1fr; gap: 26px; }
  .team-card { flex-direction: column; }
  .team-card img { width: 100%; height: 240px; }
}

/* ===== Logo（config.js 里填 logo 后启用） ===== */
.brand-logo { display: block; height: 38px; width: auto; object-fit: contain; }
.site-footer .brand-logo { height: 42px; }
.brand-logo.invert { filter: brightness(0) invert(1); }
@media (max-width: 760px) { .brand-logo { height: 32px; } .site-footer .brand-logo { height: 36px; } }

/* ===== 客户名单（partners.html 客户 Logo 墙） ===== */
.client-group { margin-top: 36px; }
.client-group:first-of-type { margin-top: 8px; }
.client-group h3 {
  display: flex; align-items: center; gap: 10px;
  font-size: 16.5px; font-weight: 700; color: var(--navy); margin-bottom: 14px;
}
.client-group h3::before { content: ""; width: 9px; height: 9px; border-radius: 2px; background: var(--gold); flex: none; }
.logo-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.logo-card {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 16px; min-width: 120px; min-height: 64px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 1px 2px rgba(11,24,48,0.04);
}
.logo-card img { max-height: 52px; max-width: 160px; object-fit: contain; display: block; }
.client-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.client-item {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 20px; font-size: 15px; font-weight: 600; color: var(--navy);
  letter-spacing: 0.01em; box-shadow: 0 1px 2px rgba(11,24,48,0.04);
}
@media (max-width: 960px) { .client-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .client-list { grid-template-columns: 1fr; } }
