/* ============================================================
   FINANCIAL ADVISORY LANDING PAGE — styles.css
   Brand colors sourced from company brand manual
   ============================================================ */

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

/* ── BRAND COLORS (from brand manual) ── */
:root {
  --navy:       #1F355E;   /* Pantone 534 C – primary */
  --cyan:       #4597CB;   /* Pantone 7688 C – primary */
  --gray:       #7D868C;   /* Pantone 430 C – primary */
  --lightblue:  #BFD4E7;   /* Pantone 544 C – primary */
  --orange:     #FA8D29;   /* Pantone 715 C – accent */
  --green:      #6CC049;   /* Pantone 360 C – accent */
  --lightgray:  #D0D3D4;   /* Pantone 427 C – light gray */

  /* Derived utilities */
  --navy-dark:  #162340;
  --navy-dim:   rgba(31,53,94,0.08);
  --cyan-dim:   rgba(69,151,203,0.12);
  --white:      #ffffff;
  --offwhite:   #F4F7FA;
  --ink:        #1a1a1a;
  --rule:       #DAEAF5;

  /* Typography — Avenir substitute via Nunito Sans; Arial fallback per brand manual */
  --font-primary: 'Nunito Sans', Arial, sans-serif;
  --font-serif:   Georgia, 'Times New Roman', serif; /* Minion Pro substitute */
}

/* ── BASE ── */
body {
  background: #dde4ec;
  color: var(--ink);
  font-family: var(--font-primary);
  font-weight: 400;
  line-height: 1.6;
}

/* ══ PAGE ══ */
.page {
  max-width: 900px;
  margin: 36px auto;
  background: var(--white);
  box-shadow: 0 20px 80px rgba(31,53,94,0.18);
  position: relative;
  overflow: hidden;
}

/* ══ HEADER BAR ══ */
.header-bar {
  background: var(--navy);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 18px 44px;
  gap: 24px;
  position: relative;
}

.header-bar::before {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    55deg, transparent, transparent 36px,
    rgba(255,255,255,0.025) 36px, rgba(255,255,255,0.025) 37px
  );
  pointer-events: none;
}

.logo-zone {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.logo-box {
  min-width: 180px;
  height: 64px;
  border: 1.5px dashed rgba(191,212,231,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s;
  padding: 0 16px;
}
.logo-box:hover { border-color: var(--cyan); }
.logo-box input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.logo-box .logo-ph {
  display: flex; align-items: center; gap: 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(191,212,231,0.5);
}
.logo-box img#loaded-logo {
  max-height: 56px; max-width: 180px;
  object-fit: contain;
  display: none;
}

.header-tagline {
  font-size: 11px;
  font-weight: 300;
  color: var(--lightblue);
  letter-spacing: 0.06em;
  opacity: 0.8;
  border-left: 1px solid rgba(191,212,231,0.25);
  padding-left: 20px;
  line-height: 1.5;
}

.photo-zone {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
}

.photo-box {
  width: 88px;
  height: 100px;
  border: 1.5px dashed rgba(191,212,231,0.45);
  background: rgba(255,255,255,0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s;
  flex-shrink: 0;
}
.photo-box:hover { border-color: var(--cyan); }
.photo-box input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.photo-box .ph-icon { opacity: 0.38; }
.photo-box .ph-label {
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(191,212,231,0.4);
  text-align: center;
  line-height: 1.5;
  padding: 0 6px;
}
.photo-box img#loaded-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: none;
}

/* Accent bar */
.accent-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--orange) 0%, var(--cyan) 35%, var(--lightblue) 100%);
}

/* ══ HERO BAND ══ */
.hero-band {
  background: var(--navy-dark);
  padding: 38px 44px 40px;
  position: relative;
  overflow: hidden;
}

.hero-band::after {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(69,151,203,0.14) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-skyline {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  opacity: 0.05;
  pointer-events: none;
}

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

.hero-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 24px; height: 2px;
  background: var(--orange);
}

.hero-band h1 {
  font-family: var(--font-primary);
  font-size: clamp(28px, 3.8vw, 44px);
  font-weight: 300;
  line-height: 1.15;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.hero-band h1 strong { font-weight: 700; color: var(--lightblue); }

.hero-sub {
  font-size: 13px;
  font-weight: 300;
  color: rgba(191,212,231,0.65);
  letter-spacing: 0.04em;
}

/* ══ BODY ══ */
.body {
  padding: 46px 44px 52px;
  background: var(--offwhite);
}

/* Section label */
.section-label {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 18px;
  display: flex; align-items: center; gap: 12px;
  animation: fadeUp 0.6s 0.14s ease both;
}
.section-label::after {
  content: '';
  flex: 1; height: 1px;
  background: var(--lightblue);
}

/* Intro */
.intro {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 30px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--rule);
  animation: fadeUp 0.6s 0.05s ease both;
}
.intro-div { background: var(--lightblue); min-height: 56px; }
.intro p { font-size: 13.5px; color: #2e3a4a; line-height: 1.82; }
.intro p strong { font-weight: 700; color: var(--navy); }

/* Pull quote */
.pull-quote {
  background: var(--navy);
  padding: 26px 36px 26px 62px;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
  animation: fadeUp 0.6s 0.1s ease both;
}
.pull-quote::before {
  content: '\201C';
  font-family: var(--font-serif);
  font-size: 92px;
  line-height: 0.5;
  color: var(--cyan);
  position: absolute;
  top: 24px; left: 22px;
  opacity: 0.45;
}
.pull-quote::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--orange);
}
.pull-quote .pq-dots {
  position: absolute; right: 0; top: 0; bottom: 0; width: 100px;
  background-image: radial-gradient(circle, rgba(69,151,203,0.15) 1px, transparent 1px);
  background-size: 11px 11px;
  pointer-events: none;
}
.pull-quote p {
  font-family: var(--font-serif);
  font-size: 18.5px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.6;
  color: var(--lightblue);
  position: relative; z-index: 1;
}

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2px;
  margin-bottom: 40px;
  animation: fadeUp 0.6s 0.18s ease both;
}

.svc {
  background: var(--white);
  padding: 20px 18px 22px;
  border-top: 3px solid transparent;
  transition: border-color 0.22s, transform 0.22s, box-shadow 0.22s;
}
.svc:hover {
  border-top-color: var(--cyan);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(31,53,94,0.1);
  position: relative; z-index: 1;
}

.svc-icon {
  width: 34px; height: 34px;
  background: var(--cyan-dim);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  margin-bottom: 11px;
}

.svc h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 7px;
  line-height: 1.3;
}

.svc p {
  font-size: 11.5px;
  font-weight: 300;
  color: var(--gray);
  line-height: 1.65;
}

/* SBA Spotlight */
.sba-section {
  display: grid;
  grid-template-columns: auto 1fr;
  margin-bottom: 40px;
  overflow: hidden;
  animation: fadeUp 0.6s 0.24s ease both;
}

.sba-side {
  background: var(--cyan);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 26px 13px;
  gap: 12px;
  min-width: 50px;
}
.sba-side-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: white;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
}

.sba-body {
  background: var(--navy);
  padding: 26px 30px;
}
.sba-body h3 {
  font-size: 20px;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.25;
}
.sba-body p {
  font-size: 12.5px;
  font-weight: 300;
  color: rgba(191,212,231,0.7);
  line-height: 1.78;
}
.sba-body p strong { color: var(--orange); font-weight: 700; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.chip {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid rgba(69,151,203,0.4);
  color: rgba(191,212,231,0.7);
  border-radius: 3px;
}

/* Stats bar */
.stats-bar {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2px;
  margin-bottom: 40px;
  animation: fadeUp 0.6s 0.28s ease both;
}

.stat {
  background: var(--navy-dark);
  padding: 22px 16px;
  text-align: center;
  border-bottom: 3px solid transparent;
  transition: border-color 0.2s;
}
.stat:hover { border-bottom-color: var(--orange); }
.stat-val {
  font-size: 26px;
  font-weight: 300;
  color: var(--lightblue);
  line-height: 1;
  margin-bottom: 7px;
  letter-spacing: -0.01em;
}
.stat-lbl {
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(191,212,231,0.38);
  line-height: 1.5;
}

/* Fit grid */
.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-bottom: 40px;
  animation: fadeUp 0.6s 0.32s ease both;
}

.fit-box { background: var(--white); padding: 22px 22px; }
.fit-box h4 {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule);
}
.fit-box ul { list-style: none; }
.fit-box li {
  font-size: 12.5px;
  font-weight: 400;
  color: #2e3a4a;
  padding: 6px 0 6px 18px;
  position: relative;
  border-bottom: 1px solid var(--offwhite);
  line-height: 1.5;
}
.fit-box li:last-child { border-bottom: none; }
.fit-box li::before {
  content: '—';
  position: absolute; left: 0; top: 7px;
  color: var(--cyan); font-size: 11px;
}

/* CTA */
.cta {
  text-align: center;
  padding: 36px 0 4px;
  border-top: 2px solid var(--lightblue);
  animation: fadeUp 0.6s 0.36s ease both;
}

.ornament {
  display: flex; align-items: center; gap: 12px;
  justify-content: center; margin-bottom: 20px;
}
.ornament span { width: 44px; height: 1px; background: var(--lightblue); display: block; }
.ornament .dia { width: 6px; height: 6px; background: var(--cyan); transform: rotate(45deg); flex-shrink: 0; }

.cta h3 {
  font-size: 25px;
  font-weight: 300;
  color: var(--navy);
  margin-bottom: 10px;
}
.cta > p {
  font-size: 13px;
  font-weight: 300;
  color: var(--gray);
  margin-bottom: 24px;
  max-width: 420px;
  margin-left: auto; margin-right: auto;
  line-height: 1.65;
}

.cta-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }

.btn-p {
  background: var(--cyan);
  color: white; border: none;
  padding: 13px 30px;
  font-family: var(--font-primary);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer; text-decoration: none; display: inline-block;
  transition: background 0.2s;
}
.btn-p:hover { background: var(--navy); }

.btn-s {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--lightblue);
  padding: 13px 30px;
  font-family: var(--font-primary);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer; text-decoration: none; display: inline-block;
  transition: border-color 0.2s, color 0.2s;
}
.btn-s:hover { border-color: var(--cyan); color: var(--cyan); }

.creds {
  font-size: 11px; font-weight: 400;
  color: var(--gray); letter-spacing: 0.04em;
  line-height: 2;
  margin-bottom: 6px;
}
.creds strong { color: var(--navy); font-weight: 700; }
.sep { margin: 0 7px; opacity: 0.3; }

/* Disclosure footer */
.disclosure {
  background: var(--navy-dark);
  padding: 18px 44px;
  border-top: 3px solid var(--cyan);
}
.disclosure p {
  font-size: 9px;
  font-weight: 400;
  color: rgba(191,212,231,0.52);
  line-height: 1.75;
  letter-spacing: 0.02em;
}
.disclosure p + p { margin-top: 6px; }
.disclosure strong { font-weight: 600; color: rgba(191,212,231,0.7); }

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ══ RESPONSIVE ══ */
@media (max-width: 660px) {
  .header-bar { grid-template-columns: 1fr; padding: 16px 24px; }
  .hero-band { padding: 30px 24px 32px; }
  .body { padding: 32px 24px 44px; }
  .intro { grid-template-columns: 1fr; }
  .intro-div { display: none; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .sba-section { grid-template-columns: 1fr; }
  .sba-side { flex-direction: row; padding: 12px 18px; min-width: unset; }
  .sba-side-label { writing-mode: horizontal-tb; transform: none; }
  .stats-bar { grid-template-columns: 1fr; }
  .fit-grid { grid-template-columns: 1fr; }
  .disclosure { padding: 16px 24px; }
}
