/* ═══════════════════════════════════════════════════════════
   ExchangeBridge Capital Markets — Global Stylesheet
   ═══════════════════════════════════════════════════════════ */

:root {
  --navy:    #1B2A4A;
  --navy-dk: #111D33;
  --navy-lt: #243558;
  --gold:    #C9A84C;
  --gold-lt: #DFC07A;
  --white:   #FFFFFF;
  --offwhite:#F7F8FA;
  --gray:    #6B7280;
  --lgray:   #E5E7EB;
  --text:    #1A202C;
  --font:    'Georgia', 'Times New Roman', serif;
  --sans:    'Arial', 'Helvetica Neue', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ─────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  background: var(--navy-dk);
  border-bottom: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 68px;
}

.nav-logo img {
  height: 40px;
  display: block;
}

.nav-links {
  display: flex;
  gap: 6px;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 8px 18px;
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 3px;
  transition: all 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  background: rgba(201,168,76,0.1);
}

.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  font-weight: 700 !important;
  border-radius: 3px;
}

.nav-cta:hover {
  background: var(--gold-lt) !important;
  color: var(--navy-dk) !important;
}

/* ── SHARED PAGE HEADER ──────────────────────────────────── */
.page-header {
  background: var(--navy);
  padding: 120px 0 60px;
  text-align: center;
}

.page-header h1 {
  font-family: var(--font);
  font-size: 38px;
  color: var(--white);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.page-header .gold-rule {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 18px auto 0;
}

.page-header p {
  margin-top: 16px;
  color: rgba(255,255,255,0.6);
  font-size: 15px;
  letter-spacing: 0.04em;
}

/* ── CONTAINERS ──────────────────────────────────────────── */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  padding: 80px 0;
}

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

.section-title {
  font-family: var(--font);
  font-size: 28px;
  color: var(--navy);
  font-weight: 400;
  margin-bottom: 8px;
}

.section-rule {
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin-bottom: 28px;
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 3px;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}

.btn-gold:hover {
  background: var(--gold-lt);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ── FOOTER ──────────────────────────────────────────────── */
footer {
  background: var(--navy-dk);
  border-top: 2px solid var(--gold);
  padding: 40px 0 24px;
  text-align: center;
}

footer img { height: 36px; margin-bottom: 16px; opacity: 0.85; }

footer p {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  line-height: 1.8;
  max-width: 680px;
  margin: 0 auto 6px;
}

footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 16px 0;
  list-style: none;
}

footer .footer-links a {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
}

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

/* ── CARDS ───────────────────────────────────────────────── */
.card-grid {
  display: grid;
  gap: 24px;
}

.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--lgray);
  border-top: 3px solid var(--gold);
  padding: 32px 28px;
  border-radius: 4px;
}

.card h3 {
  font-family: var(--font);
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 12px;
  font-weight: 400;
}

.card p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .card-grid-2, .card-grid-3 { grid-template-columns: 1fr; }
  .container { padding: 0 20px; }
  .page-header h1 { font-size: 28px; }
}
