/* Capacity Investment Group - Shared Styles */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --black: #0a0a0a;
  --black-light: #141414;
  --black-card: #1a1a1a;
  --gold: #d4af37;
  --gold-light: #e8c84a;
  --gold-dark: #b8941f;
  --gold-muted: rgba(212,175,55,0.15);
  --white: #ffffff;
  --cream: #f5f0e8;
  --gray: #888;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Outfit', -apple-system, sans-serif;
}

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

body {
  font-family: var(--sans);
  color: var(--white);
  background: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width:100%; display:block; }

/* ===== TOP BAR ===== */
.topbar {
  background: var(--black);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 10px 0;
  font-size: 13px;
  color: var(--gray);
}
.topbar__inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar__left { display: flex; gap: 30px; align-items: center; }
.topbar__left a { color: var(--gray); transition: color .3s; }
.topbar__left a:hover { color: var(--gold); }
.topbar__login {
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 12px;
  padding: 6px 20px;
  border: 1px solid var(--gold);
  transition: all .3s;
}
.topbar__login:hover {
  background: var(--gold);
  color: var(--black);
}

/* ===== NAVIGATION ===== */
.nav {
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.nav__inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}
.nav__logo img { height: 65px; width: auto; }
.nav__menu { display: flex; list-style: none; gap: 40px; align-items: center; }
.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color .3s;
  position: relative;
}
.nav__link:hover, .nav__link--active { color: var(--gold); }
.nav__link--active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
}
/* Dropdown */
.nav__dropdown { position: relative; }
.nav__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--black-card);
  border: 1px solid rgba(255,255,255,0.08);
  min-width: 240px;
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .3s;
  z-index: 50;
}
.nav__dropdown:hover .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__dropdown-menu a {
  display: block;
  padding: 10px 24px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  transition: all .3s;
}
.nav__dropdown-menu a:hover {
  color: var(--gold);
  background: rgba(212,175,55,0.06);
}
/* Mobile toggle */
.nav__toggle { display:none; flex-direction:column; cursor:pointer; gap:5px; }
.nav__toggle span { width:25px; height:2px; background: var(--gold); transition: all .3s; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero__video {
  position: absolute;
  top:0; left:0; width:100%; height:100%;
  object-fit: cover;
  opacity: 0.35;
}
.hero__overlay {
  position: absolute;
  top:0; left:0; width:100%; height:100%;
  background: linear-gradient(180deg, rgba(10,10,10,0.3) 0%, rgba(10,10,10,0.7) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px;
}
.hero__logo { height: 160px; margin: 0 auto 30px; }
.hero__tagline {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero__title {
  font-family: var(--serif);
  font-size: 64px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
}
.hero__sub {
  font-size: 18px;
  color: rgba(255,255,255,0.6);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.8;
}
.hero__line {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto;
}

/* ===== COMPANY LOGOS SLIDER ===== */
.logos-bar {
  background: var(--black-light);
  border-top: 1px solid rgba(212,175,55,0.1);
  border-bottom: 1px solid rgba(212,175,55,0.1);
  padding: 40px 0;
  overflow: hidden;
}
.logos-bar__label {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 30px;
}
.logos-bar__track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
  padding: 0 40px;
}
.logos-bar__item {
  opacity: 0.6;
  transition: all .4s;
  cursor: pointer;
}
.logos-bar__item:hover {
  opacity: 1;
  transform: scale(1.08);
}
.logos-bar__item img {
  height: 70px;
  width: auto;
}
.logos-bar__item--gold img {
  filter: none;
}

/* ===== SECTIONS ===== */
.section {
  padding: 100px 40px;
}
.section--cream {
  background: var(--cream);
  color: var(--black);
}
.section__container {
  max-width: 1200px;
  margin: 0 auto;
}
.section__eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.section__title {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}
.section__divider {
  width: 50px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 30px;
}
.section__text {
  font-size: 17px;
  line-height: 1.9;
  color: rgba(255,255,255,0.7);
  max-width: 700px;
}
.section--cream .section__text { color: #555; }

/* ===== COMPANY CARDS ===== */
.companies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}
.company-card {
  background: var(--black-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 4px;
  padding: 50px 36px;
  text-align: center;
  transition: all .4s cubic-bezier(0.25,0.46,0.45,0.94);
  position: relative;
  overflow: hidden;
}
.company-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity .4s;
}
.company-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212,175,55,0.2);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.company-card:hover::before { opacity: 1; }
.company-card__logo {
  height: 80px;
  width: auto;
  margin: 0 auto 24px;
  object-fit: contain;
}
.company-card__name {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.company-card__type {
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.company-card__desc {
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: 24px;
}
.company-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: gap .3s;
}
.company-card__link:hover { gap: 14px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 16px 44px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all .4s;
  cursor: pointer;
  border: none;
}
.btn--gold {
  background: var(--gold);
  color: var(--black);
}
.btn--gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212,175,55,0.3);
}
.btn--outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn--outline:hover {
  background: var(--gold);
  color: var(--black);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 60px 40px 30px;
}
.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}
.footer__brand img { height: 50px; margin-bottom: 20px; }
.footer__brand p { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.8; }
.footer__col h4 {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer__col ul { list-style: none; }
.footer__col li { margin-bottom: 12px; }
.footer__col a { font-size: 14px; color: rgba(255,255,255,0.5); transition: color .3s; }
.footer__col a:hover { color: var(--gold); }
.footer__col p { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.8; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer__copy { font-size: 13px; color: rgba(255,255,255,0.3); }
.footer__credit { font-size: 13px; color: rgba(255,255,255,0.3); }
.footer__credit a { color: var(--gold); font-weight: 600; transition: color .3s; }
.footer__credit a:hover { color: var(--gold-light); }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .companies-grid { grid-template-columns: 1fr 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .hero__title { font-size: 48px; }
}
@media (max-width: 768px) {
  .topbar__inner { flex-direction: column; gap: 8px; text-align: center; }
  .nav__menu {
    position: fixed; top: 80px; left: -100%; width: 100%; height: calc(100vh - 80px);
    background: var(--black); flex-direction: column; justify-content: flex-start;
    padding: 40px; gap: 24px; transition: left .3s;
  }
  .nav__menu.active { left: 0; }
  .nav__toggle { display: flex; }
  .hero__title { font-size: 36px; }
  .section__title { font-size: 36px; }
  .section { padding: 70px 24px; }
  .companies-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
  .logos-bar__track { gap: 40px; }
  .logos-bar__item img { height: 50px; }
}
