/* Culbertson & Jacobs, PLLC — static rebuild stylesheet.
   Mobile-first, no frameworks. Burgundy + gray (from logo), clean serif/sans pairing. */

:root {
  --brand-900: #4a0817;
  --brand-800: #5c0d1f;
  --brand-700: #6e1423;
  --accent-500: #8a8d90;
  --accent-600: #6f7276;
  --ink: #1a1a1a;
  --muted: #5f6062;
  --paper: #ffffff;
  --wash: #f5f5f5;
  --line: #e4e4e4;
  --radius: 10px;
  --maxw: 1140px;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-head: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.65;
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-700); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--brand-900); line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; background: var(--accent-500); color: #000; padding: .5rem 1rem; z-index: 99; }

/* Buttons */
.btn {
  display: inline-block; padding: .8rem 1.6rem; border-radius: var(--radius);
  font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer;
}
.btn-accent { background: var(--accent-600); color: #ffffff; }
.btn-accent:hover { background: #5a5d60; color: #fff; }
.btn-outline { border-color: var(--paper); color: var(--paper); }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-brand { background: var(--brand-800); color: #fff; }
.btn-brand:hover { background: var(--brand-700); }

/* Top bar + header */
.topbar { background: var(--brand-900); color: #ececec; font-size: .85rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding-top: .45rem; padding-bottom: .45rem; gap: 1rem; }
.topbar-phone { color: var(--accent-500); font-weight: 700; text-decoration: none; white-space: nowrap; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .8rem; padding-bottom: .8rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand-logo { height: 68px; width: auto; object-fit: contain; }
.brand-text { font-family: var(--font-head); font-weight: 700; color: var(--brand-900); font-size: 1.15rem; line-height: 1.2; }
.brand-text small { display: block; font-family: var(--font-body); font-weight: 400; font-size: .68rem; color: var(--muted); letter-spacing: .04em; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; font-size: 1.4rem; padding: .25rem .7rem; cursor: pointer; }
.primary-nav ul { display: flex; align-items: center; gap: .8rem; list-style: none; margin: 0; padding: 0; flex-wrap: nowrap; }
.primary-nav a { text-decoration: none; color: var(--brand-900); font-weight: 600; font-size: .88rem; white-space: nowrap; }
.primary-nav a:hover { color: var(--accent-600); }
.primary-nav .btn-accent { color: #ffffff; padding: .55rem 1.1rem; }

/* Dropdown sub-menus */
.primary-nav .has-sub { position: relative; }
.primary-nav .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 220px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 30px rgba(0,0,0,.12); padding: .5rem; z-index: 60; flex-direction: column; align-items: stretch; gap: 0; }
.primary-nav .has-sub:hover > .sub-menu,
.primary-nav .has-sub:focus-within > .sub-menu { display: flex; }
.primary-nav .sub-menu a { display: block; padding: .55rem .8rem; font-size: .9rem; border-radius: 6px; white-space: nowrap; }
.primary-nav .sub-menu a:hover { background: var(--wash); }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--brand-900) 0%, var(--brand-700) 70%, #8f2438 100%);
  color: #fff; padding: 4.5rem 0;
}
.hero h1 { color: #fff; max-width: 16ch; }
.hero p.lede { font-size: 1.15rem; color: #ececec; max-width: 52ch; }
.hero-ctas { display: flex; gap: .9rem; flex-wrap: wrap; margin-top: 1.6rem; }
.hero-badges { display: flex; gap: 1.6rem; flex-wrap: wrap; margin-top: 2.2rem; color: #ececec; font-size: .92rem; }
.hero-badges strong { color: var(--accent-500); }

/* Sections */
.section { padding: 3.5rem 0; }
.section-wash { background: var(--wash); }
.section-head { max-width: 62ch; margin-bottom: 2rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--accent-600); margin-bottom: .5rem; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.card h3 { margin-top: 0; }
.card .btn { margin-top: .6rem; }

/* Attorneys */
.attorney-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.attorney-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.attorney-card img { width: 100%; aspect-ratio: 4/4.4; object-fit: cover; }
.attorney-card .pad { padding: 1.3rem; }
.attorney-card .cred { color: var(--accent-600); font-weight: 700; font-size: .88rem; }

/* Testimonials */
.quote { border-left: 4px solid var(--accent-500); padding: .4rem 0 .4rem 1.2rem; margin: 0 0 1.6rem; }
.quote p { font-style: italic; margin: 0 0 .5rem; }
.quote cite { font-style: normal; color: var(--muted); font-size: .9rem; }

/* FAQ accordion */
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .7rem; background: var(--paper); }
.faq-item summary { padding: 1rem 1.2rem; font-size: 1.02rem; font-weight: 700; color: var(--brand-900); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; font-weight: 400; color: var(--accent-600); flex: none; }
.faq-item[open] summary::after { content: "–"; }
.faq-item summary:hover { color: var(--brand-700); }
.faq-item .faq-body { padding: 0 1.2rem 1.2rem; color: var(--ink); }
.faq-item .faq-body p { margin: 0; }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 1rem 1.2rem; font-size: 1.02rem; font-weight: 700; color: var(--brand-900); cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; }
.faq-a { padding: 0 1.2rem 1.2rem; color: var(--ink); }
.faq-a[hidden] { display: none; }

/* Forms */
.form-wrap { max-width: 640px; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; margin-bottom: .35rem; }
.field input, .field textarea, .field select {
  width: 100%; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: 8px; font: inherit;
}
.field textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--muted); }
.form-status { margin-top: 1rem; font-weight: 600; }
.embed-shell { border: 1px dashed var(--accent-600); border-radius: var(--radius); padding: 1.5rem; background: #fafafa; }

/* Article / migrated content */
.article-body { max-width: 72ch; }

/* Blog index */
.post-list { max-width: 72ch; }
.post-item { padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.post-item:first-child { padding-top: 0; }
.post-item h3 { margin: 0 0 .4rem; font-size: 1.25rem; }
.post-item h3 a { color: var(--brand-900); text-decoration: none; }
.post-item h3 a:hover { color: var(--brand-700); text-decoration: underline; }
.post-item p { margin: 0 0 .3rem; color: var(--ink); }
.post-date { font-size: .82rem; color: var(--muted); margin: 0 0 .3rem; }
.article-body h2 { margin-top: 2rem; }
.article-body ul, .article-body ol { padding-left: 1.4rem; }
.article-meta { color: var(--muted); font-size: .88rem; margin-bottom: 1.5rem; }
.page-hero { background: var(--brand-800); color: #fff; padding: 2.8rem 0; }
.page-hero h1 { color: #fff; margin: 0; }
.breadcrumb { font-size: .85rem; color: #b5b5b5; margin-bottom: .8rem; }
.breadcrumb a { color: #ececec; }

/* Footer */
.site-footer { background: var(--brand-900); color: #cfcfcf; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; padding: 3rem 1.25rem 1.5rem; }
.site-footer h2 { color: #fff; font-size: 1.05rem; }
.site-footer a { color: #ececec; }
.footer-phone { color: var(--accent-500); font-weight: 700; font-size: 1.2rem; text-decoration: none; }
.office-list { list-style: none; padding: 0; margin: 0; }
.office-list li { margin-bottom: 1rem; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.15); padding: 1.2rem 1.25rem 2rem; font-size: .82rem; color: #a3a3a3; }
.disclaimer { max-width: 90ch; }

/* Responsive */
.mobile-call-bar { display: none; }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .primary-nav { display: none; width: 100%; }
  .primary-nav.open { display: block; }
  .primary-nav ul { flex-direction: column; align-items: stretch; padding: 1rem 0; }
  .primary-nav li { border-top: 1px solid var(--line); }
  .primary-nav a { display: block; padding: .8rem 0; }
  .primary-nav .sub-menu { display: block; position: static; border: 0; box-shadow: none; padding: 0 0 0 1rem; min-width: 0; }
  .primary-nav .sub-menu a { padding: .55rem 0; font-weight: 500; }
  .header-inner { flex-wrap: wrap; }
  .topbar-text { display: none; }
  .topbar-inner { justify-content: flex-end; }
  /* Sticky call bar on mobile */
  body { padding-bottom: 3.75rem; }
  .mobile-call-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; background: var(--brand-700); color: #fff; text-decoration: none; font-weight: 700; font-size: 1.05rem; align-items: center; justify-content: center; gap: .6rem; padding: 1rem; box-shadow: 0 -4px 16px rgba(0,0,0,.2); }
  .mobile-call-bar:hover { color: #fff; }
  .qualify-fab { bottom: 4.75rem; right: .9rem; padding: .75rem 1.2rem; font-size: .92rem; }
}

/* Floating "See If You Qualify" button + modal */
.qualify-fab { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 80; background: var(--brand-700); color: #fff; border: 0; border-radius: 999px; padding: .9rem 1.5rem; font-size: 1rem; font-weight: 700; cursor: pointer; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.qualify-fab:hover { background: var(--brand-800); }
.qualify-modal { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.55); display: flex; align-items: center; justify-content: center; padding: 1rem; }
.qualify-modal[hidden] { display: none; }
.qualify-modal-card { position: relative; background: var(--paper); border-radius: var(--radius); max-width: 560px; width: 100%; max-height: 90vh; overflow-y: auto; padding: 2rem; box-shadow: 0 24px 60px rgba(0,0,0,.3); }
.qualify-modal-card h2 { margin: 0 0 .3rem; color: var(--brand-900); }
.qualify-sub { color: var(--muted); margin: 0 0 1.2rem; }
.qualify-close { position: absolute; top: .7rem; right: .9rem; background: none; border: 0; font-size: 1.8rem; line-height: 1; color: var(--muted); cursor: pointer; }
.qualify-close:hover { color: var(--ink); }
.qualify-form iframe { width: 100%; border: 0; min-height: 480px; }
