/* ═══════════════════════════════════════════════════
   HUIHONG CAPITAL — Blackstone-inspired Design
   ═══════════════════════════════════════════════════ */

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

:root {
  --navy: #1a3556;
  --navy-dark: #0f2137;
  --navy-deeper: #0b1a2d;
  --blue: #2c5f8a;
  --blue-light: #4a8ab5;
  --blue-lighter: #7bb3d4;
  --text-dark: #1a1a1a;
  --text-body: #444444;
  --text-light: #777777;
  --text-muted: #aaaaaa;
  --border: #e0e0e0;
  --border-light: #eeeeee;
  --bg-white: #ffffff;
  --bg-off: #f5f6f8;
  --bg-dark: #0b1a2d;
  --font-heading: 'Georgia', 'Times New Roman', 'STSong', serif;
  --font-body: -apple-system, 'Helvetica Neue', 'Arial', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--bg-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; transition: color 0.3s; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 60px; }

/* ── Navbar (Blackstone-style: white bg, minimal) ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: 0 1px 15px rgba(0,0,0,0.06); }

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav-logo { display: flex; align-items: baseline; gap: 12px; }
.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 17px;
  letter-spacing: 3px;
  color: var(--navy);
  font-weight: 700;
}
.nav-logo-cn {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 3px;
}

.nav-links { display: flex; align-items: center; gap: 10px; }
.nav-group { display: flex; gap: 32px; margin-right: 28px; }
.nav-link {
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.3px;
  padding: 8px 0;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--navy);
  transition: width 0.3s;
}
.nav-link:hover::after { width: 100%; }
.nav-link:hover { color: var(--navy); }

.lang-switch {
  color: var(--navy) !important;
  border: 1px solid var(--navy);
  padding: 5px 14px;
  font-size: 12px !important;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s;
}
.lang-switch:hover { background: var(--navy); color: var(--bg-white) !important; }

.mobile-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.mobile-toggle span { width: 22px; height: 1.5px; background: var(--navy); transition: 0.3s; }

/* ── Hero (Blackstone: large text, dark bg, bold) ── */
.hero {
  min-height: 100vh;
  background: linear-gradient(155deg, #0a1628 0%, #132d4f 50%, #1a3a5c 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(44,95,138,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(74,138,181,0.1) 0%, transparent 50%);
}

.hero-content {
  position: relative; z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
  padding-top: 70px;
}

.hero-badge {
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--blue-lighter);
  margin-bottom: 30px;
  font-weight: 400;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 58px;
  font-weight: 400;
  color: var(--bg-white);
  line-height: 1.2;
  margin-bottom: 28px;
  max-width: 700px;
}

.hero-title-accent {
  font-style: italic;
  color: var(--blue-lighter);
}

.hero-subtitle {
  font-size: 17px;
  color: rgba(255,255,255,0.55);
  line-height: 1.9;
  max-width: 560px;
  margin-bottom: 40px;
  font-weight: 300;
}

.btn-primary {
  display: inline-block;
  padding: 14px 36px;
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--bg-white);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.3s;
}
.btn-primary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}

.hero-scroll {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
}
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--blue-light), transparent);
  animation: scrollPulse 2.5s infinite;
}
@keyframes scrollPulse { 0%,100%{opacity:0.2} 50%{opacity:0.8} }

/* ── Metrics Bar ──────────────────────────────────── */
.metrics-bar {
  background: var(--bg-white);
  padding: 65px 0;
  border-bottom: 1px solid var(--border-light);
}
.metrics-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
}
.metric-divider {
  width: 1px; height: 60px;
  background: var(--border);
}
.metric-item { text-align: center; }
.metric-number {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 400;
  color: var(--navy);
  line-height: 1;
}
.metric-unit { font-size: 28px; }
.metric-desc {
  font-size: 13px;
  color: var(--text-light);
  letter-spacing: 1px;
  margin-top: 10px;
}
.metric-desc-cn {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ── Section Common ───────────────────────────────── */
.section { padding: 100px 0; }
.section-dark { background: var(--bg-dark); }
.section-alt { background: var(--bg-off); }

.section-eyebrow {
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 14px;
}
.section-eyebrow.light { color: var(--blue-lighter); }

.section-header {
  text-align: center;
  margin-bottom: 65px;
}
.section-header-left { margin-bottom: 50px; }

.section-title-dark {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 400;
  color: var(--text-dark);
}
.section-title-light {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 400;
  color: var(--bg-white);
}
.section-subtitle-dark {
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 3px;
  margin-top: 6px;
}
.section-subtitle-light {
  font-size: 14px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 3px;
  margin-top: 6px;
}

/* ── The Firm ─────────────────────────────────────── */
.firm-intro {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  margin-bottom: 80px;
  align-items: start;
}
.firm-title {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 8px;
}
.firm-title-cn {
  font-size: 15px;
  color: var(--text-muted);
  letter-spacing: 4px;
}
.firm-intro-right p {
  font-size: 15px;
  line-height: 2;
  color: var(--text-body);
  margin-bottom: 18px;
}

.whatwedo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
}
.whatwedo-card {
  padding: 45px 35px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.whatwedo-card:last-child { border-right: none; }
.whatwedo-card:hover { background: var(--bg-off); }
.wwd-icon { color: var(--blue); margin-bottom: 25px; }
.whatwedo-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.wwd-cn {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.whatwedo-card p:last-child {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
}

/* ── Portfolio Cards ──────────────────────────────── */
.portfolio-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 3px;
  margin-bottom: 24px;
  overflow: hidden;
  transition: border-color 0.3s;
}
.portfolio-card:hover { border-color: rgba(255,255,255,0.18); }

.port-card-tag {
  padding: 12px 28px;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--blue-lighter);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-weight: 600;
}

.port-card-body { padding: 40px 40px 35px; }

.port-card-info h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--bg-white);
  font-weight: 400;
  margin-bottom: 6px;
}
.port-card-cn {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.port-card-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  line-height: 1.9;
  margin-bottom: 30px;
  max-width: 800px;
}

.port-card-metrics {
  display: flex;
  gap: 50px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 25px;
}
.port-card-metrics > div { display: flex; flex-direction: column; }
.pcm-value {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--blue-lighter);
  margin-bottom: 4px;
}
.pcm-label {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* ── Quote Section ────────────────────────────────── */
.quote-section { background: var(--bg-off); }
.quote-block { text-align: center; max-width: 800px; margin: 0 auto; }
.quote-mark {
  font-family: var(--font-heading);
  font-size: 80px;
  color: var(--blue-light);
  line-height: 0.5;
  margin-bottom: 20px;
  opacity: 0.4;
}
.quote-block blockquote {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.8;
  font-style: italic;
}
.quote-attr {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 35px;
  font-size: 14px;
  color: var(--text-light);
  letter-spacing: 1px;
}
.quote-attr-cn {
  color: var(--text-muted);
  font-size: 13px;
}
.quote-line {
  width: 30px; height: 1px;
  background: var(--blue-light);
}

/* ── Insights / News ──────────────────────────────── */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.insight-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  padding: 35px 30px;
  transition: all 0.3s;
}
.insight-card:hover {
  border-color: var(--blue-light);
  box-shadow: 0 6px 25px rgba(26,53,86,0.08);
  transform: translateY(-3px);
}
.insight-tag {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 16px;
}
.insight-card h4 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.5;
  margin-bottom: 14px;
}
.insight-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 20px;
}
.insight-date {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 1px;
}

/* ── Contact ──────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}
.contact-item { text-align: center; padding: 30px 20px; }
.contact-icon { color: var(--blue-lighter); margin-bottom: 18px; }
.contact-label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 10px;
}
.contact-value {
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
}

/* ── Footer (Blackstone-style: multi-column) ──────── */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 60px 0 30px;
}
.footer-main {
  display: flex;
  justify-content: space-between;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand { display: flex; flex-direction: column; gap: 6px; }
.footer-logo {
  font-family: var(--font-heading);
  font-size: 15px;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.6);
  font-weight: 700;
}
.footer-logo-cn {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  letter-spacing: 4px;
}
.footer-nav { display: flex; gap: 70px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h5 {
  font-size: 12px;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.footer-col a {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}
.footer-col a:hover { color: rgba(255,255,255,0.7); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 25px;
}
.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.5px;
}
.footer-note {
  font-size: 11px;
  color: rgba(255,255,255,0.15);
  font-style: italic;
}

/* ── Animations ───────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ───────────────────────────────────── */
/* ── Print / PDF ───────────────────────────────────── */
@media print {
  .fade-in { opacity: 1 !important; transform: none !important; }
  .navbar { position: static; border-bottom: 2px solid var(--navy); }
  .nav-links { display: flex !important; }
  .mobile-toggle { display: none !important; }
  .hero { min-height: auto; padding: 80px 0; break-after: page; }
  .hero-scroll { display: none; }
  .btn-primary { border: 1px solid #fff; }
  .section { padding: 50px 0; }
  .section-dark { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .hero, .metrics-bar, .figures-banner, .quote-section, .section-alt,
  .portfolio-card, .port-card-tag, .footer, .footer-main, .footer-bottom {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .portfolio-card { break-inside: avoid; }
  .whatwedo-grid { break-inside: avoid; }
  .insights-grid { break-inside: avoid; }
  .contact-grid { break-inside: avoid; }
}

@media (max-width: 1024px) {
  .container, .nav-container, .hero-content { padding-left: 30px; padding-right: 30px; }
}

@media (max-width: 768px) {
  .container, .nav-container, .hero-content { padding-left: 24px; padding-right: 24px; }

  .nav-links {
    display: none;
    position: absolute; top: 70px; left: 0; right: 0;
    background: var(--bg-white);
    flex-direction: column;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  }
  .nav-links.active { display: flex; }
  .nav-group { flex-direction: column; gap: 16px; margin-right: 0; margin-bottom: 16px; }
  .mobile-toggle { display: flex; }

  .hero { min-height: auto; padding: 130px 0 80px; }
  .hero-title { font-size: 34px; }
  .hero-subtitle { font-size: 15px; }
  .hero-scroll { display: none; }

  .metrics-grid { flex-direction: column; gap: 30px; }
  .metric-divider { width: 40px; height: 1px; }
  .metric-number { font-size: 38px; }

  .section { padding: 60px 0; }
  .firm-intro { grid-template-columns: 1fr; gap: 30px; }
  .whatwedo-grid { grid-template-columns: 1fr; }
  .whatwedo-card { border-right: none; }

  .port-card-body { padding: 25px 20px; }
  .port-card-metrics { flex-direction: column; gap: 18px; }

  .insights-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }

  .footer-main { flex-direction: column; gap: 35px; }
  .footer-nav { flex-direction: column; gap: 25px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
