/* Aspen Corporate Financial Planning — global stylesheet */

:root {
  --navy-900: #0a1e35;
  --navy-800: #0f2a4a;
  --navy-700: #163a63;
  --navy-600: #1f4d80;
  --gold-600: #a97f2f;
  --gold-500: #c39a4f;
  --gold-100: #f4ead4;
  --ink: #1b2530;
  --muted: #5b6b7c;
  --line: #e2e6eb;
  --bg: #ffffff;
  --bg-alt: #f6f8fa;
  --success-bg: #eef7f0;
  --radius: 10px;
  --max-width: 1140px;
  --shadow-sm: 0 1px 3px rgba(10, 30, 53, 0.08);
  --shadow-md: 0 8px 24px rgba(10, 30, 53, 0.10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Fraunces", "Georgia", serif;
  color: var(--navy-900);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 600;
}

h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; color: var(--ink); }

a { color: var(--navy-700); text-decoration: none; }
a:hover { color: var(--gold-600); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

img { max-width: 100%; display: block; }

.muted { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-primary {
  background: var(--gold-600);
  color: #fff;
}
.btn-primary:hover { background: var(--gold-500); color: #fff; }

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}
.btn-outline:hover { background: rgba(255,255,255,0.12); color: #fff; }

.btn-navy {
  background: var(--navy-800);
  color: #fff;
}
.btn-navy:hover { background: var(--navy-700); color: #fff; }

.btn-sm { padding: 9px 18px; font-size: 0.85rem; }

/* Header / nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  height: 40px;
  width: auto;
  display: block;
}

.footer-logo {
  height: 34px;
  width: auto;
  display: block;
  background: #fff;
  padding: 8px 12px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--navy-800);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--navy-900);
  border-bottom-color: var(--gold-600);
}

.nav-cta { display: flex; align-items: center; gap: 18px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy-900);
  margin: 5px 0;
  transition: all 0.2s ease;
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .nav-links.open { max-height: 420px; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; width: 100%; padding: 14px 24px; border-bottom: 1px solid var(--line); }
  .nav-cta { display: none; }
}

/* Hero */
.hero {
  background: radial-gradient(circle at 15% 20%, var(--navy-700), var(--navy-900) 60%);
  color: #fff;
  padding: 96px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(195,154,79,0.16) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.5;
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 1; max-width: 680px; }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold-500);
  background: rgba(201,160,79,0.12);
  border: 1px solid rgba(201,160,79,0.35);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.eyebrow-alt {
  color: var(--gold-600);
  background: var(--gold-100);
  border-color: var(--gold-100);
}

.hero h1 { color: #fff; margin-bottom: 20px; }
.hero p.lead { color: #cdd8e3; font-size: 1.15rem; max-width: 560px; }
.hero-actions { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }

.page-hero {
  background: var(--navy-900);
  color: #fff;
  padding: 72px 0 60px;
}
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero p { color: #cdd8e3; max-width: 640px; font-size: 1.05rem; }

/* Sections */
section { padding: 84px 0; }
section.alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head.left { margin: 0 0 44px; text-align: left; }

/* Trust strip */
.trust-strip {
  background: var(--navy-800);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 28px 0;
}
.trust-item {
  color: #dbe4ee;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.trust-item strong { color: #fff; }
@media (max-width: 860px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Cards */
.grid {
  display: grid;
  gap: 28px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--gold-100);
  color: var(--gold-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card-icon svg { width: 22px; height: 22px; }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

@media (min-width: 901px) {
  .grid-2.reverse > :first-child { order: 2; }
  .grid-2.reverse > :last-child { order: 1; }
}

.tag {
  font-size: 0.78rem;
  font-weight: 500;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  color: var(--navy-800);
  padding: 5px 12px;
  border-radius: 999px;
}

/* Adviser profile */
.adviser-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 36px;
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 30px;
}
@media (max-width: 700px) {
  .adviser-card { grid-template-columns: 1fr; }
}
.adviser-avatar {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--navy-700), var(--navy-900));
  color: var(--gold-500);
  font-family: "Fraunces", serif;
  font-size: 2.4rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.adviser-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-photo {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.team-photo img { width: 100%; height: auto; }
.team-photo-caption {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 10px;
  text-align: center;
}
.adviser-name-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.director-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--gold-100);
  color: var(--gold-600);
  padding: 4px 10px;
  border-radius: 999px;
}
.adviser-credentials { color: var(--muted); font-size: 0.95rem; margin-top: 4px; }
.adviser-meta {
  margin-top: 16px;
  font-size: 0.88rem;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.adviser-contact {
  margin-top: 18px;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 0.92rem;
}
.adviser-contact a { font-weight: 600; }

/* CTA banner */
.cta-banner {
  background: linear-gradient(120deg, var(--navy-800), var(--navy-600));
  color: #fff;
  border-radius: 18px;
  padding: 56px;
  text-align: center;
}
.cta-banner h2 { color: #fff; }
.cta-banner p { color: #cdd8e3; max-width: 520px; margin: 0 auto 26px; }

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-detail {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.contact-detail:last-child { border-bottom: none; }
.contact-detail .label { font-weight: 600; color: var(--navy-900); font-size: 0.9rem; margin-bottom: 3px; }

.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: var(--navy-900);
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--bg-alt);
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: 2px solid var(--navy-600);
  outline-offset: 1px;
  background: #fff;
}
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 10px; }

#form-status { padding: 12px 14px; border-radius: 8px; font-weight: 500; }
.form-status-success { color: #1f7a4d; background: var(--success-bg); border: 1px solid #cdeadb; }
.form-status-error { color: #a3281e; background: #fbeceb; border: 1px solid #f3d0cd; }

.map-note {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
}

/* Disclosures page */
.doc-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 26px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.doc-info { display: flex; gap: 16px; align-items: flex-start; }
.doc-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--gold-100);
  color: var(--gold-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.doc-title { font-weight: 600; color: var(--navy-900); }
.doc-meta { font-size: 0.85rem; color: var(--muted); margin-top: 2px; }

.legal-box {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px 32px;
  margin-bottom: 28px;
  max-width: 760px;
}
.legal-box h3 { margin-bottom: 12px; }
.legal-box p:last-child { margin-bottom: 0; }

/* Footer */
.site-footer {
  background: var(--navy-900);
  color: #b9c6d4;
  padding: 56px 0 28px;
  font-size: 0.88rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand { color: #fff; font-family: "Fraunces", serif; font-size: 1.1rem; margin-bottom: 10px; }
.footer-grid p { color: #b9c6d4; }
.site-footer h4 {
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #b9c6d4; }
.site-footer a:hover { color: var(--gold-500); }

.footer-legal {
  padding-top: 28px;
  font-size: 0.8rem;
  line-height: 1.7;
  color: #8ea0b3;
}
.footer-legal p { color: #8ea0b3; margin-bottom: 12px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.78rem;
  color: #7a8ea3;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #fff;
  color: var(--navy-900);
  padding: 10px 16px;
  z-index: 1000;
}
.skip-link:focus { left: 12px; top: 12px; }
