/* Apex Capital – Institutional Website Styles */

:root {
  --navy: #0b1426;
  --charcoal: #141c2b;
  --slate: #1e293b;
  --muted: #94a3b8;
  --off-white: #f1f5f9;
  --gold: #b89b5e;
  --gold-dim: #8a7344;
  --border: rgba(148, 163, 184, 0.15);
  --max-width: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--navy);
  color: var(--off-white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #d4bc7e;
}

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

/* Layout */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 20, 38, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--off-white);
  text-transform: uppercase;
}

.logo span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--off-white);
}

.nav-cta {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 2px;
  transition: all 0.2s ease;
}

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

/* Hero */
.hero {
  padding: 7rem 0 5rem;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.1rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}

.hero .sub {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 42ch;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 2px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

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

.btn-primary:hover {
  background: #d4bc7e;
  color: var(--navy);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--off-white);
}

.btn-secondary:hover {
  border-color: var(--muted);
}

/* Trust bar */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 3rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* Sections */
section {
  padding: 5rem 0;
}

section h2 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

section p {
  color: var(--muted);
  max-width: 62ch;
}

.section-intro {
  margin-bottom: 3rem;
}

/* Grid */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
}

.card {
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.75rem;
}

.card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--off-white);
}

.card p,
.card li {
  font-size: 0.92rem;
  color: var(--muted);
}

.card ul {
  list-style: none;
  margin-top: 0.75rem;
}

.card li {
  padding: 0.3rem 0;
  padding-left: 1rem;
  position: relative;
}

.card li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--gold-dim);
}

/* Principles strip */
.principles {
  background: var(--charcoal);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.principle {
  text-align: center;
  padding: 1rem 0.5rem;
}

.principle strong {
  display: block;
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.principle span {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Contact */
.contact-box {
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2.5rem;
  max-width: 520px;
  margin: 0 auto;
}

.contact-box p {
  margin-bottom: 1.5rem;
}

.contact-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 1.5rem;
  font-style: italic;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

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

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

/* Utility */
.text-center {
  text-align: center;
}

.mt-2 {
  margin-top: 2rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero {
    padding: 5rem 0 3.5rem;
  }

  section {
    padding: 3.5rem 0;
  }
}
