/* =============================================
   DOMINION TRUST CAPITAL — Global Stylesheet
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --green-dark: #1B4332;
  --green-mid: #2D6A4F;
  --green-light: #40916C;
  --gold: #1B4332;
  --gold-dark: #1B4332;
  --cream: #F9FAFB;
  --white: #ffffff;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-900: #111827;
  --shadow-soft: 0 4px 24px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.10);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.14);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
}

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

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--gray-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ── HEADER ─────────────────────────────────── */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  transition: box-shadow var(--transition);
}
#site-header.scrolled { box-shadow: var(--shadow-soft); }

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-img { height: 64px; width: auto; object-fit: contain; }

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
@media (max-width: 1099px) { .desktop-nav { display: none; } }

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  transition: color var(--transition);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--green-dark); }

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
@media (max-width: 767px) { .header-cta { display: none; } }

/* ── BUTTONS ─────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius-sm);
  padding: 10px 22px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--green-dark);
  color: var(--white);
}
.btn-primary:hover { background: var(--green-mid); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(11,90,58,0.3); }

.btn-gold {
  background: var(--gold);
  color: var(--green-dark);
}
.btn-gold:hover { background: var(--gold-dark); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--green-dark);
}
.btn-ghost:hover { background: var(--cream); }

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

.btn-outline-white {
  background: transparent;
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); }

.btn-lg { padding: 14px 32px; font-size: 17px; border-radius: 12px; }

.w-full { width: 100%; }

/* ── HAMBURGER ─────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
@media (max-width: 1099px) { .hamburger { display: flex; } }

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--green-dark);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE MENU ─────────────────────────────────── */
.mobile-menu {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
}
@media (max-width: 1099px) { .mobile-menu { display: block; } }
.mobile-menu.open { max-height: 600px; }

.mobile-nav { display: flex; flex-direction: column; padding: 16px 24px 0; }
.mobile-nav-link {
  padding: 12px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--gray-600);
  border-bottom: 1px solid var(--gray-100);
  transition: color var(--transition);
}
.mobile-nav-link:hover, .mobile-nav-link.active { color: var(--green-dark); }

.mobile-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 24px;
  background: var(--green-dark);
}

/* ── LAYOUT ─────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

/* ── TYPOGRAPHY ─────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', serif;
  line-height: 1.15;
  color: var(--green-dark);
}
.display { font-size: clamp(42px, 6vw, 80px); font-weight: 800; }
.h1 { font-size: clamp(32px, 4vw, 56px); }
.h2 { font-size: clamp(28px, 3vw, 42px); }
.h3 { font-size: clamp(20px, 2vw, 26px); }
.text-white h1, .text-white h2, .text-white h3, .bg-dark h1, .bg-dark h2, .bg-dark h3 { color: var(--white); }

.lead { font-size: 18px; line-height: 1.7; color: var(--gray-600); }
.label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── BACKGROUNDS ─────────────────────────────────── */
.bg-dark { background: var(--green-dark); color: var(--white); }
.bg-white { background: var(--white); }
.bg-cream { background: var(--cream); }

/* ── CARDS ─────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.card-pad { padding: 32px; }

/* ── GRID HELPERS ─────────────────────────────────── */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1023px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }

/* ── HERO SHARED ─────────────────────────────────── */
.page-hero {
  background: var(--green-dark);
  color: var(--white);
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1611974765270-ca12586343bb?q=80&w=2070&auto=format&fit=crop') center/cover;
  opacity: 0.07;
}
.page-hero .container { position: relative; z-index: 1; }

/* ── SCROLL ANIMATIONS ─────────────────────────────────── */
.animate {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate.visible { opacity: 1; transform: none; }
.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }

/* ── FOOTER ─────────────────────────────────── */
.site-footer { background: var(--green-dark); color: var(--white); }
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 24px 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
}
@media (max-width: 1023px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 639px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

.footer-logo { height: 80px; width: auto; object-fit: contain; margin-bottom: 16px; }
.footer-tagline { font-size: 13px; color: rgba(247,246,243,0.75); line-height: 1.7; margin-bottom: 16px; }
.footer-email {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: rgba(247,246,243,0.8);
  transition: color var(--transition);
}
.footer-email:hover { color: var(--gold); }
.footer-heading { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 13px; color: var(--gold); text-transform: uppercase; letter-spacing: 0.08em; display: block; margin-bottom: 16px; }
.footer-link { display: block; font-size: 13px; color: rgba(247,246,243,0.8); margin-bottom: 10px; transition: color var(--transition); }
.footer-link:hover { color: var(--gold); }
.footer-office { display: flex; gap: 10px; margin-bottom: 16px; font-size: 13px; color: rgba(247,246,243,0.8); line-height: 1.6; }
.footer-office svg { margin-top: 3px; flex-shrink: 0; }
.footer-office strong { color: var(--white); }

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 24px;
  border-top: 1px solid rgba(79,184,122,0.25);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 13px; color: rgba(247,246,243,0.6); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 13px; color: rgba(247,246,243,0.6); transition: color var(--transition); }
.footer-legal a:hover { color: var(--white); }

/* ── ICON WRAPPER ─────────────────────────────────── */
.icon-wrap {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.icon-wrap-green { background: rgba(11,90,58,0.08); color: var(--green-dark); }
.icon-wrap-gold { background: rgba(217,178,111,0.15); color: var(--gold-dark); }
.icon-wrap-light { background: rgba(79,184,122,0.12); color: var(--green-light); }

/* ── BADGE ─────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px;
  border-radius: 99px;
  font-size: 12px; font-weight: 700;
  background: rgba(79,184,122,0.15);
  color: var(--green-light);
  border: 1px solid rgba(79,184,122,0.25);
}

/* ── SECTION HEADER ─────────────────────────────────── */
.section-header { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-header .label { margin-bottom: 12px; }
.section-header .lead { margin-top: 12px; }

/* ── DIVIDER ─────────────────────────────────── */
.divider { height: 1px; background: var(--gray-200); margin: 0; }
