/* =============================================
   VEXILLUM INVESTMENTS — Shared Stylesheet
   ============================================= */

/* ── Google Fonts imported in HTML <head> ── */

/* ── Custom Properties ── */
:root {
  --navy:     #0D1B2A;
  --gold:     #C9A84C;
  --gold-light: #e0c278;
  --off-white:#F5F2EC;
  --slate:    #6B7280;
  --white:    #ffffff;
  --border:   #e2ddd5;

  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --max-width: 1120px;
  --section-pad: 5rem 1.5rem;
  --radius: 6px;
  --transition: 0.25s ease;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--off-white);
  color: var(--navy);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

ul { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.15rem;
  color: var(--slate);
  max-width: 680px;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
}

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

section { padding: var(--section-pad); }

.section--navy  { background-color: var(--navy); color: var(--off-white); }
.section--navy h1,
.section--navy h2,
.section--navy h3,
.section--navy h4 { color: var(--off-white); }
.section--navy .section-label { color: var(--gold); }
.section--navy .lead { color: rgba(245,242,236,0.75); }

.section--white { background-color: var(--white); }

.section--tinted { background-color: #eeeae2; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
}

.btn--primary {
  background-color: var(--gold);
  color: var(--navy);
}
.btn--primary:hover { background-color: var(--gold-light); transform: translateY(-2px); }

.btn--outline {
  background-color: transparent;
  border-color: var(--gold);
  color: var(--gold);
}
.btn--outline:hover { background-color: var(--gold); color: var(--navy); transform: translateY(-2px); }

.btn--outline-white {
  background-color: transparent;
  border-color: var(--off-white);
  color: var(--off-white);
}
.btn--outline-white:hover { background-color: var(--off-white); color: var(--navy); }

/* ── Navigation ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--off-white);
  border-bottom: 1px solid rgba(201,168,76,0.35);
  transition: box-shadow var(--transition);
}

.nav.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.25); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 104px;
  gap: 1rem;
}

/* Logo lockup */
.nav__logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  line-height: 1;
  text-decoration: none;
  flex-shrink: 0;
}
.nav__logo img {
  display: block;
  height: 80px;
  width: auto;
  max-width: none;
}
.nav__logo-divider {
  display: block;
  width: 1px;
  height: 38px;
  background-color: rgba(201,168,76,0.3);
  flex-shrink: 0;
}
.nav__logo-text {
  display: flex;
  flex-direction: column;
}
.nav__logo-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1;
}
.nav__logo-sub {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1;
  margin-top: 0.4rem;
}

/* Desktop links */
.nav__links {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}
.nav__link:hover  { color: var(--navy); background-color: rgba(201,168,76,0.12); }
.nav__link.active { color: var(--gold); }

.nav__cta { margin-left: 0.75rem; }

/* Hamburger */
.nav__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__burger span {
  display: block;
  height: 2px;
  background-color: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav__mobile {
  display: none;
  flex-direction: column;
  background-color: var(--off-white);
  border-top: 1px solid rgba(201,168,76,0.35);
  padding: 1rem 1.5rem 1.5rem;
  gap: 0.25rem;
}
.nav__mobile.open { display: flex; }
.nav__mobile .nav__link {
  padding: 0.75rem 1rem;
  font-size: 1rem;
}
.nav__mobile .btn { margin-top: 0.75rem; width: 100%; justify-content: center; }

@media (min-width: 768px) {
  .nav__links  { display: flex; }
  .nav__burger { display: none; }
  .nav__mobile { display: none !important; }
}

@media (max-width: 767px) {
  .nav__inner    { height: 88px; }
  .nav__logo img { height: 60px; }
}
@media (max-width: 480px) {
  .nav__logo-text,
  .nav__logo-divider { display: none; }
}

/* ── Hero ── */
.hero {
  background-color: var(--navy);
  color: var(--off-white);
  padding: 6rem 1.5rem 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(201,168,76,0.08) 0%, transparent 65%);
  pointer-events: none;
}

.hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
}

.hero__eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.hero h1 {
  color: var(--off-white);
  margin-bottom: 1.5rem;
  max-width: 720px;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero__sub {
  font-size: 1.15rem;
  color: rgba(245,242,236,0.78);
  max-width: 580px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.hero__divider {
  width: 60px;
  height: 2px;
  background-color: var(--gold);
  margin: 2.5rem 0;
  opacity: 0.6;
}

/* ── Cards ── */
.card-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 600px) { .card-grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .card-grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .card-grid--4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 600px) { .card-grid--2-to-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .card-grid--2-to-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: 0 8px 28px rgba(13,27,42,0.1); transform: translateY(-3px); }

.card--navy {
  background-color: rgba(255,255,255,0.05);
  border-color: rgba(201,168,76,0.2);
}
.card--navy h3 { color: var(--off-white); }
.card--navy p  { color: rgba(245,242,236,0.72); }

.card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(201,168,76,0.12);
  margin-bottom: 1.25rem;
}
.card__icon svg { color: var(--gold); }

/* ── Feature row (two-col text+visual) ── */
.feature-row {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 768px) {
  .feature-row { grid-template-columns: 1fr 1fr; }
  .feature-row--reverse .feature-row__text { order: 2; }
  .feature-row--reverse .feature-row__visual { order: 1; }
}
.feature-row__visual {
  background-color: var(--navy);
  border-radius: var(--radius);
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
}

/* ── Stat bar ── */
.stat-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  background-color: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat-bar__item {
  flex: 1 1 140px;
  background-color: var(--white);
  padding: 1.75rem 1.5rem;
  text-align: center;
}
.stat-bar__number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  display: block;
}
.stat-bar__label {
  font-size: 0.85rem;
  color: var(--slate);
  margin-top: 0.35rem;
  display: block;
}

/* ── Checklist ── */
.checklist { display: flex; flex-direction: column; gap: 0.75rem; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.97rem;
}
.checklist__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: rgba(201,168,76,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.checklist__icon svg { color: var(--gold); }

/* ── Steps ── */
.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: flex;
  gap: 1.5rem;
  position: relative;
  padding-bottom: 2.5rem;
}
.step:last-child { padding-bottom: 0; }
.step::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 44px;
  bottom: 0;
  width: 2px;
  background-color: var(--border);
}
.step:last-child::before { display: none; }
.step__num {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--navy);
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.step__body { padding-top: 0.4rem; }
.step__body h3 { margin-bottom: 0.4rem; }

/* ── Comparison Table ── */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.comparison-table th, .comparison-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.comparison-table th {
  background-color: var(--navy);
  color: var(--off-white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}
.comparison-table th.highlight { color: var(--gold); }
.comparison-table td.highlight { font-weight: 600; color: var(--navy); }
.comparison-table tr:nth-child(even) td { background-color: rgba(245,242,236,0.5); }
.comparison-table tr:last-child td { border-bottom: none; }

/* ── Form ── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.97rem;
  color: var(--navy);
  background-color: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.18);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-grid {
  display: grid;
  gap: 0 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) { .form-grid { grid-template-columns: 1fr 1fr; } }

/* ── CTA Band ── */
.cta-band {
  background-color: var(--navy);
  padding: 4.5rem 1.5rem;
  text-align: center;
}
.cta-band h2 { color: var(--off-white); margin-bottom: 1rem; }
.cta-band p  { color: rgba(245,242,236,0.72); max-width: 520px; margin: 0 auto 2rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ── Footer ── */
.footer {
  background-color: #07111c;
  color: rgba(245,242,236,0.55);
  padding: 3rem 1.5rem 2rem;
  font-size: 0.88rem;
}
.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .footer__inner { grid-template-columns: 1.5fr 1fr 1fr; } }

.footer__brand p { font-size: 0.83rem; line-height: 1.6; }

/* ── Footer wordmark ── */
.footer__logo-link {
  display: flex;
  text-decoration: none;
  margin-bottom: 0.85rem;
}
.footer__logo-text {
  display: flex;
  flex-direction: column;
}
.footer__logo-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--off-white);
  line-height: 1;
}
.footer__logo-sub {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1;
  margin-top: 0.4rem;
}
.footer__heading {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.35);
  margin-bottom: 0.85rem;
}
.footer__links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer__links a { transition: color var(--transition); }
.footer__links a:hover { color: var(--gold); }
.footer__bottom {
  max-width: var(--max-width);
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(245,242,236,0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: space-between;
  font-size: 0.8rem;
}

/* ── Page Hero (inner pages) ── */
.page-hero {
  background-color: var(--navy);
  padding: 5rem 1.5rem 4rem;
  text-align: center;
}
.page-hero h1 { color: var(--off-white); margin-bottom: 1rem; }
.page-hero .lead { color: rgba(245,242,236,0.72); margin: 0 auto; text-align: center; }

/* ── Divider ── */
.gold-divider {
  width: 48px;
  height: 3px;
  background-color: var(--gold);
  border-radius: 2px;
  margin: 1.25rem auto;
}
.gold-divider--left { margin-left: 0; }

/* ── Utilities ── */
.text-center { text-align: center; }
.text-gold   { color: var(--gold); }
.mb-1  { margin-bottom: 1rem; }
.mb-2  { margin-bottom: 2rem; }
.mb-3  { margin-bottom: 3rem; }
.mt-1  { margin-top: 1rem; }
.mt-2  { margin-top: 2rem; }

/* ── Fade-in on scroll ── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in--delay-1 { transition-delay: 0.1s; }
.fade-in--delay-2 { transition-delay: 0.2s; }
.fade-in--delay-3 { transition-delay: 0.3s; }
.fade-in--delay-4 { transition-delay: 0.4s; }

/* ── Alert / banner ── */
.alert-bar {
  background-color: rgba(201,168,76,0.12);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem;
  font-size: 0.93rem;
}

/* ── Sector pills ── */
.pill-group { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 600;
  border: 1.5px solid var(--gold);
  color: var(--gold);
}

/* ── Blockquote / pull quote ── */
.pull-quote {
  border-left: 3px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  line-height: 1.4;
  color: var(--navy);
  font-style: italic;
}

/* ── Success message ── */
.form-success {
  display: none;
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  color: #155724;
}
