/* ═══════════════════════════════════════════════
   TRUE TALLY BOOKKEEPING — Shared Stylesheet
   Brand: Terracotta #BD7655 · Blue #71A3C1
   Fonts: Kalnia (headings) · Inter (body)
═══════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Kalnia:wght@300;400;600&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --terra:      #BD7655;
  --terra-dk:   #A8613E;
  --terra-lt:   #D4967A;
  --terra-pale: #F0E0D6;
  --blue:       #71A3C1;
  --blue-dk:    #4A7FA5;
  --blue-pale:  #D6E8F2;
  --cream:      #FBF8F4;
  --cream-dk:   #F3EDE5;
  --white:      #FFFFFF;
  --border:     #E8DDD3;
  --text:       #3D3530;
  --text-muted: #8B7B70;
  --font-head:  'Kalnia', Georgia, serif;
  --font-body:  'Inter', -apple-system, 'Helvetica Neue', sans-serif;
  --max:        860px;
  --max-wide:   1120px;
}

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  font-size: 17px;
  line-height: 1.65;
}

/* ── Typography ── */
h1, h2, h3 { font-family: var(--font-head); color: var(--blue); line-height: 1.2; font-weight: 400; }
h1 { font-size: clamp(1.9rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); margin-bottom: 0.6rem; }
h3 { font-size: 1.15rem; margin-bottom: 0.5rem; color: var(--blue-dk); }
h4 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: var(--text); margin-bottom: 0.4rem; }
p  { margin-bottom: 1rem; color: var(--text); }
a  { color: var(--terra); }
a:hover { color: var(--terra-dk); }
strong { color: var(--text); font-weight: 600; }

/* ── Layout ── */
.container      { max-width: var(--max);      margin: 0 auto; padding: 0 1.5rem; }
.container-wide { max-width: var(--max-wide); margin: 0 auto; padding: 0 1.5rem; }
section { padding: 4.5rem 0; }
.bg-white    { background: var(--white); }
.bg-cream    { background: var(--cream); }
.bg-cream-dk { background: var(--cream-dk); }

/* ── Divider ── */
.divider { width: 44px; height: 3px; background: var(--terra); margin: 0.75rem 0 1.5rem; border-radius: 2px; }

/* ── Buttons ── */
.btn { display: inline-block; background: var(--terra); color: var(--white); font-family: var(--font-body); font-weight: 600; font-size: 1rem; padding: 0.85rem 2rem; border-radius: 50px; text-decoration: none; transition: background 0.2s, transform 0.15s; }
.btn:hover { background: var(--terra-dk); transform: translateY(-1px); color: var(--white); }
.btn-outline { background: transparent; border: 2px solid var(--terra); color: var(--terra); }
.btn-outline:hover { background: var(--terra); color: var(--white); }
.btn-white { background: var(--white); color: var(--terra); }
.btn-white:hover { background: var(--cream); color: var(--terra-dk); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--blue-dk); color: var(--white); }

/* ── Top bar ── */
.topbar { background: var(--terra); color: rgba(255,255,255,0.88); font-size: 0.8rem; text-align: center; padding: 0.5rem 1.5rem; letter-spacing: 0.04em; }
.topbar a { color: var(--white); text-decoration: none; }

/* ── Nav ── */
nav { background: var(--white); border-bottom: 1px solid var(--border); padding: 0.9rem 2rem; position: sticky; top: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav-logo img { height: 46px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 1.5rem; list-style: none; margin: 0; padding: 0; flex: 1; justify-content: center; }
.nav-links a { font-size: 0.9rem; color: var(--text-muted); text-decoration: none; font-weight: 500; transition: color 0.15s; }
.nav-links a:hover { color: var(--terra); }
.nav-phone { font-size: 0.9rem; color: var(--text-muted); text-decoration: none; font-weight: 500; }
.nav-phone:hover { color: var(--terra); }

/* ── Page hero (inner pages) ── */
.page-hero { background: var(--terra); color: var(--white); padding: 4rem 0 3.5rem; }
.page-hero-eyebrow { display: inline-block; background: rgba(255,255,255,0.18); color: rgba(255,255,255,0.9); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.3rem 0.85rem; border-radius: 50px; margin-bottom: 1rem; }
.page-hero h1 { color: var(--white); margin-bottom: 1rem; max-width: 700px; }
.page-hero p  { color: rgba(255,255,255,0.82); max-width: 600px; font-size: 1.1rem; margin-bottom: 0; }

/* ── Breadcrumb ── */
.breadcrumb { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 2rem; }
.breadcrumb a { color: var(--terra); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 0.4rem; }

/* ── Trust bar ── */
.trustbar { background: var(--terra); }
.trustbar-inner { max-width: var(--max-wide); margin: 0 auto; padding: 0 2rem; display: flex; flex-wrap: wrap; justify-content: center; }
.trust-item { padding: 1rem 1.75rem; text-align: center; color: rgba(255,255,255,0.75); font-size: 0.75rem; letter-spacing: 0.05em; text-transform: uppercase; border-right: 1px solid rgba(255,255,255,0.15); flex: 1 1 150px; }
.trust-item:last-child { border-right: none; }
.trust-item strong { display: block; color: var(--white); font-size: 1.3rem; font-weight: 700; text-transform: none; letter-spacing: -0.02em; margin-bottom: 0.1rem; font-family: var(--font-head); }

/* ── Cards ── */
.card { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 1.8rem 1.5rem; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.card-top { border-top: 3px solid var(--terra); border-radius: 3px 3px 8px 8px; }

/* ── Lists ── */
.check-list { list-style: none; margin: 1.25rem 0; }
.check-list li { padding: 0.6rem 0 0.6rem 2rem; position: relative; border-bottom: 1px solid var(--border); font-size: 1rem; }
.check-list li:last-child { border-bottom: none; }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--terra); font-weight: 700; }

.cross-list { list-style: none; margin: 1.25rem 0; }
.cross-list li { padding: 0.6rem 0 0.6rem 2rem; position: relative; border-bottom: 1px solid var(--border); }
.cross-list li:last-child { border-bottom: none; }
.cross-list li::before { content: '✕'; position: absolute; left: 0; color: var(--terra); font-weight: 700; }

/* ── Highlight box ── */
.highlight { background: var(--blue-pale); border-left: 3px solid var(--blue); padding: 1rem 1.25rem; border-radius: 0 6px 6px 0; margin: 1.5rem 0; font-size: 0.97rem; color: var(--blue-dk); }
.highlight strong { color: var(--blue-dk); }
.highlight-terra { background: var(--terra-pale); border-left: 3px solid var(--terra); color: var(--terra-dk); }
.highlight-terra strong { color: var(--terra-dk); }

/* ── Testimonials ── */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.testimonial { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 1.8rem 1.5rem; }
.testimonial-body { font-style: italic; color: var(--text); font-size: 0.97rem; margin-bottom: 1.25rem; line-height: 1.7; }
.testimonial-footer { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-stars { color: var(--terra); font-size: 0.9rem; letter-spacing: -1px; display: block; margin-bottom: 0.15rem; }
.testimonial-name { font-weight: 600; font-size: 0.9rem; color: var(--blue-dk); display: block; }
.testimonial-co   { font-size: 0.8rem; color: var(--text-muted); display: block; }

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q { font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: var(--text); cursor: pointer; display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; list-style: none; padding: 1.25rem 0; user-select: none; }
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after { content: '+'; font-size: 1.5rem; font-weight: 300; color: var(--terra); flex-shrink: 0; line-height: 1; }
details[open] .faq-q::after { content: '−'; }
.faq-a { padding-bottom: 1.25rem; color: var(--text-muted); font-size: 0.97rem; line-height: 1.75; max-width: 720px; }
.faq-a ul { margin: 0.5rem 0 0.5rem 1.5rem; }
.faq-a li { margin-bottom: 0.3rem; }

/* ── Offer box ── */
.offer-box { background: var(--terra); color: var(--white); border-radius: 16px; padding: 3rem 2.5rem; }
.offer-tag { display: inline-block; background: rgba(255,255,255,0.2); color: var(--white); font-size: 0.73rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.25rem 0.75rem; border-radius: 50px; margin-bottom: 1rem; }
.offer-box h2 { color: var(--white); font-weight: 400; }
.offer-box p  { color: rgba(255,255,255,0.85); }
.offer-includes { list-style: none; margin: 1.5rem 0 2rem; }
.offer-includes li { padding: 0.5rem 0 0.5rem 1.8rem; position: relative; color: rgba(255,255,255,0.9); font-size: 0.97rem; }
.offer-includes li::before { content: '→'; position: absolute; left: 0; color: rgba(255,255,255,0.6); }

/* ── CTA section ── */
.cta-section { background: var(--blue); text-align: center; padding: 5rem 0; }
.cta-section h2 { color: var(--white); }
.cta-section p  { color: rgba(255,255,255,0.82); max-width: 520px; margin: 0.75rem auto 2rem; }
.cta-micro { font-size: 0.82rem; color: rgba(255,255,255,0.55); margin-top: 0.75rem; }
.cta-micro a { color: rgba(255,255,255,0.75); }

/* ── Blog ── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.blog-card { background: var(--white); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; transition: box-shadow 0.2s; text-decoration: none; display: block; }
.blog-card:hover { box-shadow: 0 4px 20px rgba(189,118,85,0.12); }
.blog-card-body { padding: 1.5rem; }
.blog-tag { display: inline-block; background: var(--terra-pale); color: var(--terra-dk); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.2rem 0.65rem; border-radius: 50px; margin-bottom: 0.75rem; }
.blog-card h3 { font-size: 1.05rem; color: var(--blue-dk); margin-bottom: 0.5rem; line-height: 1.35; }
.blog-card p  { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 0; }

/* ── Article body ── */
.article-body { max-width: 700px; }
.article-body h2 { margin-top: 2.5rem; margin-bottom: 0.6rem; }
.article-body h3 { margin-top: 1.75rem; margin-bottom: 0.5rem; }
.article-body p  { margin-bottom: 1.1rem; }
.article-body ul, .article-body ol { margin: 0.75rem 0 1.1rem 1.5rem; }
.article-body li { margin-bottom: 0.4rem; }
.article-meta { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 2rem; }
.article-meta span { margin-right: 1rem; }

/* ── Location chips ── */
.location-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.chip { display: inline-block; background: var(--terra-pale); color: var(--terra-dk); font-size: 0.8rem; font-weight: 500; padding: 0.3rem 0.85rem; border-radius: 50px; text-decoration: none; transition: background 0.15s; }
.chip:hover { background: var(--terra); color: var(--white); }

/* ── Footer ── */
footer { background: var(--text); color: rgba(255,255,255,0.5); padding: 3.5rem 0 2rem; font-size: 0.85rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 2.5rem; justify-content: space-between; margin-bottom: 2.5rem; }
.footer-brand { max-width: 280px; }
.footer-logo { display: block; margin-bottom: 0.75rem; }
.footer-logo img { height: 40px; width: auto; filter: brightness(0) invert(1); opacity: 0.8; }
.footer-col h4 { color: rgba(255,255,255,0.65); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.75rem; font-family: var(--font-body); font-weight: 600; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.4rem; }
.footer-col ul li a { color: rgba(255,255,255,0.45); text-decoration: none; }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: space-between; font-size: 0.78rem; color: rgba(255,255,255,0.28); }

/* ── Responsive ── */
@media (max-width: 760px) {
  section { padding: 3rem 0; }
  nav { padding: 0.85rem 1.25rem; }
  .nav-links { display: none; }
  .offer-box { padding: 2rem 1.5rem; }
  .trust-item { flex: 1 1 45%; }
  .footer-inner { flex-direction: column; }
  .page-hero { padding: 3rem 0 2.5rem; }
}
@media (max-width: 480px) {
  .trust-item { flex: 1 1 100%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
}
