/* ============================================================
   Red Ribbon Accounting Inc. — Ledger and Seal theme
   LIGHT warm parchment / fiscal burgundy / ledger gold
   ============================================================ */

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

:root {
  --parchment: #F7F3EC;
  --ink: #26201A;
  --burgundy: #8A2E3C;
  --burgundy-ink: #5E1F2A;
  --warm-grey: #6E655B;
  --white: #FFFFFF;
  --linen: #EEE6D9;
  --gold: #A8843C;
  --cream: #F3EADB;
  --rose: #E3C8CD;
  --rose-dim: #C99AA3;
  --rule: #7A3A46;
  --hairline: #EEE6D9;
  --hairline-soft: #E6DCC9;
  --panel: #FBF8F2;
}

html {
  scroll-behavior: smooth;
}

body {
  font-size: 16px;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.75;
  background-color: #F7F3EC;
  color: #26201A;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------------- Buttons ---------------- */

.btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn-primary {
  background-color: #8A2E3C;
  color: #FFFFFF;
  border-color: #8A2E3C;
}

.btn-primary:hover {
  background-color: #5E1F2A;
  border-color: #5E1F2A;
}

.btn-outline {
  background-color: transparent;
  color: #5E1F2A;
  border-color: #5E1F2A;
}

.btn-outline:hover {
  background-color: #5E1F2A;
  color: #FFFFFF;
}

/* ---------------- Ribbon fold mark ---------------- */

.ribbon-mark {
  position: relative;
  display: inline-block;
  width: 22px;
  height: 22px;
  background-color: #8A2E3C;
  flex: 0 0 auto;
}

.ribbon-mark::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 0;
  border-left: 8px solid #8A2E3C;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
}

/* ---------------- Split navigation (CTA left, brand centre, links right) ---------------- */

.split-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background-color: #F7F3EC;
  border-bottom: 1px solid #EEE6D9;
}

.split-nav.is-scrolled {
  box-shadow: 0 3px 0 #E6DCC9;
}

.nav-inner {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-left {
  flex: 1 1 0;
  display: flex;
  justify-content: flex-start;
}

.nav-cta {
  display: inline-block;
  background-color: #8A2E3C;
  color: #FFFFFF;
  padding: 11px 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid #8A2E3C;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.nav-cta:hover {
  background-color: #5E1F2A;
  border-color: #5E1F2A;
}

.nav-brand {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.brand-word {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.13em;
  color: #5E1F2A;
  text-decoration: none;
}

.main-nav {
  flex: 1 1 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

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

.nav-links a {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-variant: small-caps;
  color: #26201A;
  text-decoration: none;
  padding: 8px 0 6px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: #5E1F2A;
  border-bottom-color: #8A2E3C;
}

.nav-toggle {
  display: none;
}

/* ---------------- Asymmetric two-column hero ---------------- */

.asym-hero {
  display: grid;
  grid-template-columns: 62% 38%;
  min-height: 660px;
}

.hero-text {
  padding: 92px 56px 88px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  background-color: #F7F3EC;
}

.eyebrow-chip {
  display: inline-block;
  background-color: #EEE6D9;
  color: #8A2E3C;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 8px 14px;
  margin-bottom: 24px;
  border: 1px solid #E0D5C0;
}

.hero-title {
  font-size: 54px;
  line-height: 1.12;
  color: #5E1F2A;
  font-weight: 700;
  margin-bottom: 26px;
}

.hero-accent {
  color: #8A2E3C;
}

.hero-lead {
  color: #6E655B;
  font-size: 18px;
  max-width: 600px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---- right side: full-height fiscal burgundy panel ---- */

.hero-panel {
  background-color: #8A2E3C;
  color: #F3EADB;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 58px 36px 46px;
}

.ledger-composition {
  text-align: center;
}

.abacus {
  position: relative;
  width: 190px;
  height: 100px;
  margin: 0 auto 34px;
  border: 2px solid #5E1F2A;
  background-color: #F3EADB;
  background-image: linear-gradient(to bottom,
    transparent 0 25px, #5E1F2A 25px 26px,
    transparent 26px 49px, #5E1F2A 49px 50px,
    transparent 50px 73px, #5E1F2A 73px 74px,
    transparent 74px);
}

.bead {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #A8843C;
  border: 1px solid #5E1F2A;
}

.ledger-sheet {
  position: relative;
  width: 220px;
  height: 118px;
  margin: 0 auto 30px;
  background-color: #F3EADB;
  border: 1px solid #5E1F2A;
  background-image: repeating-linear-gradient(to bottom, transparent 0 19px, #C99AA3 19px 20px);
}

.ledger-rule {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: #A8843C;
  left: 76px;
}

.ledger-rule.rule-two {
  left: 148px;
}

.seal-disk {
  width: 58px;
  height: 58px;
  margin: 0 auto;
  border-radius: 50%;
  background-color: #A8843C;
  display: flex;
  align-items: center;
  justify-content: center;
}

.seal-disk::after {
  content: "";
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #8A2E3C;
  border: 2px solid #F3EADB;
}

.panel-stats {
  list-style: none;
  border-top: 1px solid #7A3A46;
  margin-top: 44px;
}

.panel-stats li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 13px 2px;
  border-bottom: 1px solid #7A3A46;
  font-size: 15px;
  color: #F3EADB;
}

.panel-stats strong {
  color: #FFFFFF;
  font-weight: 700;
  letter-spacing: 0.03em;
}

/* ---------------- Section shell ---------------- */

.section-head {
  max-width: 800px;
  margin-bottom: 46px;
}

.section-head h2 {
  font-size: 38px;
  line-height: 1.2;
  color: #5E1F2A;
  margin-bottom: 14px;
}

.section-head p {
  color: #6E655B;
  font-size: 17px;
}

/* ---------------- Engagement comparison table ---------------- */

.engagement-table {
  background-color: #FFFFFF;
  padding: 88px 24px;
  border-top: 1px solid #EEE6D9;
  border-bottom: 1px solid #EEE6D9;
}

.table-wrap {
  max-width: 1060px;
  margin: 0 auto;
  overflow-x: auto;
}

.engagement {
  width: 100%;
  border-collapse: collapse;
  background-color: #FFFFFF;
  border: 1px solid #E6DCC9;
}

.engagement th {
  background-color: #8A2E3C;
  color: #FFFFFF;
  text-align: left;
  padding: 16px 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.engagement td {
  padding: 20px;
  border-bottom: 1px solid #EEE6D9;
  color: #26201A;
  vertical-align: top;
  font-size: 16px;
}

.engagement tr:last-child td {
  border-bottom: none;
}

.engagement td:first-child {
  font-weight: 700;
  color: #5E1F2A;
  white-space: nowrap;
}

.engagement .check {
  color: #8A2E3C;
  font-weight: 700;
  margin-right: 9px;
}

.engagement tbody tr:nth-child(even) td {
  background-color: #FBF8F2;
}

.table-note {
  max-width: 1060px;
  margin: 26px auto 0;
  color: #6E655B;
  font-size: 15px;
}

/* ---------------- Receipt rows ---------------- */

.receipt-rows {
  background-color: #F7F3EC;
  padding: 88px 24px;
}

.receipt-list {
  max-width: 920px;
  margin: 0 auto;
}

.receipt-row {
  position: relative;
  background-color: #FFFFFF;
  border: 1px solid #EEE6D9;
  padding: 28px 32px 26px;
  margin-bottom: 44px;
  box-shadow: 0 2px 0 #E6DCC9;
}

.receipt-row::before {
  content: "";
  position: absolute;
  top: -8px;
  left: -1px;
  right: -1px;
  height: 8px;
  background-color: #F7F3EC;
  background-image:
    linear-gradient(135deg, #F7F3EC 0 50%, #FFFFFF 50% 100%),
    linear-gradient(45deg, #FFFFFF 0 50%, #F7F3EC 50% 100%);
  background-size: 16px 16px;
  background-repeat: repeat-x;
}

.receipt-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.receipt-head h3 {
  font-size: 25px;
  color: #5E1F2A;
  white-space: nowrap;
}

.receipt-dots {
  flex: 1;
  border-bottom: 2px dotted #A8843C;
  margin-bottom: 5px;
}

.receipt-value {
  color: #A8843C;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.receipt-row p {
  color: #26201A;
  margin-top: 14px;
  max-width: 720px;
}

/* ---------------- Gold column strip ---------------- */

.column-strip {
  background-color: #5E1F2A;
  padding: 66px 24px;
}

.strip-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.strip-cell {
  text-align: center;
  padding: 18px 16px;
  border-left: 1px solid #A8843C;
}

.strip-cell:first-child {
  border-left: none;
}

.strip-num {
  font-size: 50px;
  font-weight: 700;
  line-height: 1.1;
  color: #F3EADB;
  font-variant-numeric: tabular-nums;
}

.count-plus {
  color: #A8843C;
  font-size: 34px;
  margin-left: 2px;
}

.strip-label {
  margin-top: 10px;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #E3C8CD;
}

/* ---------------- CTA band ---------------- */

.cta-band {
  background-color: #EEE6D9;
  text-align: center;
  padding: 78px 24px;
  border-top: 1px solid #E0D5C0;
  border-bottom: 1px solid #E0D5C0;
}

.cta-band h2 {
  color: #5E1F2A;
  font-size: 38px;
  line-height: 1.25;
  margin-bottom: 16px;
}

.cta-band p {
  color: #6E655B;
  font-size: 17px;
  max-width: 660px;
  margin: 0 auto 32px;
}

/* ---------------- Four column footer with seal ---------------- */

.four-col-footer {
  background-color: #5E1F2A;
  color: #E3C8CD;
  padding: 60px 24px 30px;
}

.footer-grid {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.3fr;
}

.footer-col {
  padding: 0 26px;
  border-left: 1px solid #7A3A46;
}

.footer-col:first-child {
  border-left: none;
  padding-left: 0;
}

.footer-col:last-child {
  padding-right: 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.footer-brand .brand-word {
  color: #F3EADB;
  font-size: 24px;
}

.footer-blurb {
  color: #E3C8CD;
  font-size: 15px;
  margin-top: 16px;
  max-width: 330px;
}

.footer-col h4 {
  color: #F3EADB;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

.footer-links a {
  display: inline-block;
  color: #F3EADB;
  text-decoration: none;
  font-size: 15px;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #A8843C;
}

.footer-contact {
  color: #F3EADB;
  font-size: 15px;
  line-height: 1.9;
}

.footer-contact a {
  color: #F3EADB;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact a:hover {
  color: #A8843C;
}

.footer-legal {
  max-width: 1160px;
  margin: 38px auto 0;
  padding-top: 22px;
  border-top: 1px solid #7A3A46;
  text-align: center;
  color: #C99AA3;
  font-size: 14px;
}

.footer-legal a {
  color: #C99AA3;
  text-decoration: none;
  margin: 0 6px;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: #F3EADB;
}

/* ---------------- Inner page hero (services / contact) ---------------- */

.page-hero {
  background-color: #F7F3EC;
  padding: 78px 24px 66px;
  border-bottom: 1px solid #EEE6D9;
}

.page-hero .eyebrow-chip {
  margin-bottom: 20px;
}

.page-hero h1 {
  font-size: 46px;
  line-height: 1.15;
  color: #5E1F2A;
  margin-bottom: 18px;
  max-width: 860px;
}

.page-hero p {
  color: #6E655B;
  font-size: 18px;
  max-width: 760px;
}

/* ---------------- Services page ---------------- */

.service-blocks {
  background-color: #FFFFFF;
  padding: 76px 24px 34px;
}

.service-list {
  max-width: 980px;
  margin: 0 auto;
}

.service-block {
  padding: 46px 0;
  border-bottom: 1px solid #EEE6D9;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 28px;
}

.service-block:first-child {
  border-top: 1px solid #EEE6D9;
}

.service-index {
  color: #A8843C;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding-top: 6px;
}

.service-block h2 {
  color: #5E1F2A;
  font-size: 30px;
  margin-bottom: 12px;
}

.service-block p {
  color: #26201A;
  margin-bottom: 12px;
  max-width: 820px;
}

.process-section {
  background-color: #F7F3EC;
  padding: 84px 24px;
}

.process-section .section-head {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

.process-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.process-step {
  background-color: #FFFFFF;
  border: 1px solid #EEE6D9;
  padding: 26px;
  border-top: 4px solid #8A2E3C;
}

.process-step .step-num {
  color: #A8843C;
  font-size: 30px;
  font-weight: 700;
}

.process-step h3 {
  color: #5E1F2A;
  font-size: 20px;
  margin: 8px 0 10px;
}

.process-step p {
  color: #26201A;
  font-size: 15px;
}

/* ---------------- Contact page ---------------- */

.contact-section {
  background-color: #FFFFFF;
  padding: 84px 24px;
}

.contact-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 48px;
  align-items: start;
}

.form-field {
  margin-bottom: 22px;
}

.contact-form label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5E1F2A;
  margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #D8CCB8;
  background-color: #FFFFFF;
  color: #26201A;
  font-family: inherit;
  font-size: 16px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #8A2E3C;
  box-shadow: 0 0 0 2px #EEE6D9;
}

.contact-form textarea {
  min-height: 160px;
  resize: vertical;
}

.form-status {
  margin-top: 16px;
  color: #5E1F2A;
  font-weight: 700;
  min-height: 24px;
}

.contact-card {
  background-color: #F7F3EC;
  border: 1px solid #EEE6D9;
  padding: 28px;
  margin-bottom: 22px;
  border-left: 4px solid #A8843C;
}

.contact-card h3 {
  color: #5E1F2A;
  font-size: 20px;
  margin-bottom: 12px;
}

.contact-card p,
.contact-card a {
  color: #26201A;
  font-size: 16px;
}

.contact-card a {
  text-decoration: none;
  color: #8A2E3C;
  font-weight: 700;
}

.hours-list {
  list-style: none;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid #E0D5C0;
  font-size: 15px;
  color: #26201A;
}

.hours-list li:last-child {
  border-bottom: none;
}

.hours-list span:last-child {
  color: #6E655B;
}

.faq-section {
  background-color: #F7F3EC;
  padding: 84px 24px;
  border-top: 1px solid #EEE6D9;
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background-color: #FFFFFF;
  border: 1px solid #EEE6D9;
  margin-bottom: 14px;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 24px;
  font-family: inherit;
  font-size: 18px;
  font-weight: 700;
  color: #5E1F2A;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-question::after {
  content: "+";
  color: #8A2E3C;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.faq-item.open .faq-question::after {
  content: "\2212";
}

.faq-answer {
  display: none;
  padding: 0 24px 22px;
  color: #26201A;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ---------------- Scroll reveal (safe without JS) ---------------- */

.fade-up {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: none;
}

/* ---------------- Responsive ---------------- */

@media (max-width: 1020px) {
  .asym-hero {
    grid-template-columns: 1fr;
  }

  .hero-text {
    padding: 72px 24px;
  }

  .hero-panel {
    padding: 48px 24px 44px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px 24px;
  }

  .footer-col {
    border-left: none;
    padding: 0;
  }
}

@media (max-width: 900px) {
  .nav-inner {
    flex-wrap: wrap;
    min-height: 64px;
    padding-top: 14px;
    padding-bottom: 14px;
    gap: 14px;
  }

  .nav-left {
    flex: 0 0 auto;
  }

  .nav-brand {
    margin-left: 2px;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
  }

  .toggle-bar {
    width: 26px;
    height: 3px;
    background-color: #5E1F2A;
    border-radius: 2px;
  }

  .main-nav {
    order: 10;
    flex-basis: 100%;
    justify-content: flex-start;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    padding: 8px 0 4px;
  }

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

  .nav-links a {
    padding: 12px 4px;
    border-bottom: 1px solid #EEE6D9;
  }

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

  .strip-cell {
    border-left: none;
    border-top: 1px solid #A8843C;
  }

  .strip-cell:nth-child(-n+2) {
    border-top: none;
  }

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

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

@media (max-width: 620px) {
  .hero-title {
    font-size: 40px;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  .page-hero h1 {
    font-size: 34px;
  }

  .section-head h2 {
    font-size: 30px;
  }

  .cta-band h2 {
    font-size: 30px;
  }

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

  .strip-cell {
    border-top: 1px solid #A8843C;
  }

  .strip-cell:first-child {
    border-top: none;
  }

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

  .service-block {
    grid-template-columns: 1fr;
    gap: 8px;
  }

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

  .receipt-head {
    flex-wrap: wrap;
    row-gap: 6px;
  }

  .receipt-head h3 {
    white-space: normal;
  }

  .receipt-row {
    padding: 22px 20px 20px;
  }
}
