/* AGS Lending Partners — Brand Design System
   Luxury Authority Theme: Navy / White / Gold
   Fonts: Playfair Display (headings) + DM Sans (body)
   Phase 1: Shared foundation for all AGS pages
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=DM+Sans:wght@400;500;600;700&display=swap');

/* ── Custom Properties ─────────────────────────── */
:root {
  --navy: #0a1628;
  --navy-light: #0d1f3c;
  --navy-dark: #050d1a;
  --gold: #e8a838;
  --gold-dark: #d4952e;
  --white: #ffffff;
  --text-primary: #ffffff;
  --text-secondary: #8896ab;
  --text-muted: #6b7a8d;
  --border-subtle: rgba(255, 255, 255, 0.04);
  --border-gold: rgba(232, 168, 56, 0.12);
}

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

/* ── Base ──────────────────────────────────────── */
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--navy);
  color: var(--text-primary);
}

/* ── Typography ────────────────────────────────── */
h1,
h2,
h3 {
  font-family: 'Playfair Display', serif;
}

h1 {
  font-size: 56px;
  font-weight: 800;
}

h2 {
  font-size: 36px;
  font-weight: 700;
}

h3 {
  font-size: 22px;
  font-weight: 700;
}

/* ── Navigation ────────────────────────────────── */
.site-nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.site-nav .logo {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
  color: var(--text-primary);
}

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

.site-nav .nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  list-style: none;
}

.site-nav .nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-nav .nav-links a:hover {
  color: var(--gold);
}

.site-nav .nav-cta {
  border: 1.5px solid var(--gold);
  color: var(--gold);
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

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

/* ── Footer ────────────────────────────────────── */
.site-footer {
  background: var(--navy-dark);
  padding: 40px;
  text-align: center;
}

.site-footer .footer-logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

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

.site-footer p {
  font-size: 12px;
  color: #4a5568;
  line-height: 1.8;
}

.site-footer a {
  color: var(--gold);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer .footer-legal {
  font-size: 11px;
  color: #374151;
  border-top: 1px solid var(--border-subtle);
  margin-top: 20px;
  padding-top: 20px;
}

/* ── Buttons ───────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, #e8a838, #d4952e);
  color: #0a1628;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 16px;
  border-radius: 6px;
  padding: 16px 36px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 168, 56, 0.35);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 16px;
  border-radius: 6px;
  padding: 16px 36px;
  cursor: pointer;
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    color 0.2s ease;
}

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

.btn-outline {
  display: inline-block;
  background: transparent;
  border: 1.5px solid rgba(232, 168, 56, 0.3);
  color: var(--gold);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 16px;
  border-radius: 6px;
  padding: 16px 36px;
  cursor: pointer;
  text-decoration: none;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.btn-outline:hover {
  background: rgba(232, 168, 56, 0.1);
  border-color: var(--gold);
}

/* ── Section Patterns ──────────────────────────── */
.section-tag {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
}

/* ── Scroll Reveal ─────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.12s;
}

.reveal-delay-2 {
  transition-delay: 0.24s;
}

.reveal-delay-3 {
  transition-delay: 0.36s;
}

/* ── Form Focus ────────────────────────────────── */
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(232, 168, 56, 0.15);
}

/* ── Responsive ────────────────────────────────── */
@media (max-width: 768px) {
  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 16px;
  }

  .site-nav .nav-links {
    display: none;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 24px;
  }

  body {
    padding: 0 16px;
  }
}
