/* ============================================================
   Simmons Bookkeeping — Design System
   Lora (serif headings) + DM Sans (body)
   ============================================================ */

:root {
  /* Palette */
  --navy:        #0E2A47;
  --brass:       #C9A05B;
  --cream:       #F5EFE2;
  --white:       #FFFFFF;
  --text-mid:    #4A5C6B;
  --text-light:  #7A8C99;
  --border:      #E2DDD6;

  /* Type */
  --serif: 'Lora', Georgia, 'Times New Roman', serif;
  --sans:  'DM Sans', system-ui, -apple-system, sans-serif;

  /* Layout */
  --maxw: 1100px;
  --radius: 4px;
  --pad-section: 5rem 2rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--text-mid);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.18;
  margin: 0;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
.accent-italic { font-style: italic; font-weight: 400; color: var(--brass); }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

/* Eyebrow label pattern: [brass rule] LABEL */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1.5px;
  background: var(--brass);
  display: inline-block;
}
.eyebrow.on-navy { color: var(--brass); }
.eyebrow.centered { justify-content: center; }

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 2rem; }
section { padding: var(--pad-section); }
.section-navy  { background: var(--navy); color: rgba(255,255,255,0.65); }
.section-cream { background: var(--cream); }
.section-white { background: var(--white); }
.lead { font-size: 1.1rem; font-weight: 300; max-width: 60ch; }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brass); color: var(--navy); }
.btn-primary:hover { background: #b98e47; }
.btn-secondary { background: var(--navy); color: var(--white); }
.btn-secondary:hover { background: #16385c; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-ghost.on-navy { color: var(--white); border-color: rgba(255,255,255,0.3); }
.btn-ghost.on-navy:hover { border-color: rgba(255,255,255,0.7); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 2rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 0.7rem; }
.nav-logo img { height: 30px; width: auto; }
.nav-logo .nl-text { display: flex; flex-direction: column; line-height: 1; }
.nav-logo .nl-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--white);
}
.nav-logo .nl-sub {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.56rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  margin-top: 3px;
}
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
  transition: color .15s ease;
}
.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--brass); }
.nav-cta { margin-left: 0.5rem; }
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 40px; height: 40px;
  flex-direction: column; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; height: 2px; background: var(--white); border-radius: 2px; transition: .2s; }

/* page content offset for fixed nav */
.page { padding-top: 68px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { background: var(--navy); color: var(--white); padding: 6.5rem 2rem 5rem; }
.hero-inner { max-width: var(--maxw); margin: 0 auto; }
.hero h1 { color: var(--white); max-width: 16ch; }
.hero .descriptor {
  color: rgba(255,255,255,0.65);
  font-weight: 300;
  font-size: 1.15rem;
  max-width: 54ch;
  margin: 1.6rem 0 2.2rem;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 3.5rem; }
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
}
.stat { display: flex; flex-direction: column; gap: 0.3rem; max-width: 16rem; }
.stat .num {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 2.4rem;
  color: var(--brass);
  line-height: 1;
}
.stat .lbl { font-size: 0.9rem; color: rgba(255,255,255,0.6); font-weight: 300; }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust { background: var(--cream); padding: 2.2rem 2rem; }
.trust-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  justify-content: space-between;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--text-mid);
}
.trust-item::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brass);
  flex-shrink: 0;
}
.trust-item b { color: var(--navy); font-weight: 600; }

/* ============================================================
   SECTION HEADER
   ============================================================ */
.sec-head { max-width: 60ch; margin-bottom: 3rem; }
.sec-head.centered { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head p { margin-top: 1rem; }

/* ============================================================
   SERVICE CARDS (hairline grid)
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.card {
  background: var(--white);
  padding: 2.2rem 2rem;
  transition: background .18s ease;
}
.card:hover { background: var(--cream); }
.card .card-icon { width: 34px; height: 34px; color: var(--brass); margin-bottom: 1.1rem; }
.card .card-icon svg { width: 100%; height: 100%; display: block; }
.card h3 { margin-bottom: 0.5rem; }
.card p { font-size: 0.95rem; font-weight: 300; }

/* ============================================================
   ABOUT PREVIEW / PROFILE CARD
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}
.split.text-right { grid-template-columns: 0.85fr 1.15fr; }
.profile-card {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  border-radius: var(--radius);
  padding: 2.5rem;
}
.profile-card .ph-head {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 1.5rem;
}
.profile-card image-slot,
.profile-card .headshot {
  display: block;
  width: 90px; height: 90px;
  border-radius: 50%;
  border: 2px solid var(--brass);
  overflow: hidden;
  flex-shrink: 0;
}
.profile-card .ph-meta { min-width: 0; }
.profile-card .ph-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1.15;
  color: var(--white);
  white-space: nowrap;
}
.profile-card .ph-role { font-size: 0.85rem; color: var(--brass); font-weight: 500; letter-spacing: 0.04em; margin-top: 4px; }
.profile-card p { font-size: 0.95rem; font-weight: 300; margin-bottom: 1.5rem; }
.badges { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.badge {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass);
  background: rgba(201,160,91,0.12);
  border: 1px solid rgba(201,160,91,0.4);
  border-radius: var(--radius);
  padding: 0.4rem 0.7rem;
}

/* ============================================================
   PAGE HEADER (interior pages)
   ============================================================ */
.page-header { background: var(--navy); color: var(--white); padding: 5.5rem 2rem 4rem; }
.page-header-inner { max-width: var(--maxw); margin: 0 auto; }
.page-header h1 { color: var(--white); }
.page-header p { color: rgba(255,255,255,0.6); font-weight: 300; font-size: 1.1rem; max-width: 52ch; margin-top: 1.2rem; }

/* ============================================================
   SERVICES LIST (two-column rows)
   ============================================================ */
.svc-rows { display: flex; flex-direction: column; }
.svc-row {
  display: grid;
  grid-template-columns: 0.9fr 1.6fr;
  gap: 2.5rem;
  padding: 2.4rem 0;
  border-top: 1px solid var(--border);
}
.svc-row:last-child { border-bottom: 1px solid var(--border); }
.svc-row .svc-label { display: flex; align-items: baseline; gap: 0.9rem; }
.svc-row .svc-num { font-family: var(--serif); font-size: 1rem; color: var(--brass); }
.svc-row h3 { color: var(--navy); }
.svc-row .svc-body p { font-weight: 300; }
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.tag {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mid);
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.3rem 0.65rem;
}

/* ============================================================
   CREDENTIAL GRID (about)
   ============================================================ */
.cred-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.cred {
  background: var(--white);
  padding: 1.8rem 1.5rem;
}
.cred .cred-k { font-family: var(--serif); font-size: 1.6rem; color: var(--navy); margin-bottom: 0.3rem; }
.cred .cred-v { font-size: 0.85rem; font-weight: 300; }

/* ProAdvisor certification badges */
.proadvisor { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; }
.proadvisor img { height: 132px; width: auto; display: block; }
.proadvisor-strip { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.proadvisor-strip img { height: 86px; width: auto; display: block; }

/* ============================================================
   HOW IT WORKS (numbered steps)
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.step .step-num {
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--brass);
  line-height: 1;
  margin-bottom: 0.8rem;
}
.step h3 { margin-bottom: 0.5rem; }
.step p { font-weight: 300; font-size: 0.95rem; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-block { max-width: 640px; margin: 0 auto; text-align: center; }
.cta-block p { margin: 1rem 0 2rem; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 3.5rem; align-items: start; }
.info-panel h2 { margin-bottom: 1rem; }
.info-panel .info-list { margin-top: 1.8rem; display: flex; flex-direction: column; gap: 1.1rem; }
.info-row { display: flex; gap: 0.8rem; align-items: flex-start; }
.info-row .ir-ico { width: 18px; height: 18px; color: var(--brass); margin-top: 2px; flex-shrink: 0; }
.info-row .ir-ico svg { width: 100%; height: 100%; }
.info-row .ir-k { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-light); }
.info-row .ir-v { color: var(--navy); font-weight: 500; }
.qbo-note {
  border-left: 3px solid var(--brass);
  background: var(--cream);
  padding: 1.1rem 1.3rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-top: 2rem;
  font-size: 0.9rem;
  font-weight: 300;
}
.qbo-note b { color: var(--navy); font-weight: 600; }

/* Form */
.form { background: var(--white); }
.form .field { margin-bottom: 1.3rem; }
.form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.form input[type=text],
.form input[type=email],
.form select,
.form textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 0.85rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form input::placeholder, .form textarea::placeholder { color: var(--text-light); }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(201,160,91,0.15);
}
.form textarea { resize: vertical; min-height: 110px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 1.2rem; }
.form .check {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.9rem; font-weight: 300; color: var(--text-mid);
  cursor: pointer;
  text-transform: none; letter-spacing: 0;
}
.check input { width: 16px; height: 16px; accent-color: var(--brass); flex-shrink: 0; }
.conditional { display: none; }
.conditional.show { display: block; }
.form-foot { margin-top: 1.8rem; }
.form-success {
  display: none;
  background: var(--cream);
  border: 1px solid var(--border);
  border-left: 3px solid var(--brass);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 2.5rem 2rem;
}
.form-success.show { display: block; }
.form-success h3 { margin-bottom: 0.6rem; }
.form-success p { font-weight: 300; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy); color: rgba(255,255,255,0.45); padding: 3.5rem 2rem 2.5rem; }
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
}
.footer img { height: 30px; margin-bottom: 1rem; }
.footer .f-brand p { font-size: 0.875rem; font-weight: 300; max-width: 28ch; }
.footer h4 {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1rem;
  font-weight: 500;
}
.footer .f-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer .f-links a { font-size: 0.9rem; color: rgba(255,255,255,0.6); transition: color .15s; }
.footer .f-links a:hover { color: var(--brass); }
.footer .f-copy { font-size: 0.8rem; color: rgba(255,255,255,0.3); }
.footer-bottom {
  max-width: var(--maxw);
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  section { padding: 3.5rem 1.25rem; }
  .wrap, .nav-inner, .hero-inner, .trust-inner, .page-header-inner, .footer-inner { padding-left: 1.25rem; padding-right: 1.25rem; }
  .nav-links {
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transform: translateY(-130%);
    transition: transform .25s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 0.7rem 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .nav-cta { margin: 0.8rem 0 0; }
  .nav-toggle { display: flex; }
  .cards-grid, .cred-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 1.8rem; }
  .split, .split.text-right, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .svc-row { grid-template-columns: 1fr; gap: 0.8rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .row-2, .checks { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .cards-grid, .cred-grid { grid-template-columns: 1fr; }
  .stats { gap: 1.5rem; }
}
