/* =============================================
   Traverse CFO — Shared Stylesheet
   Brand: #0A1628 navy, #0068B4 blue, Inter + Playfair Display
   ============================================= */

/* Google Fonts loaded via <link> in HTML for better performance */

:root {
  --navy:       #0A1628;
  --navy-mid:   #1B2B4B;
  --navy-light: #243755;
  --blue:       #0068B4;
  --blue-v:     #0084E2;
  --blue-light: #E6F2FB;
  --white:      #FFFFFF;
  --off-white:  #F7F8FA;
  --border:     #E2E8F0;
  --text:       #2D3748;
  --muted:      #718096;
  --gold:       #C8972B;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

/* ── NAV ─────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.nav-logo img {
  height: 44px;
  width: auto;
}

.footer-logo img {
  height: 36px;
  width: auto;
}

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

.nav-links > li {
  position: relative;
}

.nav-links > li > a,
.nav-links > li > span {
  display: block;
  padding: 0 18px;
  height: 96px;
  line-height: 96px;
  color: var(--off-white);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}

.nav-links > li > a:hover,
.nav-links > li > span:hover,
.nav-links > li:hover > a,
.nav-links > li:hover > span {
  color: var(--blue-v);
  background: rgba(255,255,255,0.05);
}

/* Dropdown */
.dropdown { position: relative; }

.dropdown-menu {
  display: none;
  position: absolute;
  top: 96px;
  left: 0;
  background: var(--navy-mid);
  min-width: 220px;
  border-top: 2px solid var(--blue);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  z-index: 200;
}

.dropdown:hover .dropdown-menu { display: block; }

.dropdown-menu a {
  display: block;
  padding: 12px 20px;
  color: var(--off-white);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 400;
  transition: background 0.15s, color 0.15s;
}

.dropdown-menu a:hover {
  background: rgba(255,255,255,0.08);
  color: var(--blue-v);
}

.nav-cta {
  background: var(--blue) !important;
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: 4px !important;
  font-weight: 600 !important;
  height: auto !important;
  line-height: normal !important;
  margin-left: 12px;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--blue-v) !important; }

/* ── HERO ─────────────────────────────────────── */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 100px 10% 90px;
  text-align: center;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--white);
}

.hero p {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: #a8c0d8;
  max-width: 760px;
  margin: 0 auto 36px;
  line-height: 1.75;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover { background: var(--blue-v); transform: translateY(-1px); }

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

/* ── PAGE HERO (inner pages) ─────────────────── */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 80px 10% 70px;
  text-align: center;
}

.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 20px;
}

.page-hero p {
  font-size: 1.05rem;
  color: #a8c0d8;
  max-width: 680px;
  margin: 0 auto 32px;
}

/* ── SECTIONS ─────────────────────────────────── */
section { padding: 80px 10%; }

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 680px;
  margin-bottom: 48px;
}

.section-dark {
  background: var(--navy);
  color: var(--white);
}

.section-dark .section-title { color: var(--white); }
.section-dark .section-subtitle { color: #a8c0d8; }

.section-alt { background: var(--off-white); }

.center { text-align: center; }
.center .section-subtitle { margin-left: auto; margin-right: auto; }

/* ── CARDS ────────────────────────────────────── */
.cards {
  display: grid;
  gap: 28px;
}

.cards-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.cards-2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--blue);
  border-radius: 6px;
  padding: 36px 32px;
}

.card-dark {
  background: var(--navy-mid);
  border: 1px solid rgba(255,255,255,0.08);
  border-top: 3px solid var(--blue-v);
  color: var(--white);
}

.card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--navy);
}

.card-dark h3 { color: var(--white); }

.card .tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  padding: 4px 10px;
  border-radius: 2px;
  display: inline-block;
  margin-bottom: 16px;
}

.card-dark .tag {
  background: rgba(0,104,180,0.3);
  color: #7EC8F7;
}

.card p {
  font-size: 14.5px;
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.65;
}

.card-dark p { color: #a8c0d8; }

.card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card ul li {
  font-size: 14px;
  color: var(--text);
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  padding-left: 18px;
  position: relative;
}

.card-dark ul li {
  color: #c8d8e8;
  border-bottom-color: rgba(255,255,255,0.08);
}

.card ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-size: 12px;
  top: 8px;
}

.card-dark ul li::before { color: var(--blue-v); }

.card ul li:last-child { border-bottom: none; }

/* ── HOW IT WORKS ─────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-top: 12px;
}

.step {
  text-align: center;
  padding: 32px 24px;
  background: var(--white);
  border-radius: 6px;
  border: 1px solid var(--border);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue);
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.step-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.step h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.step p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* ── WHO WE SERVE list ────────────────────────── */
.serve-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 860px;
}

.serve-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 28px;
  background: var(--white);
  border-radius: 6px;
  border-left: 4px solid var(--blue);
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.serve-item-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  background: var(--blue-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
}

.serve-item p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.6;
  margin: 0;
}

/* ── CTA BAND ─────────────────────────────────── */
.cta-band {
  background: var(--navy);
  color: var(--white);
  padding: 80px 10%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.cta-band h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  margin: 0;
}

.cta-band p {
  color: #a8c0d8;
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0;
}

.cta-note {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

/* ── BODY CONTENT (inner pages) ──────────────── */
.content-body {
  max-width: 860px;
  margin: 0 auto;
}

.content-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--navy);
  margin: 40px 0 14px;
}

.content-body p {
  font-size: 15.5px;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 18px;
}

/* ── FORM ─────────────────────────────────────── */
.form-wrap {
  max-width: 580px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-mid);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue);
}

.form-group textarea { resize: vertical; min-height: 120px; }

/* ── FOOTER ───────────────────────────────────── */
footer {
  background: var(--navy);
  color: #a8c0d8;
  padding: 48px 10% 32px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}


.footer-links {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  color: #a8c0d8;
  text-decoration: none;
  font-size: 13.5px;
  margin-bottom: 8px;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: var(--muted);
}

/* ── NUMBERED PROBLEM CARDS ──────────────────── */
.problem-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 12px;
}

.problem-card {
  background: var(--navy-mid);
  border-radius: 8px;
  padding: 32px 28px;
  color: var(--white);
}

.problem-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--blue-v);
  opacity: 0.5;
  line-height: 1;
  margin-bottom: 12px;
}

.problem-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.problem-card p {
  font-size: 14px;
  color: #a8c0d8;
  line-height: 1.65;
  margin: 0;
}

/* ── AUDIENCE TWO-COL ─────────────────────────── */
.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.audience-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--blue);
  border-radius: 6px;
  padding: 36px 32px;
}

.audience-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}

.audience-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.audience-card > p {
  font-size: 14.5px;
  color: var(--muted);
  margin-bottom: 18px;
  line-height: 1.65;
}

.audience-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.audience-card ul li {
  font-size: 13.5px;
  color: var(--text);
  padding: 6px 0 6px 18px;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.audience-card ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-size: 11px;
  top: 8px;
}

.audience-card ul li:last-child { border-bottom: none; }

/* ── WHY TRAVERSE NUMBERED ────────────────────── */
.why-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 8px;
}

.why-card {
  background: var(--off-white);
  border-radius: 6px;
  padding: 32px 28px;
  border: 1px solid var(--border);
}

.why-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--blue);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 10px;
}

.why-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.why-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

/* ── FAQ ──────────────────────────────────────── */
.faq-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 100%;
}

.faq-item {
  border-left: 3px solid var(--blue);
  padding-left: 20px;
}

.faq-item h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.4;
}

.faq-item p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

/* ── HUMAN + AI ───────────────────────────────── */
.human-ai {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.human-ai-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 36px 32px;
}

.human-ai-card .ai-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}

.human-ai-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 12px;
}

.human-ai-card > p {
  font-size: 14.5px;
  color: var(--muted);
  margin-bottom: 18px;
  line-height: 1.65;
}

.human-ai-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.human-ai-card ul li {
  font-size: 13.5px;
  color: var(--text);
  padding: 7px 0 7px 18px;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.human-ai-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-size: 11px;
  top: 9px;
}

.human-ai-card ul li:last-child { border-bottom: none; }

/* ── SERVICES GRID ────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 28px 24px;
}

.service-card .svc-num {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;
}

.service-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.service-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

/* ── RESPONSIVE ───────────────────────────────── */
@media (max-width: 768px) {
  nav { padding: 0 4%; position: relative; }

  .audience-grid,
  .human-ai,
  .faq-list { grid-template-columns: 1fr; }

  .hero, .page-hero { padding: 64px 6% 56px; }

  section { padding: 60px 6%; }

  .form-row { grid-template-columns: 1fr; }

  .footer-top { flex-direction: column; }

  .footer-links { gap: 32px; }

  .cards-3, .cards-2 { grid-template-columns: 1fr; }

  .steps { grid-template-columns: 1fr; }
}

/* ── MOBILE NAV / HAMBURGER ───────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--off-white);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .nav-hamburger { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 96px;
    left: 0;
    right: 0;
    background: var(--navy-mid);
    flex-direction: column;
    padding: 16px 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    z-index: 150;
  }

  .nav-links.open { display: flex; }

  .nav-links > li > a,
  .nav-links > li > span {
    height: auto;
    line-height: 1.4;
    padding: 14px 24px;
  }

  .dropdown-menu {
    position: static;
    display: none;
    background: var(--navy);
    border-top: none;
    box-shadow: none;
    padding-left: 16px;
  }

  .dropdown.open .dropdown-menu { display: block; }

  .nav-cta {
    margin: 12px 24px 4px !important;
    display: inline-block !important;
    text-align: center;
  }
}
