/* =========================================================
   INTERBULLION — GLOBAL STYLE SHEET
   Institutional-grade design: black + gold theme
   ========================================================= */

/* ---------------------------
   VARIABLES
---------------------------- */
:root {
  --color-black: #000000;
  --color-gold: #d4af37;
  --color-white: #ffffff;
  --color-text: rgba(255, 255, 255, 0.85);
  --color-muted: rgba(255, 255, 255, 0.6);
  --transition-base: 0.3s ease;

  /* Default theme */
  --theme-main: #000000;
  --theme-accent: var(--color-gold);
}

/* Division themes */
body.theme-capital {
  --theme-main: #242b34;
  --theme-accent: #f1e2b9;
  --theme-alt: #ddbf78;
}
body.theme-intelligence {
  --theme-main: #08070b;
  --theme-accent: #e7bc4e;
}
body.theme-associates {
  --theme-main: #1f2437;
  --theme-accent: #f3d291;
}
body.theme-default {
  --theme-main: #000000;
  --theme-accent: #d4af37;
}

/* ---------------------------
   GLOBAL BASE
---------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 300;
  color: var(--color-text);
  background: var(--theme-main);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  color: var(--color-white);
  line-height: 1.25;
}
h1 { font-size: clamp(2rem, 6vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; }

a { color: var(--theme-accent); text-decoration: none; transition: color var(--transition-base); }
a:hover { color: var(--color-white); }

.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container.narrow { max-width: 750px; }

/* ---------------------------
   NAVIGATION
---------------------------- */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  z-index: 999;
  border-bottom: 1px solid rgba(212,175,55,0.1);
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.nav-logo-img { height: 28px; }
.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-menu a {
  font-size: 0.875rem;
  color: var(--color-muted);
  letter-spacing: 0.05em;
}
.nav-menu a:hover,
.nav-menu a.active { color: var(--theme-accent); }

.nav-cta {
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--theme-accent);
  color: var(--theme-accent) !important;
}
.nav-cta:hover {
  background: var(--theme-accent);
  color: #000 !important;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  gap: 4px;
}
.nav-toggle span {
  background: var(--theme-accent);
  width: 22px;
  height: 2px;
  transition: var(--transition-base);
}

/* ---------------------------
   HERO
---------------------------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--theme-main);
  padding: 6rem 1.5rem 3rem;
}
.hero-inner { max-width: 700px; }
.hero-globe {
  width: 90px;
  opacity: 0.2;
  margin-bottom: 1.5rem;
}
.hero-title { margin-bottom: 1rem; }
.hero-lead {
  color: var(--theme-accent);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.hero-sublead {
  color: var(--color-muted);
  max-width: 600px;
  margin: 0 auto 2rem;
}
.hero-note {
  display: block;
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-top: 0.75rem;
}

/* ---------------------------
   BRAND STATEMENT
---------------------------- */
.brand-statement {
  background: rgba(255,255,255,0.03);
  padding: 3rem 1.5rem;
  text-align: center;
}
.brand-statement .statement {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  color: var(--color-text);
  line-height: 1.8;
  font-style: italic;
}

/* ---------------------------
   DIVISIONS
---------------------------- */
.divisions { padding: 5rem 1.5rem; }
.section-title {
  text-align: center;
  margin-bottom: 0.5rem;
}
.section-subtitle {
  text-align: center;
  color: var(--color-muted);
  margin-bottom: 2.5rem;
}
.divisions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.division-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  padding: 2rem 1.5rem;
  transition: all var(--transition-base);
}
.division-card:hover {
  border-color: var(--theme-accent);
  transform: translateY(-3px);
}
.division-logo {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
}
.division-card h3 { color: var(--color-white); margin-bottom: 0.5rem; }
.division-card p { color: var(--color-muted); margin-bottom: 1.5rem; }
.division-link {
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--theme-accent);
}
.division-link:hover { color: var(--color-white); }

/* ---------------------------
   TRUST / CONTACT
---------------------------- */
.trust, .contact {
  padding: 5rem 1.5rem;
  text-align: center;
}
.trust-points {
  list-style: none;
  margin-top: 1.5rem;
}
.trust-points li {
  margin: 0.5rem 0;
  color: var(--color-muted);
}

/* ---------------------------
   FORMS
---------------------------- */
.contact-form {
  text-align: left;
  margin-top: 2rem;
}
.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.form-group { margin-bottom: 1rem; }
label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-muted);
  margin-bottom: 0.3rem;
}
input, select {
  width: 100%;
  padding: 0.8rem;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--color-white);
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  transition: border var(--transition-base);
}
input:focus, select:focus {
  outline: none;
  border-color: var(--theme-accent);
}

/* ---------------------------
   BUTTONS
---------------------------- */
.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
}
.btn-primary {
  background: var(--theme-accent);
  color: var(--theme-main);
}
.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}
.btn-secondary {
  background: transparent;
  border: 1px solid var(--theme-accent);
  color: var(--theme-accent);
}
.btn-secondary:hover {
  background: var(--theme-accent);
  color: var(--theme-main);
}
.btn-full { width: 100%; }

/* ---------------------------
   PAGE CONTENT
---------------------------- */
.page-hero {
  background: var(--theme-main);
  text-align: center;
  padding: 8rem 1.5rem 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.page-hero .lead {
  color: var(--theme-accent);
  font-size: 1.1rem;
  margin-top: 1rem;
}

.section {
  padding: 5rem 1.5rem;
}
.section.alt { background: rgba(255,255,255,0.03); }
.section.centered { text-align: center; }
.key-points {
  list-style: none;
  padding: 0;
}
.key-points li {
  color: var(--color-text);
  margin-bottom: 0.6rem;
  position: relative;
  padding-left: 1.2rem;
}
.key-points li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--theme-accent);
}
.note { font-size: 0.9rem; color: var(--color-muted); }

/* Split cards for Associates */
.split-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.split-card {
  border: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem;
  background: rgba(255,255,255,0.02);
}
.split-card h3 { color: var(--theme-accent); }

/* ---------------------------
   FOOTER
---------------------------- */
.footer {
  background: #000;
  padding: 3rem 1.5rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}
.footer-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.footer-logo { height: 32px; margin-bottom: 0.5rem; }
.footer-links ul {
  list-style: none;
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a { color: var(--color-muted); }
.footer-links a:hover { color: var(--theme-accent); }
.disclaimer {
  font-size: 0.75rem;
  color: var(--color-muted);
  max-width: 700px;
  margin: 0 auto 0.5rem;
  line-height: 1.6;
}
.copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
}

/* ---------------------------
   THANK-YOU PAGE
---------------------------- */
.thank-you {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  flex-direction: column;
  background: var(--theme-main);
  color: var(--color-white);
  padding: 2rem;
}
.thank-logo {
  width: 60px;
  opacity: 0.8;
  margin-bottom: 1.5rem;
}
.thank-actions {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
.lead {
  color: var(--color-text);
  max-width: 600px;
  margin: 0 auto;
}

/* ---------------------------
   RESPONSIVE
---------------------------- */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    gap: 1rem;
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    background: rgba(0,0,0,0.97);
    padding: 1.5rem;
  }
  .nav-menu.active { display: flex; }
  .nav-toggle { display: flex; }
  .footer-links ul {
    flex-direction: column;
    gap: 0.75rem;
  }
}
