/* Gaffga Group Advisors — brand system
   Navy #14213D (shared) / Gold #C89B3C (Advisors) — Montserrat, per Logos/brand-specs.txt */

:root {
  --navy: #14213D;
  --navy-2: #1c2d52;
  --gold: #C89B3C;
  --gold-dark: #a97f2b;
  --silver: #9CA3AB;
  --cream: #F7F5F0;
  --white: #FFFFFF;
  --ink: #1B1F27;
  --ink-soft: #4A5160;
  --line: #E4E1D9;
  --max: 1120px;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(20, 33, 61, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 {
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
h3 { font-size: 1.25rem; }

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

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

.eyebrow {
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 14px;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
}

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

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  height: 44px;
  width: auto;
  display: block;
}

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

.nav-links a {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.86rem;
  text-decoration: none;
  color: var(--navy);
  letter-spacing: 0.01em;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--gold-dark); }

.nav-links .nav-outbound {
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-links .nav-outbound:hover { color: var(--navy); }

.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.82rem !important;
}
.nav-cta:hover { background: var(--gold-dark); color: var(--white) !important; }

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

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: 66px;
    right: 0;
    bottom: 0;
    left: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
    gap: 22px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: 0.2s ease;
    overflow-y: auto;
  }
  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-cta { align-self: flex-start; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
  padding: 84px 0 64px;
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
}
.hero h1 { margin-bottom: 20px; }
.hero-headline-row {
  display: flex;
  align-items: stretch;
  gap: 32px;
  margin-bottom: 20px;
}
.hero-headline-row h1 {
  margin-bottom: 0;
  flex: 1 1 auto;
  min-width: 0;
}
.hero-headshot-lg {
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.hero-headshot-lg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 700px) {
  .hero-headline-row { flex-direction: column; align-items: flex-start; gap: 20px; }
  .hero-headshot-lg { width: 100%; align-self: stretch; }
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 54ch;
}
.hero-credibility {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 30px;
}
.pill {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--navy);
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 8px 14px;
  border-radius: 999px;
}
.hero-visual {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}
.hero-visual img { width: 100%; height: auto; display: block; }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 999px;
  transition: 0.15s ease;
  border: 1px solid transparent;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--gold-dark); }
.btn-secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: var(--white); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-dark); color: var(--white); }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.section-alt { background: var(--cream); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy p { color: rgba(255,255,255,0.78); }

.section-head { max-width: 62ch; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .card-eyebrow {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 10px;
  display: block;
}
.card .card-price {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  color: var(--navy);
  margin: 10px 0 14px;
}
.card ul { margin: 0; padding-left: 1.1em; color: var(--ink-soft); }
.card li { margin-bottom: 6px; }
.card-link {
  display: inline-block;
  margin-top: 16px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--navy);
}
.card-link:hover { color: var(--gold-dark); }

.card-featured {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold) inset;
}

/* Simple table used for differentiators */
.diff-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.diff-table th, .diff-table td {
  text-align: left;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.diff-table th {
  font-family: "Montserrat", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--cream);
}
.diff-table tr:last-child td { border-bottom: none; }
.diff-table td:first-child { font-weight: 600; color: var(--navy); width: 34%; }

/* ---------- Timeline / ladder ---------- */
.ladder {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ladder-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.ladder-step:last-child { border-bottom: none; }
.ladder-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ladder-step.is-gold .ladder-num { background: var(--gold); color: var(--navy); }

/* ---------- Quote / pitch block ---------- */
.pitch-block {
  background: var(--cream);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 28px 32px;
  font-size: 1.05rem;
  color: var(--navy);
  font-style: italic;
}

/* ---------- Empty state (case studies / testimonials) ---------- */
.empty-state {
  border: 1px dashed var(--silver);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  background: var(--cream);
}
.empty-state h3 { margin-bottom: 10px; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--white);
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 155, 60, 0.18);
}
.form-note { font-size: 0.82rem; color: var(--ink-soft); margin-top: 10px; }

.calendly-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 640px;
  width: 100%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { height: 30px; }
.footer-brand-text { color: var(--white); font-family: "Montserrat", sans-serif; font-weight: 700; }
.footer-brand-text span { display: block; font-size: 0.6rem; letter-spacing: 0.24em; color: var(--gold); }
.site-footer h4 {
  color: var(--white);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.92rem;
}
.site-footer a:hover { color: var(--gold); }
.footer-crosslink {
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-bottom: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-crosslink p { margin: 0; color: rgba(255,255,255,0.85); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.14);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background: var(--cream);
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--line);
}
.page-hero p { max-width: 60ch; }

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.small { font-size: 0.86rem; color: var(--ink-soft); }
.avoid-list, .use-list { list-style: none; margin: 0; padding: 0; }
.avoid-list li, .use-list li { padding: 6px 0; }
