:root {
  --navy: #1E3A5F;
  --navy-dark: #152A45;
  --navy-light: #2A4A73;
  --gold: #D4A853;
  --gold-light: #E8C97D;
  --gold-dark: #B8923F;
  --slate: #475569;
  --ice: #F0F4F8;
  --white: #FFFFFF;
  --charcoal: #1F2937;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; color: var(--charcoal); line-height: 1.6; background: var(--white); overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { font-family: 'Outfit', sans-serif; font-weight: 700; line-height: 1.2; }
a { color: var(--gold-dark); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Navigation */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(30, 58, 95, 0.95); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(212, 168, 83, 0.2); }
.nav-inner { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; max-width: 1200px; margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-icon { width: 42px; height: 42px; display: block; }
.logo-text { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1.4rem; color: var(--white); }
.logo-text span { color: var(--gold); }
.nav-links { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-links > li { position: relative; }
.nav-links a { color: rgba(255,255,255,0.85); text-decoration: none; font-weight: 500; font-size: 0.95rem; transition: color 0.3s; }
.nav-links a:hover { color: var(--gold); }
.nav-cta { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%); color: var(--navy-dark) !important; padding: 10px 24px; border-radius: 8px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; border: none; font-family: inherit; font-size: 0.95rem; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(212, 168, 83, 0.4); }
.nav-cta-arrow { width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-1px, -1px); transition: transform 0.3s; }
.has-dropdown.open .nav-cta-arrow { transform: rotate(-135deg) translate(-2px, -2px); }
.nav-dropdown { position: absolute; top: calc(100% + 12px); right: 0; min-width: 220px; background: var(--white); border-radius: 12px; box-shadow: 0 12px 40px rgba(0,0,0,0.25); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.2s, transform 0.2s, visibility 0.2s; list-style: none; z-index: 1100; }
.has-dropdown.open .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown a { display: block; padding: 10px 14px; color: var(--navy) !important; font-weight: 600; font-size: 0.95rem; border-radius: 8px; transition: background 0.2s; text-decoration: none; }
.nav-dropdown a:hover { background: var(--ice); color: var(--gold-dark) !important; }
.nav-dropdown a small { display: block; color: var(--slate); font-weight: 400; font-size: 0.8rem; margin-top: 2px; }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-toggle span { display: block; width: 26px; height: 2px; background: var(--white); margin: 5px 0; transition: transform 0.3s, opacity 0.3s; }
.mobile-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 16px 32px; border-radius: 10px; font-weight: 600; font-size: 1rem; text-decoration: none; transition: all 0.3s ease; cursor: pointer; border: none; font-family: inherit; }
.btn-primary { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%); color: var(--navy-dark); box-shadow: 0 4px 20px rgba(212, 168, 83, 0.3); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(212, 168, 83, 0.5); }
.btn-secondary { background: rgba(30, 58, 95, 0.08); color: var(--navy); border: 1px solid rgba(30, 58, 95, 0.15); }
.btn-secondary:hover { background: rgba(30, 58, 95, 0.12); }

/* Page header (sub-pages) */
.page-header { padding: 140px 0 60px; background: linear-gradient(165deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%); color: var(--white); position: relative; overflow: hidden; }
.page-header::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 50% at 30% 40%, rgba(212, 168, 83, 0.15) 0%, transparent 60%); pointer-events: none; }
.page-header .container { position: relative; z-index: 2; }
.page-header h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 12px; }
.page-header h1 .gold { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.page-header p { color: rgba(255,255,255,0.78); font-size: 1.1rem; max-width: 640px; }

/* Page body */
.page-body { padding: 80px 0 120px; background: var(--white); }
.page-body .container { max-width: 860px; }
.page-body h2 { font-size: 1.5rem; color: var(--navy); margin: 32px 0 12px; }
.page-body h3 { font-size: 1.15rem; color: var(--navy); margin: 24px 0 8px; }
.page-body p, .page-body li { color: var(--charcoal); font-size: 1rem; margin-bottom: 12px; }
.page-body ul, .page-body ol { padding-left: 24px; margin-bottom: 16px; }
.page-body strong { color: var(--navy); }
.page-body .meta { color: var(--slate); font-size: 0.9rem; font-style: italic; margin-bottom: 32px; }

/* Footer */
footer { background: var(--charcoal); padding: 80px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.9rem; max-width: 280px; }
.footer-column h4 { color: var(--gold); font-size: 0.9rem; font-weight: 700; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.footer-column ul { list-style: none; }
.footer-column li { margin-bottom: 12px; }
.footer-column a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.9rem; transition: color 0.3s; }
.footer-column a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-bottom span { color: rgba(255,255,255,0.5); font-size: 0.85rem; }
.social-links { display: flex; gap: 16px; }
.social-links a { color: rgba(255,255,255,0.5); transition: color 0.3s; }
.social-links a:hover { color: var(--gold); }
.social-links svg { width: 20px; height: 20px; }

/* Responsive */
@media (max-width: 768px) {
  .mobile-toggle { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-dark); padding: 16px 24px; margin: 0;
    border-bottom: 1px solid rgba(212, 168, 83, 0.2);
    max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  }
  .nav-links.open { max-height: 500px; }
  .nav-links > li { width: 100%; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .nav-links > li:last-child { border-bottom: none; }
  .nav-cta { display: inline-flex; }
  .nav-dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: rgba(255,255,255,0.05); margin-top: 12px; padding: 4px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; }
  .has-dropdown.open .nav-dropdown { max-height: 400px; padding: 8px; }
  .nav-dropdown a { color: rgba(255,255,255,0.9) !important; }
  .nav-dropdown a:hover { background: rgba(255,255,255,0.08); color: var(--gold) !important; }
  .nav-dropdown a small { color: rgba(255,255,255,0.55); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
