/*
Theme Name: McDonald Law Firm
Theme URI: https://davidmcdonaldesq.com
Author: Marketing
Description: Mobile-first landing theme for McDonald Law Firm LLC — criminal defense (Platte City, MO & Olathe, KS).
Version: 1.3.5
Text Domain: mcdonald-law
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
      --navy: #0b1c33;
      --navy-mid: #132a4d;
      --charcoal: #111827;
      --gold: #f5c518;
      --gold-light: #ffe566;
      --gold-dim: rgba(245, 197, 24, 0.18);
      --cta: #e10600;
      --cta-dark: #b80500;
      --cta-glow: rgba(225, 6, 0, 0.45);
      --white: #ffffff;
      --off-white: #f4f6fa;
      --muted: #6b7280;
      --text: #1f2937;
      --border: rgba(245, 197, 24, 0.28);
      --shadow: 0 10px 36px rgba(11, 28, 51, 0.22);
      --radius: 14px;
      --safe-bottom: env(safe-area-inset-bottom, 0px);
      --sticky-h: 68px;
      --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
    }

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

    html { scroll-behavior: smooth; }

    body {
      font-family: var(--font);
      background: var(--off-white);
      color: var(--text);
      line-height: 1.55;
      font-size: 16px;
      padding-bottom: calc(var(--sticky-h) + var(--safe-bottom) + 8px);
      -webkit-font-smoothing: antialiased;
    }

    a { color: var(--navy); text-decoration: none; }
    a:hover { color: var(--gold); }

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

    .wrap {
      width: min(100% - 2rem, 420px);
      margin-inline: auto;
    }

    .wrap-wide {
      width: min(100% - 2rem, 640px);
      margin-inline: auto;
    }

    /* ——— Top bar ——— */
    .topbar {
      background: var(--navy);
      color: var(--white);
      padding: 0.65rem 0;
      font-size: 0.75rem;
      letter-spacing: 0.04em;
      text-align: center;
    }
    .topbar a { color: var(--gold-light); font-weight: 600; }
    .topbar a:hover { color: var(--white); }

    /* ——— Hero ——— */
    .hero {
      background:
        radial-gradient(ellipse 120% 80% at 50% -20%, rgba(201, 162, 39, 0.18), transparent 55%),
        linear-gradient(165deg, var(--navy) 0%, var(--charcoal) 55%, #0a1628 100%);
      color: var(--white);
      padding: 1.75rem 0 2.25rem;
      position: relative;
      overflow: hidden;
    }
    .hero::after {
      content: "";
      position: absolute;
      inset: auto -20% -40% 40%;
      height: 280px;
      background: radial-gradient(circle, rgba(201, 162, 39, 0.12), transparent 70%);
      pointer-events: none;
    }

    .brand-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem;
      margin-bottom: 1.5rem;
    }
    .brand-name {
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--gold);
    }
    .brand-url {
      font-size: 0.7rem;
      color: rgba(255,255,255,0.55);
    }

    .hero-main {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 1.1rem;
      position: relative;
      z-index: 1;
    }

    .photo-wrap {
      width: max(200px, min(78vw, 240px));
      height: max(200px, min(78vw, 240px));
      min-width: 200px;
      min-height: 200px;
      border-radius: 50%;
      border: 4px solid var(--gold);
      box-shadow: 0 0 0 6px rgba(245, 197, 24, 0.3), 0 14px 32px rgba(0,0,0,0.4);
      overflow: hidden;
      flex-shrink: 0;
      background: #1a1a1a;
      margin-inline: auto;
    }
    .hero-photo {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center top;
      display: block;
    }

    .hero h1 {
      font-size: clamp(1.45rem, 5.5vw, 1.75rem);
      font-weight: 700;
      line-height: 1.25;
      letter-spacing: -0.02em;
      max-width: 18ch;
    }
    .hero .tagline {
      font-size: 0.95rem;
      color: rgba(255,255,255,0.78);
      max-width: 28ch;
      margin-top: -0.35rem;
    }
    .hero .exp {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      font-size: 0.8rem;
      color: var(--gold-light);
      font-weight: 600;
      background: var(--gold-dim);
      border: 1px solid var(--border);
      padding: 0.35rem 0.75rem;
      border-radius: 999px;
    }

    .btn-call {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      min-height: 52px;
      min-width: 220px;
      padding: 0.95rem 1.6rem;
      background: linear-gradient(180deg, #ff2a22, var(--cta) 45%, var(--cta-dark));
      color: var(--white) !important;
      font-weight: 800;
      font-size: 1.05rem;
      letter-spacing: 0.03em;
      text-transform: uppercase;
      border: 2px solid var(--gold-light);
      border-radius: 999px;
      box-shadow: 0 6px 24px var(--cta-glow), 0 0 0 3px rgba(245, 197, 24, 0.2);
      transition: transform 0.15s ease, box-shadow 0.15s ease;
      -webkit-tap-highlight-color: transparent;
      animation: pulse-cta 2.4s ease-in-out infinite;
    }
    @keyframes pulse-cta {
      0%, 100% { box-shadow: 0 6px 24px var(--cta-glow), 0 0 0 3px rgba(245, 197, 24, 0.2); }
      50% { box-shadow: 0 8px 32px rgba(225, 6, 0, 0.65), 0 0 0 5px rgba(245, 197, 24, 0.35); }
    }
    .btn-call:active { transform: scale(0.98); animation: none; }
    .btn-call svg { width: 18px; height: 18px; flex-shrink: 0; }

    .google-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.55rem;
      background: rgba(255,255,255,0.08);
      border: 1px solid rgba(255,255,255,0.12);
      border-radius: 12px;
      padding: 0.55rem 0.9rem;
      backdrop-filter: blur(8px);
    }
    .google-badge .g-icon {
      width: 22px;
      height: 22px;
      border-radius: 4px;
      background: var(--white);
      display: grid;
      place-items: center;
      font-weight: 700;
      font-size: 0.85rem;
      color: #4285f4;
      flex-shrink: 0;
    }
    .google-badge .stars {
      color: var(--gold-light);
      font-size: 0.85rem;
      letter-spacing: 0.05em;
      line-height: 1;
    }
    .google-badge .meta {
      font-size: 0.7rem;
      color: rgba(255,255,255,0.65);
      line-height: 1.3;
    }
    .google-badge strong {
      color: var(--white);
      font-size: 0.85rem;
    }

    /* Peek review in hero */
    .hero-review {
      width: 100%;
      margin-top: 0.35rem;
    }
    .hero-review .review-card {
      background: rgba(255,255,255,0.95);
      color: var(--text);
      border: none;
      box-shadow: var(--shadow);
    }

    /* ——— Sections ——— */
    section {
      padding: 2.25rem 0;
    }
    section + section {
      border-top: 1px solid rgba(12, 30, 58, 0.06);
    }

    .section-label {
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 0.4rem;
    }
    h2 {
      font-size: 1.35rem;
      font-weight: 700;
      color: var(--navy);
      letter-spacing: -0.02em;
      margin-bottom: 1rem;
      line-height: 1.3;
    }
    p.lead {
      font-size: 0.95rem;
      color: var(--muted);
      margin-bottom: 1.25rem;
    }

    /* ——— Reviews carousel ——— */
    .reviews-section {
      background: var(--white);
      padding-top: 2rem;
      padding-bottom: 2.5rem;
    }

    .carousel {
      position: relative;
      overflow: hidden;
      margin: 0 -1rem;
      padding: 0 1rem;
    }
    .carousel-track {
      display: flex;
      gap: 0.85rem;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      scroll-behavior: smooth;
      -webkit-overflow-scrolling: touch;
      padding: 0.25rem 0 1rem;
      scrollbar-width: none;
    }
    .carousel-track::-webkit-scrollbar { display: none; }

    .review-card {
      flex: 0 0 min(82%, 300px);
      scroll-snap-align: start;
      background: var(--off-white);
      border: 1px solid rgba(12, 30, 58, 0.08);
      border-radius: var(--radius);
      padding: 1.15rem 1.2rem;
      box-shadow: 0 4px 16px rgba(12, 30, 58, 0.06);
      display: flex;
      flex-direction: column;
      gap: 0.65rem;
      min-height: 168px;
    }
    .review-card .stars {
      color: var(--gold);
      font-size: 0.95rem;
      letter-spacing: 0.08em;
    }
    .review-card blockquote {
      font-size: 0.9rem;
      font-style: italic;
      color: var(--text);
      line-height: 1.5;
      flex: 1;
    }
    .review-card blockquote::before {
      content: "“";
      color: var(--gold);
      font-style: normal;
      font-weight: 700;
      font-size: 1.2em;
      margin-right: 0.1em;
    }
    .review-card footer {
      font-size: 0.75rem;
      color: var(--muted);
      font-style: normal;
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 0.4rem;
    }
    .review-card footer .source {
      font-weight: 500;
      background: var(--gold-dim);
      color: #8a7010;
      padding: 0.15rem 0.45rem;
      border-radius: 4px;
      font-size: 0.65rem;
      letter-spacing: 0.03em;
    }

    .carousel-dots {
      display: flex;
      justify-content: center;
      gap: 0.45rem;
      margin-top: 0.25rem;
    }
    .carousel-dots button {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      border: none;
      background: rgba(12, 30, 58, 0.2);
      padding: 0;
      cursor: pointer;
      min-width: 8px;
      min-height: 8px;
      transition: background 0.2s, transform 0.2s;
    }
    .carousel-dots button[aria-current="true"] {
      background: var(--gold);
      transform: scale(1.25);
    }

    /* ——— Practice areas ——— */
    .chips {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
    }
    .chip {
      display: inline-flex;
      align-items: center;
      min-height: 40px;
      padding: 0.45rem 0.9rem;
      background: var(--white);
      border: 1px solid rgba(12, 30, 58, 0.1);
      border-radius: 999px;
      font-size: 0.8rem;
      font-weight: 600;
      color: var(--navy);
      box-shadow: 0 2px 6px rgba(12, 30, 58, 0.04);
    }
    .chip::before {
      content: "";
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--gold);
      margin-right: 0.45rem;
    }

    /* ——— Bio ——— */
    .bio-section {
      background: var(--white);
    }
    .bio-card {
      background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
      color: var(--white);
      border-radius: var(--radius);
      padding: 1.5rem 1.35rem;
      position: relative;
      overflow: hidden;
    }
    .bio-card::before {
      content: "";
      position: absolute;
      top: -40px;
      right: -40px;
      width: 140px;
      height: 140px;
      border-radius: 50%;
      border: 2px solid rgba(201, 162, 39, 0.25);
      pointer-events: none;
    }
    .bio-card h2 { color: var(--white); margin-bottom: 0.75rem; }
    .bio-card p {
      font-size: 0.9rem;
      color: rgba(255,255,255,0.82);
      margin-bottom: 0.85rem;
    }
    .bio-card p:last-child { margin-bottom: 0; }
    .bio-card .accent { color: var(--gold-light); font-weight: 600; }

    /* ——— Fees ——— */
    .fees-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
    }
    .fee-item {
      background: var(--white);
      border: 1px solid rgba(12, 30, 58, 0.08);
      border-radius: 12px;
      overflow: hidden;
    }
    .fee-item summary {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem;
      padding: 1rem 1.1rem;
      cursor: pointer;
      list-style: none;
      font-weight: 600;
      font-size: 0.9rem;
      color: var(--navy);
      min-height: 52px;
      -webkit-tap-highlight-color: transparent;
    }
    .fee-item summary::-webkit-details-marker { display: none; }
    .fee-item summary::after {
      content: "+";
      font-size: 1.25rem;
      font-weight: 400;
      color: var(--gold);
      line-height: 1;
      transition: transform 0.2s;
    }
    .fee-item[open] summary::after { content: "−"; }
    .fee-item .fee-price {
      font-weight: 700;
      color: var(--gold);
      font-size: 0.85rem;
      white-space: nowrap;
      margin-left: auto;
      margin-right: 0.65rem;
    }
    .fee-item .fee-detail {
      padding: 0 1.1rem 1rem;
      font-size: 0.85rem;
      color: var(--muted);
      border-top: 1px solid rgba(12, 30, 58, 0.05);
      padding-top: 0.75rem;
    }
    .rate-banner {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      background: var(--gold-dim);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 0.9rem 1.1rem;
      margin-bottom: 1rem;
      font-size: 0.9rem;
      color: var(--navy);
    }
    .rate-banner strong {
      font-size: 1.15rem;
      color: var(--navy);
    }

    /* ——— CTA band ——— */
    .cta-band {
      background: var(--navy);
      color: var(--white);
      text-align: center;
      padding: 2.5rem 0;
    }
    .cta-band h2 {
      color: var(--white);
      margin-bottom: 0.5rem;
    }
    .cta-band p {
      color: rgba(255,255,255,0.7);
      font-size: 0.9rem;
      margin-bottom: 1.25rem;
    }

    /* ——— Footer ——— */
    .site-footer {
      background: var(--charcoal);
      color: rgba(255,255,255,0.7);
      padding: 2rem 0 1.5rem;
      font-size: 0.85rem;
    }
    .site-footer .firm {
      color: var(--gold);
      font-weight: 700;
      font-size: 0.95rem;
      letter-spacing: 0.04em;
      margin-bottom: 0.75rem;
    }
    .site-footer .nap {
      display: flex;
      flex-direction: column;
      gap: 0.45rem;
      margin-bottom: 1.25rem;
    }
    .site-footer a {
      color: rgba(255,255,255,0.85);
      min-height: 44px;
      display: inline-flex;
      align-items: center;
    }
    .site-footer a:hover { color: var(--gold-light); }
    .site-footer .note {
      font-size: 0.75rem;
      color: rgba(255,255,255,0.45);
      border-top: 1px solid rgba(255,255,255,0.08);
      padding-top: 1rem;
      line-height: 1.5;
    }

    /* ——— Sticky call bar ——— */
    .sticky-call {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      z-index: 100;
      background: rgba(12, 30, 58, 0.97);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-top: 1px solid rgba(201, 162, 39, 0.3);
      padding: 0.55rem 1rem calc(0.55rem + var(--safe-bottom));
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.75rem;
      box-shadow: 0 -8px 24px rgba(0,0,0,0.25);
    }
    .sticky-call .label {
      display: none;
      font-size: 0.75rem;
      color: rgba(255,255,255,0.6);
    }
    .sticky-call .btn-call {
      flex: 1;
      max-width: 360px;
      min-height: 48px;
      box-shadow: 0 2px 12px rgba(201, 162, 39, 0.4);
    }

    /* Desktop polish */
    @media (min-width: 640px) {
      body { font-size: 17px; }
      .wrap { width: min(100% - 2.5rem, 560px); }
      .wrap-wide { width: min(100% - 2.5rem, 720px); }
      .hero-main { gap: 1.25rem; }
      .photo-wrap { width: 240px; height: 240px; }
      .review-card { flex: 0 0 min(48%, 320px); }
      .sticky-call .label { display: block; }
    }

    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      .carousel-track { scroll-behavior: auto; }
    }


    /* ——— Large hat / meet David ——— */
    .hat-feature {
      background: var(--navy);
      color: var(--white);
      padding: 2.25rem 0 2.5rem;
    }
    .hat-feature .section-label { color: var(--gold-light); }
    .hat-feature h2 { color: var(--white); margin: 0.35rem 0 0.5rem; font-size: 1.55rem; }
    .hat-feature .lead { color: rgba(255,255,255,0.78); margin-bottom: 1.25rem; }
    .hat-photo-wrap {
      margin: 0;
      border-radius: calc(var(--radius) + 4px);
      overflow: hidden;
      box-shadow: var(--shadow);
      border: 2px solid var(--border);
      background: var(--charcoal);
    }
    .hat-photo {
      width: 100%;
      height: auto;
      display: block;
      object-fit: cover;
      max-height: min(72vh, 720px);
      object-position: center top;
    }
    @media (min-width: 640px) {
      .hat-photo { max-height: 640px; }
    }


    /* ——— Simple contact ——— */
    .contact-section {
      background: var(--off-white);
      padding: 2.25rem 0 2.5rem;
    }
    .contact-card {
      margin-top: 1rem;
      background: var(--navy);
      color: var(--white);
      border-radius: var(--radius);
      padding: 1.35rem 1.25rem 1.5rem;
      border: 1px solid var(--border);
      box-shadow: var(--shadow);
      text-align: center;
    }
    .contact-name {
      font-size: 1.25rem;
      font-weight: 700;
      color: var(--gold-light);
    }
    .contact-firm {
      font-size: 0.9rem;
      color: rgba(255,255,255,0.78);
      margin: 0.2rem 0 1rem;
    }
    .contact-phone {
      display: inline-block;
      font-size: 1.45rem;
      font-weight: 700;
      color: var(--white);
      letter-spacing: 0.02em;
      margin-bottom: 0.55rem;
    }
    .contact-phone:hover { color: var(--gold-light); }
    .contact-rate {
      font-size: 1.05rem;
      font-weight: 600;
      color: var(--gold);
      margin-bottom: 1.1rem;
    }
    .contact-cta {
      width: 100%;
      justify-content: center;
    }


    /* ——— Site header + primary nav (v1.3.0) ——— */
    .site-header {
      background: var(--navy-mid);
      border-bottom: 1px solid var(--border);
      position: sticky;
      top: 0;
      z-index: 90;
    }
    .site-header-inner {
      display: flex;
      flex-direction: column;
      gap: 0.65rem;
      padding: 0.75rem 0 0.85rem;
    }
    .site-brand {
      display: flex;
      flex-direction: column;
      gap: 0.1rem;
      color: inherit;
    }
    .site-brand:hover { color: inherit; }
    .site-brand-name {
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--gold);
    }
    .site-brand-url {
      font-size: 0.68rem;
      color: rgba(255,255,255,0.5);
    }
    .site-nav {
      display: flex;
      flex-wrap: nowrap;
      gap: 0.35rem;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
      padding-bottom: 0.15rem;
      margin: 0 -0.25rem;
      padding-inline: 0.25rem;
    }
    .site-nav::-webkit-scrollbar { display: none; }
    .site-nav a {
      flex: 0 0 auto;
      display: inline-flex;
      align-items: center;
      min-height: 36px;
      padding: 0.35rem 0.75rem;
      font-size: 0.78rem;
      font-weight: 600;
      color: rgba(255,255,255,0.82);
      border-radius: 999px;
      border: 1px solid transparent;
      white-space: nowrap;
      letter-spacing: 0.02em;
    }
    .site-nav a:hover {
      color: var(--gold-light);
      background: rgba(245, 197, 24, 0.1);
    }
    .site-nav a[aria-current="page"] {
      color: var(--navy);
      background: var(--gold);
      border-color: var(--gold-light);
    }
    @media (min-width: 640px) {
      .site-header-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
      }
      .site-nav { overflow: visible; flex-wrap: wrap; justify-content: flex-end; }
    }

    /* ——— Inner page hero ——— */
    .page-hero {
      background:
        radial-gradient(ellipse 120% 80% at 50% -20%, rgba(201, 162, 39, 0.16), transparent 55%),
        linear-gradient(165deg, var(--navy) 0%, var(--charcoal) 60%, #0a1628 100%);
      color: var(--white);
      padding: 1.75rem 0 1.85rem;
    }
    .page-hero .section-label { color: var(--gold-light); }
    .page-hero h1 {
      font-size: clamp(1.4rem, 5vw, 1.75rem);
      font-weight: 700;
      letter-spacing: -0.02em;
      line-height: 1.25;
      margin-bottom: 0.5rem;
      color: var(--white);
    }

    .page-main {
      padding: 1.5rem 0 2.5rem;
    }

    .section-subhead {
      font-size: 1.15rem;
      color: var(--navy);
      margin: 0.5rem 0 0.35rem;
    }

    /* ——— Content cards / prose ——— */
    .content-card {
      background: var(--white);
      border: 1px solid rgba(12, 30, 58, 0.08);
      border-radius: var(--radius);
      padding: 1.35rem 1.25rem;
      box-shadow: 0 4px 16px rgba(12, 30, 58, 0.05);
    }
    .prose h2 {
      font-size: 1.1rem;
      margin-top: 1.35rem;
      margin-bottom: 0.55rem;
    }
    .prose h2:first-child { margin-top: 0; }
    .prose p {
      font-size: 0.92rem;
      color: var(--text);
      margin-bottom: 0.85rem;
    }
    .prose p.intro {
      font-size: 1rem;
      font-weight: 500;
      color: var(--navy);
      line-height: 1.55;
    }
    .prose ul {
      margin: 0.5rem 0 1rem 1.15rem;
      font-size: 0.92rem;
      color: var(--text);
    }
    .prose li { margin-bottom: 0.4rem; }
    .prose .source-note {
      font-size: 0.75rem;
      color: var(--muted);
      border-top: 1px solid rgba(12, 30, 58, 0.08);
      padding-top: 0.85rem;
      margin-top: 1rem;
      margin-bottom: 0;
    }
    .about-photo {
      margin: 0 0 1.15rem;
      border-radius: calc(var(--radius) - 2px);
      overflow: hidden;
      border: 2px solid var(--border);
      background: var(--navy);
    }
    .about-photo img {
      width: 100%;
      height: auto;
      max-height: min(55vh, 420px);
      object-fit: cover;
      object-position: center top;
    }

    /* ——— Disclaimer ——— */
    .disclaimer-box {
      background: var(--gold-dim);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 0.95rem 1.05rem;
      font-size: 0.8rem;
      color: var(--navy);
      line-height: 1.5;
      margin-bottom: 1.25rem;
    }

    /* ——— Result cards ——— */
    .results-grid {
      display: flex;
      flex-direction: column;
      gap: 0.85rem;
    }
    .result-card {
      background: var(--white);
      border: 1px solid rgba(12, 30, 58, 0.08);
      border-radius: var(--radius);
      padding: 1.15rem 1.2rem;
      box-shadow: 0 4px 16px rgba(12, 30, 58, 0.05);
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
    }
    .result-card h2 {
      font-size: 1.05rem;
      margin-bottom: 0;
    }
    .result-card h2 cite {
      font-style: normal;
      font-weight: 700;
    }
    .result-card .case-label {
      font-size: 0.68rem;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--gold);
      margin: 0;
    }
    .result-card .case-result {
      font-size: 0.9rem;
      color: var(--navy);
      margin: 0;
    }
    .result-card p {
      font-size: 0.88rem;
      color: var(--muted);
      margin: 0;
    }
    .result-card .stars {
      color: var(--gold);
      font-size: 0.95rem;
      letter-spacing: 0.08em;
    }
    .result-card footer {
      font-size: 0.75rem;
      color: var(--muted);
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 0.4rem;
    }
    .result-card footer .source {
      font-weight: 500;
      background: var(--gold-dim);
      color: #8a7010;
      padding: 0.15rem 0.45rem;
      border-radius: 4px;
      font-size: 0.65rem;
    }
    .result-quote {
      font-size: 0.9rem;
      font-style: italic;
      color: var(--text);
      line-height: 1.5;
      margin: 0;
    }
    .result-card--case {
      border-left: 3px solid var(--gold);
    }

    /* ——— Court process steps ——— */
    .process-steps {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
      margin: 1.25rem 0;
    }
    .process-step {
      display: flex;
      gap: 0.9rem;
      background: var(--white);
      border: 1px solid rgba(12, 30, 58, 0.08);
      border-radius: var(--radius);
      padding: 1.1rem 1.15rem;
      box-shadow: 0 4px 16px rgba(12, 30, 58, 0.04);
    }
    .process-step .step-num {
      flex-shrink: 0;
      width: 2rem;
      height: 2rem;
      border-radius: 50%;
      background: var(--navy);
      color: var(--gold);
      font-weight: 700;
      font-size: 0.85rem;
      display: grid;
      place-items: center;
      margin-top: 0.1rem;
    }
    .process-step h2 {
      font-size: 1rem;
      margin-bottom: 0.35rem;
    }
    .process-step p {
      font-size: 0.88rem;
      color: var(--muted);
      margin: 0;
    }

    /* ——— Page CTA + learn-more row ——— */
    .page-cta {
      display: flex;
      justify-content: center;
      margin-top: 1.75rem;
    }
    .page-cta .btn-call {
      width: 100%;
      max-width: 360px;
    }

    .learn-more-row {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      justify-content: center;
      margin-top: 1.25rem;
    }
    .learn-more-row a {
      display: inline-flex;
      align-items: center;
      min-height: 40px;
      padding: 0.4rem 0.95rem;
      font-size: 0.8rem;
      font-weight: 600;
      color: var(--navy);
      background: var(--gold);
      border-radius: 999px;
      border: 1px solid var(--gold-light);
    }
    .learn-more-row a:hover {
      color: var(--navy);
      background: var(--gold-light);
    }


    /* ——— Out-of-state fee rows ——— */
    .oos-fees .fee-row {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 1rem;
      padding: 1rem 1.1rem 0.35rem;
      font-weight: 600;
      color: var(--navy);
    }
    .oos-fees .fee-item .fee-detail {
      display: block;
      padding: 0 1.1rem 1rem;
      font-size: 0.9rem;
      color: var(--muted);
      font-weight: 400;
    }
    .oos-fees .fee-item {
      list-style: none;
      background: var(--white);
      border-radius: var(--radius);
      border: 1px solid rgba(11, 28, 51, 0.08);
      margin-bottom: 0.75rem;
      box-shadow: 0 4px 16px rgba(11, 28, 51, 0.06);
    }
