/* Taxes by Deb Cee — brand styles
   Palette from brand/overview.md
   red #920505 · black · peach #F9DDCF · white · teal #21AABC */

:root {
  --red: #920505;
  --red-deep: #6E1B2E;   /* script / notary */
  --teal: #21AABC;
  --teal-deep: #15808d;
  --brown: #8A5A2B;      /* bookkeeping accent */
  --peach: #F9DDCF;
  --ink: #1a1a1a;
  --gray: #5b5b5b;
  --line: #e7e2dd;
  --bg: #ffffff;
  --bg-soft: #fbf6f2;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.06);
  --max: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 {
  font-family: "Poppins", "Segoe UI", system-ui, sans-serif;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 .5em;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 4vw, 3.1rem); letter-spacing: -.5px; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); letter-spacing: -.3px; }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1rem; color: var(--gray); }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 4.5rem 0; }
.section-soft { background: var(--bg-soft); }
.center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--gray); max-width: 640px; }
.center .lead { margin-left: auto; margin-right: auto; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--red);
  margin: 0 0 .6rem;
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: .6rem; font-family: "Poppins", sans-serif; font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.brand img { height: 38px; width: auto; }
.brand:hover { text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: var(--red); text-decoration: none; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: .8rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: #7a0404; box-shadow: var(--shadow-sm); }
.btn-ghost { background: #fff; color: var(--red); border-color: var(--red); }
.btn-ghost:hover { background: var(--peach); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-deep); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.center .btn-row { justify-content: center; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--peach) 0%, #fff 100%); padding: 4.5rem 0 3.5rem; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: center; }
.hero img.headshot { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .logo { height: 76px; width: auto; margin-bottom: 1rem; align-self: flex-start; }
.card h3 { margin-bottom: .4rem; }
.card .btn { margin-top: auto; align-self: flex-start; }
.card-top { border-top: 4px solid var(--red); }
.card-top.teal { border-top-color: var(--teal); }
.card-top.maroon { border-top-color: var(--red-deep); }

/* ---------- Service list ---------- */
.svc-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.svc-list li { padding: .55rem 0 .55rem 1.8rem; position: relative; color: var(--ink); border-bottom: 1px solid var(--line); }
.svc-list li:before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 700; }
.svc-list.teal li:before { color: var(--teal); }
.svc-list.maroon li:before { color: var(--red-deep); }

/* ---------- Trust row ---------- */
.trust { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: center; padding: 1.5rem 0; }
.trust span { font-weight: 600; color: var(--ink); font-size: .92rem; display: flex; align-items: center; gap: .4rem; }
.trust span:before { content: "●"; color: var(--teal); font-size: .6rem; }

/* ---------- Section header band (service pages) ---------- */
.page-band { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 3rem 0; }
.page-band.red { background: linear-gradient(180deg, var(--peach), #fff); }
.page-band img.logo { height: 90px; margin-bottom: 1rem; }

/* ---------- Meet Debbie strip ---------- */
.meet { display: grid; grid-template-columns: 220px 1fr; gap: 2rem; align-items: center; }
.meet img { width: 220px; height: 220px; object-fit: cover; border-radius: 50%; box-shadow: var(--shadow); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1rem; max-width: 560px; }
.form label { font-weight: 600; font-size: .9rem; color: var(--ink); display: block; margin-bottom: .3rem; }
.form input, .form select, .form textarea {
  width: 100%; padding: .7rem .9rem; border: 1px solid var(--line);
  border-radius: 10px; font: inherit; background: #fff;
}
.form textarea { min-height: 120px; resize: vertical; }
.field { margin: 0; }

/* ---------- Blog list ---------- */
.tag { display: inline-block; background: var(--peach); color: var(--red); font-size: .75rem; font-weight: 700; padding: .2rem .6rem; border-radius: 999px; text-transform: uppercase; letter-spacing: .5px; }
.post { border-bottom: 1px solid var(--line); padding: 1.4rem 0; }
.post h3 { margin-bottom: .3rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #cfcfcf; padding: 3rem 0 1.5rem; margin-top: 2rem; }
.site-footer a { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: .8rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .4rem; font-size: .9rem; }
.foot-bottom { border-top: 1px solid #333; margin-top: 2rem; padding-top: 1.2rem; font-size: .82rem; color: #9a9a9a; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.muted { color: var(--gray); }
.note { background: var(--peach); border-radius: 10px; padding: 1rem 1.2rem; font-size: .9rem; color: var(--red-deep); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-links {
    display: none; position: absolute; top: 70px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: .5rem 1.25rem 1rem;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links li a { display: block; padding: .7rem 0; width: 100%; }
  .nav-toggle { display: block; }
  .hero-grid, .grid-3, .grid-2, .meet, .foot-grid { grid-template-columns: 1fr; }
  .meet img { width: 160px; height: 160px; }
}
