/* ═══════════════════════════════════════════════
   INDALO AFRICA FINANCIAL SOLUTIONS
   Shared Design System — v1.0
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500&display=swap');

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

:root {
  /* Brand Palette */
  --gold:        #B8923A;
  --gold-light:  #D4AB60;
  --gold-pale:   #F5EDD8;
  --gold-dim:    rgba(184,146,58,0.15);
  --ink:         #0C1016;
  --ink-soft:    #1A2230;
  --charcoal:    #2C3542;
  --mid:         #4E5D6E;
  --muted:       #8A9AAA;
  --mist:        #F6F4F0;
  --cream:       #FAF8F4;
  --white:       #FFFFFF;
  --border:      #DDD7CC;

  /* Typography */
  --serif: 'Cormorant Garamond', 'Georgia', serif;
  --sans:  'DM Sans', system-ui, sans-serif;

  /* Spacing */
  --section-pad: 88px 56px;
  --section-pad-sm: 56px 24px;

  /* Effects */
  --radius: 2px;
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.10);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.14);
  --transition: 0.32s cubic-bezier(0.25,0.46,0.45,0.94);
}

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

body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button { font-family: var(--sans); }

/* ── UTILITY ── */
.serif { font-family: var(--serif); }
.gold  { color: var(--gold); }
.muted { color: var(--muted); }

.section-tag {
  display: inline-block;
  font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 600; line-height: 1.12;
  color: var(--ink);
}

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

.section-sub {
  font-size: 0.92rem; color: var(--mid);
  line-height: 1.75; margin-top: 14px;
  max-width: 540px;
}

.section-sub.light { color: rgba(255,255,255,0.6); }

.divider-gold {
  width: 40px; height: 2px; background: var(--gold);
  margin: 18px 0;
}

/* ── NAV ── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 56px; height: 64px;
  background: rgba(12,16,22,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(184,146,58,0.18);
  transition: background var(--transition);
}

.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img {
  height: 36px; width: auto; max-width: 160px;
  object-fit: contain;
  padding: 5px 14px;
  background: rgba(255,255,255,0.95);
  border-radius: 2px;
}
.nav-brand-name {
  font-family: var(--serif); font-size: 1.05rem; font-weight: 600;
  color: var(--white); line-height: 1.15;
}
.nav-brand-sub {
  display: block; font-family: var(--sans);
  font-size: 0.58rem; font-weight: 400; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold); margin-top: 1px;
}

.nav-links {
  display: flex; align-items: center; gap: 30px; list-style: none;
}
.nav-links a {
  font-size: 0.78rem; font-weight: 400; letter-spacing: 0.04em;
  color: rgba(255,255,255,0.65); text-decoration: none;
  transition: color var(--transition); padding: 4px 0;
  border-bottom: 1px solid transparent;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-light);
  border-bottom-color: var(--gold);
}

.nav-cta {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; text-decoration: none;
  padding: 10px 22px; background: var(--gold); color: var(--white);
  border: none; cursor: pointer;
  transition: background var(--transition);
}
.nav-cta:hover { background: var(--gold-light); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; border: none; background: none; padding: 4px;
}
.hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--white); transition: var(--transition);
}

/* Mobile nav drawer */
.mobile-nav {
  display: none; position: fixed; top: 74px; left: 0; right: 0; bottom: 0;
  background: var(--ink); z-index: 190; flex-direction: column;
  padding: 40px 32px; gap: 0; overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--serif); font-size: 1.6rem; font-weight: 600;
  color: var(--white); text-decoration: none; padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--gold-light); }
.mobile-nav .mobile-cta {
  margin-top: 32px; font-family: var(--sans);
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 16px 28px;
  background: var(--gold); color: var(--white);
  text-align: center; display: block; width: fit-content;
}

/* ── BUTTONS ── */
.btn-gold {
  display: inline-block; font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none;
  padding: 14px 30px; background: var(--gold); color: var(--white);
  border: none; cursor: pointer; transition: background var(--transition), transform var(--transition);
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-outline-white {
  display: inline-block; font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none;
  padding: 14px 30px; background: transparent; color: var(--white);
  border: 1px solid rgba(255,255,255,0.4); cursor: pointer;
  transition: all var(--transition);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.08); border-color: var(--white); }

.btn-outline-dark {
  display: inline-block; font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none;
  padding: 14px 30px; background: transparent; color: var(--ink);
  border: 1px solid var(--ink); cursor: pointer;
  transition: all var(--transition);
}
.btn-outline-dark:hover { background: var(--ink); color: var(--white); }

/* ── FOOTER ── */
.site-footer {
  background: var(--ink); padding: 72px 56px 32px;
  border-top: 1px solid rgba(184,146,58,0.2);
}
.footer-top {
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 56px;
}
.footer-logo-name {
  font-family: var(--serif); font-size: 1rem; font-weight: 600;
  color: var(--white); margin-bottom: 3px;
}
.footer-logo-tag {
  font-size: 0.6rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold);
}
.footer-desc {
  font-size: 0.78rem; color: rgba(255,255,255,0.38);
  line-height: 1.75; margin-top: 14px; max-width: 230px;
}
.footer-col h4 {
  font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px; font-weight: 500;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a {
  font-size: 0.78rem; color: rgba(255,255,255,0.45);
  text-decoration: none; transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 24px; display: flex; justify-content: space-between;
  align-items: center; gap: 16px; flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.7rem; color: rgba(255,255,255,0.28); }
.footer-bottom a { color: rgba(255,255,255,0.28); text-decoration: none; transition: color var(--transition); }
.footer-bottom a:hover { color: var(--gold); }
.fsca-pill {
  font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); background: rgba(184,146,58,0.1);
  border: 1px solid rgba(184,146,58,0.25); padding: 4px 12px;
}

/* ── FORMS ── */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--mid);
}
.field label .req { color: var(--gold); }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 0.88rem; color: var(--ink);
  padding: 12px 16px; border: 1px solid var(--border);
  background: var(--mist); outline: none; width: 100%; appearance: none;
  transition: border-color var(--transition), background var(--transition);
  border-radius: 0;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold); background: var(--white);
}
.field textarea { resize: vertical; min-height: 120px; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%234E5D6E'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 36px; cursor: pointer;
}

/* ── REVEAL ANIMATION ── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .site-nav { padding: 0 24px; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .site-footer { padding: 56px 24px 28px; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
}
