/* Burkes Bookkeeping — matches the Peak Service house template (WordPress + Herrington +
   Elementor) as it is actually rendered on the two newest builds, BDJ Financials and
   Cash Flow Pros: cream page with a faint grid, serif Roboto Serif headings, Public Sans
   UI text, white header with a centred pill nav and a round accent button, dark navy
   cards with tick lists, and one accent-coloured quote card per band.
   Change --accent to re-skin the whole site. */

:root {
  --navy: #121c27;
  --navy-deep: #0a1119;
  --text: #4b535d;
  --cream: #f2f0eb;
  --cream-2: #f7f6f2;
  --accent: #1d7a4d;
  --accent-dark: #165c3a;
  --accent-light: #e8f2ec;
  --line: #e3e0d9;
  --line-soft: rgba(18, 28, 39, .08);
  --white: #fff;
  --radius: 14px;
  --radius-sm: 8px;
  --container: 1320px;
  --font-head: 'Roboto Serif', Georgia, 'Times New Roman', serif;
  --font-ui: 'Public Sans', 'Helvetica Neue', Arial, sans-serif;
  --shadow: 0 2px 24px rgba(18, 28, 39, .06);
  --shadow-lg: 0 24px 60px rgba(18, 28, 39, .10);
}

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

body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.015em;
  margin: 0 0 16px;
}
h1 { font-size: clamp(34px, 4.6vw, 56px); }
h2 { font-size: clamp(28px, 3.4vw, 42px); }
h3 { font-size: clamp(19px, 1.7vw, 22px); line-height: 1.25; }
h4 { font-size: 18px; }

p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }
a { color: var(--accent); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent-dark); }
img { max-width: 100%; height: auto; display: block; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 26px; }
.narrow { max-width: 860px; }
.section { padding: 84px 0; }
.section--white { background: var(--white); }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy); color: rgba(255, 255, 255, .7); }
.section--navy h2, .section--navy h3, .section--navy h4 { color: var(--white); }
.text-center { text-align: center; }

/* faint grid, as on the reference hero */
.gridded {
  background-image:
    repeating-linear-gradient(0deg, var(--line-soft) 0 1px, transparent 1px 78px),
    repeating-linear-gradient(90deg, var(--line-soft) 0 1px, transparent 1px 78px);
}

/* ---------- eyebrow + section head ---------- */
.eyebrow {
  display: block; font-family: var(--font-ui); font-size: 14px; font-weight: 600;
  color: var(--navy); margin-bottom: 14px;
}
.eyebrow--accent { color: var(--accent); letter-spacing: .1em; text-transform: uppercase; font-size: 12.5px; }
.section--navy .eyebrow { color: #86d6ab; }
.section-head { max-width: 700px; margin-bottom: 46px; }
.section-head.text-center { margin-left: auto; margin-right: auto; }
.section-head p { font-size: 17px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 28px; border-radius: var(--radius-sm);
  font-family: var(--font-ui); font-size: 15.5px; font-weight: 600;
  background: var(--accent); color: var(--white); border: 1.5px solid var(--accent);
  cursor: pointer; transition: all .2s ease;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--white); }
.btn--block { width: 100%; }
.btn--ghost { background: transparent; color: var(--navy); border-color: rgba(18, 28, 39, .18); }
.btn--ghost:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.section--navy .btn--ghost { color: var(--white); border-color: rgba(255, 255, 255, .28); }
.section--navy .btn--ghost:hover { background: var(--white); color: var(--navy); }
.btn--sm { padding: 11px 20px; font-size: 14.5px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- header: logo left, pill nav centred, round button right ---------- */
.site-header { background: var(--white); position: sticky; top: 0; z-index: 60; }
.site-header .container { display: flex; align-items: center; gap: 20px; min-height: 92px; }
.brand { display: flex; align-items: center; gap: 11px; margin-right: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.12; }
.brand-name { font-family: var(--font-head); font-weight: 600; font-size: 19px; color: var(--navy); }
.brand-sub { font-family: var(--font-ui); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: #8e9399; }

.nav {
  display: flex; align-items: center; gap: 4px;
  background: #f1f0ec; border-radius: 100px; padding: 6px;
  position: absolute; left: 50%; transform: translateX(-50%);
}
.nav a {
  font-family: var(--font-ui); font-size: 15px; font-weight: 500; color: var(--navy);
  padding: 10px 20px; border-radius: 100px; transition: all .2s ease;
}
.nav a:hover { color: var(--accent); }
.nav a.is-active { background: var(--accent); color: var(--white); }
.nav-drop { position: relative; }
.nav-drop-menu {
  position: absolute; top: 100%; left: 0; margin-top: 8px; min-width: 240px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .18s ease;
}
.nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-drop-menu a { display: block; padding: 9px 14px; border-radius: 6px; font-size: 14.5px; }
.nav-drop-menu a:hover { background: var(--accent-light); }

.header-right { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.header-phone { font-family: var(--font-ui); font-weight: 700; font-size: 16.5px; color: var(--navy); white-space: nowrap; }
.header-phone:hover { color: var(--accent); }
.round-btn {
  width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: var(--white);
  display: flex; align-items: center; justify-content: center; flex: none; transition: all .2s ease;
}
.round-btn:hover { background: var(--accent-dark); color: var(--white); transform: translateY(-2px); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 9px 12px; font-size: 17px; line-height: 1; }

/* ---------- hero ---------- */
.hero { background: var(--cream); padding: 74px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 56px; align-items: start; }
.hero h1 { margin-bottom: 22px; }
.hero-lead { font-size: 17.5px; max-width: 520px; margin-bottom: 26px; }
.hero-proof { display: flex; align-items: center; gap: 12px; font-size: 14.5px; font-weight: 500; color: var(--navy); }
.hero-proof .star { color: var(--accent); flex: none; }

/* dark tick card, right of the hero */
.proof-card { background: var(--navy); border-radius: var(--radius); padding: 34px 32px; }
.proof-card ul { list-style: none; margin: 0 0 26px; padding: 0; }
.proof-card li {
  display: flex; gap: 14px; align-items: flex-start; color: var(--white);
  font-size: 16.5px; padding: 15px 0; border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.proof-card li:last-child { border-bottom: 0; }
.proof-card .tick { color: #5ec98e; flex: none; margin-top: 3px; }

/* ---------- three-card band ---------- */
.trio { display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: 22px; align-items: stretch; }
.tile { border-radius: var(--radius); padding: 32px 30px; }
.tile--navy { background: var(--navy); color: rgba(255, 255, 255, .74); }
.tile--navy h3 { color: var(--white); }
.tile--accent { background: var(--accent); color: rgba(255, 255, 255, .88); display: flex; flex-direction: column; }
.tile--white { background: var(--white); box-shadow: var(--shadow); }
.tile-quote { font-family: var(--font-head); font-size: 21px; line-height: 1.4; color: var(--white); margin-bottom: auto; }
.tile-cite { margin-top: 26px; font-size: 14.5px; color: rgba(255, 255, 255, .82); }
.tile-cite b { display: block; color: var(--white); font-weight: 600; }

/* ---------- report mockup ---------- */
.report { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 24px; height: 100%; }
.report-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.report-head h4 { margin: 0; font-size: 16.5px; }
.report-pill { font-size: 11.5px; font-weight: 600; color: var(--accent); background: var(--accent-light); border-radius: 100px; padding: 5px 12px; }
.report-sub { font-size: 12.5px; color: #9aa0a6; margin-bottom: 16px; }
.report-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid #eeece7; font-size: 14.5px; }
.report-row:last-of-type { border-bottom: 0; }
.report-row b { font-family: var(--font-head); color: var(--navy); font-size: 16px; font-weight: 600; }
.report-row .up { color: var(--accent); }
.report-bar { height: 7px; border-radius: 4px; background: #eeece7; overflow: hidden; margin-top: 14px; }
.report-bar i { display: block; height: 100%; background: var(--accent); }
.report-foot { display: flex; justify-content: space-between; font-size: 12px; margin-top: 9px; color: #9aa0a6; }

/* ---------- stat strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stats > div { background: var(--white); border-radius: var(--radius); padding: 26px 24px; }
.stats b { display: block; font-family: var(--font-head); font-size: 36px; color: var(--navy); line-height: 1; margin-bottom: 8px; }
.stats span { font-size: 14.5px; }
.section--navy .stats > div { background: rgba(255, 255, 255, .05); }
.section--navy .stats b { color: var(--white); }
.section--navy .stats span { color: rgba(255, 255, 255, .62); }

/* ---------- cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border-radius: var(--radius); padding: 30px 28px;
  transition: all .22s ease; height: 100%; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card p { font-size: 15.5px; }
.card-icon {
  width: 50px; height: 50px; border-radius: 12px; background: var(--accent-light);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px; color: var(--accent);
}
.card-link { font-family: var(--font-ui); font-weight: 600; font-size: 14.5px; margin-top: auto; padding-top: 14px; display: inline-flex; gap: 6px; }
.card-link::after { content: "→"; transition: transform .2s ease; }
.card:hover .card-link::after { transform: translateX(4px); }

.ticks { list-style: none; padding: 0; margin: 0 0 18px; }
.ticks li { position: relative; padding-left: 27px; margin-bottom: 9px; font-size: 15.5px; }
.ticks li::before {
  content: ""; position: absolute; left: 1px; top: 8px; width: 14px; height: 8px;
  border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg);
}
.section--navy .ticks li::before { border-color: #5ec98e; }

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.split--wide { grid-template-columns: 1.08fr .92fr; }

/* ---------- steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: var(--white); border-radius: var(--radius); padding: 30px 28px; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-family: var(--font-head); font-size: 15px; font-weight: 600;
  color: var(--accent); margin-bottom: 12px;
}
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { font-size: 15.5px; }

/* ---------- faq ---------- */
.faq details { background: var(--white); border-radius: var(--radius-sm); margin-bottom: 10px; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 52px 20px 24px; position: relative;
  font-family: var(--font-head); font-weight: 500; font-size: 17.5px; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
  font-size: 21px; font-weight: 300; color: var(--accent); font-family: var(--font-ui);
}
.faq details[open] summary::after { content: "–"; }
.faq .faq-body { padding: 0 52px 22px 24px; font-size: 15.5px; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { background: var(--cream); padding: 56px 0 52px; }
.page-hero p { font-size: 17px; max-width: 700px; }
.crumbs { font-size: 13.5px; color: #8e9399; margin-bottom: 14px; }
.crumbs a { color: #8e9399; }
.crumbs a:hover { color: var(--accent); }

/* ---------- chips / area lists ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chips a {
  background: var(--white); border-radius: 100px; padding: 9px 18px;
  font-size: 14.5px; color: var(--navy); transition: all .2s ease;
}
.chips a:hover { background: var(--accent); color: var(--white); }
.area-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.area-grid a {
  display: flex; justify-content: space-between; gap: 10px; align-items: baseline;
  padding: 13px 17px; background: var(--white); border-radius: var(--radius-sm);
  font-size: 14.5px; color: var(--navy); transition: all .2s ease;
}
.area-grid a:hover { background: var(--accent); color: var(--white); }
.area-grid a:hover em { color: rgba(255, 255, 255, .75); }
.area-grid em { font-style: normal; font-size: 12.5px; color: #9aa0a6; white-space: nowrap; }
.area-state-head { grid-column: 1 / -1; margin: 20px 0 2px; font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: 17px; }
.area-state-head:first-child { margin-top: 0; }

/* ---------- cta band ---------- */
.cta-band { background: var(--navy); padding: 66px 0; }
.cta-band .container { display: flex; flex-wrap: wrap; gap: 26px; align-items: center; justify-content: space-between; }
.cta-band h2 { color: var(--white); margin-bottom: 6px; }
.cta-band p { color: rgba(255, 255, 255, .64); max-width: 560px; }

/* ---------- contact ---------- */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 13px; padding: 13px 0; border-bottom: 1px solid #eeece7; font-size: 15.5px; }
.contact-list li:last-child { border-bottom: 0; }
.contact-list b { font-family: var(--font-ui); color: var(--navy); display: block; font-size: 13.5px; }
.contact-list svg { color: var(--accent); flex: none; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--navy); }
.field input, .field select, .field textarea {
  font-family: var(--font-ui); font-size: 15px; padding: 13px 15px;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); color: var(--navy);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.form-note { font-size: 12.5px; color: #9aa0a6; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .6); padding: 66px 0 0; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 46px; }
.site-footer h4 { color: var(--white); font-size: 15.5px; margin-bottom: 18px; }
.site-footer a { color: rgba(255, 255, 255, .6); }
.site-footer a:hover { color: #86d6ab; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-brand .brand-name { color: var(--white); }
.footer-brand .brand-sub { color: rgba(255, 255, 255, .45); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 0; font-size: 13.5px;
  display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between;
}

/* ---------- responsive ---------- */
@media (max-width: 1150px) {
  .nav { position: static; transform: none; }
  .site-header .container { flex-wrap: wrap; gap: 14px; }
  .hero-grid, .split, .split--wide { grid-template-columns: 1fr; gap: 40px; }
  .trio, .grid-4, .stats { grid-template-columns: repeat(2, 1fr); }
  .area-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  .section { padding: 62px 0; }
  .nav-toggle { display: block; order: 3; }
  .header-right { order: 2; }
  .nav {
    display: none; order: 4; width: 100%; flex-direction: column; align-items: stretch;
    border-radius: var(--radius); padding: 10px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 16px; }
  .nav-drop-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 4px 0 4px 14px; }
  .grid-3, .grid-2, .steps, .trio { grid-template-columns: 1fr; }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .header-phone { display: none; }
}
@media (max-width: 560px) {
  .grid-4, .stats, .area-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .cta-band .btn-row { width: 100%; }
}
