/* ============================================================
   BAYLEGAL ADJACENT PRACTICE AREA NETWORK — DESIGN SYSTEM
   Bay Legal PC · © 2026

   This is the complete standalone CSS for all satellite sites
   in the BayLegal Adjacent Practice Area Network.

   USAGE:
   - Copy this file to /assets/css/design-system.css in each repo
   - Each HTML template links: <link rel="stylesheet" href="/assets/css/design-system.css">
   - Self-hosted fonts must be in /fonts/ (16 files: Playfair Display + DM Sans)
   - Design tokens (--slate-*, --rust-*, --gold) should NOT be changed per domain
   - The one exception: --accent can be overridden per domain with a <style> block

   PAGE-TYPE CSS GUIDE (which sections to include per template):
   - ALL pages:         Sections 1-5 (tokens through breadcrumb)
   - ALL pages:         Section 6 (disclaimer bar)
   - Homepage (T0):    Sections 7 (hero standard), 12-16, 22-27 (homepage sections)
   - Interior pages:   Section 8 (hero standard for sidebar pages)
   - City pages (T4):  Section 9 (geo hero) + Section 21 (city FAQ)
   - ALL content pages: Sections 10-20 (callouts through footer)
   - Pages with nav:   Section 19 (hamburger nav mobile)
   - Content pages:    Section 20 (conversion rail)
   - Content pages:    Section 21 (inline tool callout)
   - Sidebar pages:    Section 22 (mobile TOC)

   FONT FILES REQUIRED (/fonts/ directory, 16 files):
     PlayfairDisplay-Bold.woff / .ttf
     PlayfairDisplay-Black.woff / .ttf
     DMSans-Light.woff / .ttf
     DMSans-Regular.woff / .ttf
     DMSans-Italic.woff / .ttf
     DMSans-Medium.woff / .ttf
     DMSans-SemiBold.woff / .ttf
     DMSans-Bold.woff / .ttf
   ============================================================ */


/* ── 1. SELF-HOSTED FONTS ──────────────────────────────────────
   All fonts served from /fonts/ — no Google Fonts dependency.
   font-display:swap ensures text renders in system font while
   custom fonts load, preventing invisible text (FOIT).
   ────────────────────────────────────────────────────────────── */

@font-face {
      font-family: 'Playfair Display';
      font-style: normal;
      font-weight: 700;
      font-display: swap;
      src: url('/fonts/PlayfairDisplay-Bold.woff') format('woff'),
           url('/fonts/PlayfairDisplay-Bold.ttf') format('truetype');
    }
    @font-face {
      font-family: 'Playfair Display';
      font-style: normal;
      font-weight: 900;
      font-display: swap;
      src: url('/fonts/PlayfairDisplay-Black.woff') format('woff'),
           url('/fonts/PlayfairDisplay-Black.ttf') format('truetype');
    }
    /* DM Sans — self-hosted */
    @font-face {
      font-family: 'DM Sans';
      font-style: normal;
      font-weight: 300;
      font-display: swap;
      src: url('/fonts/DMSans-Light.woff') format('woff'),
           url('/fonts/DMSans-Light.ttf') format('truetype');
    }
    @font-face {
      font-family: 'DM Sans';
      font-style: normal;
      font-weight: 400;
      font-display: swap;
      src: url('/fonts/DMSans-Regular.woff') format('woff'),
           url('/fonts/DMSans-Regular.ttf') format('truetype');
    }
    @font-face {
      font-family: 'DM Sans';
      font-style: italic;
      font-weight: 400;
      font-display: swap;
      src: url('/fonts/DMSans-Italic.woff') format('woff'),
           url('/fonts/DMSans-Italic.ttf') format('truetype');
    }
    @font-face {
      font-family: 'DM Sans';
      font-style: normal;
      font-weight: 500;
      font-display: swap;
      src: url('/fonts/DMSans-Medium.woff') format('woff'),
           url('/fonts/DMSans-Medium.ttf') format('truetype');
    }
    @font-face {
      font-family: 'DM Sans';
      font-style: normal;
      font-weight: 600;
      font-display: swap;
      src: url('/fonts/DMSans-SemiBold.woff') format('woff'),
           url('/fonts/DMSans-SemiBold.ttf') format('truetype');
    }
    @font-face {
      font-family: 'DM Sans';
      font-style: normal;
      font-weight: 700;
      font-display: swap;
      src: url('/fonts/DMSans-Bold.woff') format('woff'),
           url('/fonts/DMSans-Bold.ttf') format('truetype');
    }


    /* ── DESIGN TOKENS ──────────────────────────────────────── */
    :root {
      --slate-950: #0c0f14;
      --slate-900: #131720;
      --slate-800: #1e2432;
      --slate-700: #2d3548;
      --slate-500: #5a6480;
      --slate-300: #9ca8bf;
      --slate-100: #e8ebf2;
      --slate-50:  #f4f6fa;
      --white:     #ffffff;
      --rust-600:  #c0390f;
      --rust-500:  #d94214;
      --rust-400:  #e85c2c;
      --rust-100:  #fce8e1;
      --rust-50:   #fef5f2;
      --gold:      #d4a843;
      --gold-light:#fdf5e0;
      --green-700: #1a5c3a;
      --green-100: #d4eddf;
      /* legacy aliases – keep so any inline style="color:var(--rust-500)" still works */
      --accent:       #d94214;
      --accent-dark:  #c0390f;
      --accent-light: #fef5f2;
      --ink:          #0c0f14;
      --ink-soft:     #2d3548;
      --ink-muted:    #5a6480;
      --paper:        #f4f6fa;
      --paper-warm:   #f0f2f7;
      --rule:         #e8ebf2;
      --success:      #1a5c3a;
      --warning-bg:   #fdf5e0;
      --warning-border: #d4a843;
      --ff-display: 'Playfair Display', Georgia, serif;
      --ff-body:    'DM Sans', system-ui, sans-serif;
      --radius-sm: 6px;
      --radius-md: 12px;
      --radius-lg: 20px;
      --shadow-sm: 0 1px 3px rgba(0,0,0,0.07);
      --shadow-md: 0 4px 16px rgba(0,0,0,0.09);
      --shadow-lg: 0 12px 40px rgba(0,0,0,0.13);
      --max-w: 1100px;
      --max-w-wide: 1600px;
      --max-w-reading: 740px;
      --gutter: clamp(1.5rem, 4vw, 4rem);
    }

    /* ── RESET ──────────────────────────────────────────────── */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      font-family: var(--ff-body);
      font-size: 1rem;
      line-height: 1.75;
      color: var(--slate-900);
      background: var(--white);
      -webkit-font-smoothing: antialiased;
    }
    img { display: block; max-width: 100%; }
    a { color: var(--rust-500); text-decoration: none; }
    a:hover { color: var(--rust-600); }
    h1,h2,h3,h4 { font-family: var(--ff-display); line-height: 1.2; color: var(--slate-950); font-weight: 700; }
    h1 { font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -0.02em; margin-bottom: 1.25rem; }
    h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); letter-spacing: -0.015em; margin-bottom: 1rem; }
    h3 { font-size: 1.2rem; margin-bottom: 0.75rem; }
    h4 { font-size: 1rem; margin-bottom: 0.5rem; }
    p { margin-bottom: 1rem; }
    p:last-child { margin-bottom: 0; }
    ul,ol { padding-left: 1.5rem; margin-bottom: 1rem; }
    li { margin-bottom: 0.4rem; }

    /* ── CONTAINERS ─────────────────────────────────────────── */
    .container { width:100%; max-width:var(--max-w-wide); margin:0 auto; padding:0 var(--gutter); }
    .container--narrow { max-width:var(--max-w); margin:0 auto; padding:0 var(--gutter); }
    .container--reading { max-width:var(--max-w-reading); margin:0 auto; padding:0 var(--gutter); }
    section { padding: 4rem 0; }

    /* ── NAV ────────────────────────────────────────────────── */
    .site-header {
      background: var(--slate-950);
      padding: 0;
      position: sticky; top: 0; z-index: 100;
      border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    .site-header .container {
      display: flex; align-items: center; justify-content: space-between;
      height: 64px; gap: 2rem;
    }
    .site-logo { font-family: var(--ff-display); font-size: 1.1rem; font-weight: 700; color: var(--white); }
    .site-logo span { color: var(--rust-400); }
    .site-nav { display: flex; align-items: center; gap: 0.15rem; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; }
    .site-nav a { color: var(--slate-300); font-size: 0.875rem; font-weight: 500; padding: 0.4rem 0.75rem; border-radius: var(--radius-sm); transition: color 0.15s, background 0.15s; }
    .site-nav a:hover { color: var(--white); background: rgba(255,255,255,0.07); text-decoration: none; }
    .nav-tools a { color: var(--gold) !important; }
    .nav-tools a:hover { background: rgba(212,168,67,0.1) !important; }
    .nav-cta { background: var(--rust-500) !important; color: var(--white) !important; font-weight: 600; border-radius: var(--radius-sm); }
    .nav-cta:hover { background: var(--rust-600) !important; }
    .nav-mobile-btn { display: none; background: var(--rust-500); color: var(--white); font-size: 0.82rem; font-weight: 600; padding: 0.4rem 0.875rem; border-radius: var(--radius-sm); }

    /* ── BREADCRUMB ─────────────────────────────────────────── */
    .breadcrumb { background: var(--slate-50); border-bottom: 1px solid var(--slate-100); padding: 0.55rem 0; }
    .breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.25rem; list-style: none; padding: 0; margin: 0; font-size: 0.78rem; color: var(--slate-500); max-width: var(--max-w-wide); margin: 0 auto; padding: 0 var(--gutter); }
    .breadcrumb li + li::before { content: '›'; margin-right: 0.25rem; }
    .breadcrumb a { color: var(--slate-500); }
    .breadcrumb a:hover { color: var(--rust-500); }

    /* ── TRUST BAR ──────────────────────────────────────────── */
    .trust-bar { background: var(--slate-900); border-bottom: 1px solid rgba(255,255,255,0.06); padding: 0.875rem 0; }
    .trust-bar .container, .trust-bar-inner { display: flex; align-items: center; justify-content: center; gap: clamp(1.5rem, 4vw, 4rem); flex-wrap: wrap; }
    .trust-item { display: flex; align-items: center; gap: 0.6rem; font-size: 0.82rem; color: var(--slate-300); white-space: nowrap; font-family: var(--ff-body); }
    .trust-item strong, .trust-item > strong { color: var(--white); font-weight: 600; display: inline; font-size: inherit; }
    .trust-icon { width: 30px; height: 30px; border-radius: 50%; background: rgba(216,70,46,0.15); border: 1px solid rgba(216,70,46,0.3); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; flex-shrink: 0; }
    .trust-divider { width: 1px; height: 18px; background: rgba(255,255,255,0.12); flex-shrink: 0; }
    .trust-avatar { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; object-position: center top; border: 2px solid rgba(192,57,15,0.5); flex-shrink: 0; }

    /* ── DISCLAIMER BAR ─────────────────────────────────────── */
    .disclaimer-bar { background: var(--gold-light); border-bottom: 1px solid rgba(212,168,67,0.3); padding: 0.55rem 0; }
    .disclaimer-bar p { max-width: var(--max-w-wide); margin: 0 auto; padding: 0 var(--gutter); font-size: 0.78rem; color: #6b5a1a; margin-bottom: 0; }

    /* ── HERO (standard) ────────────────────────────────────── */
    .hero {
      background: var(--slate-950);
      padding: clamp(3rem,6vw,5rem) 0 clamp(2.5rem,5vw,4rem);
      position: relative; overflow: hidden;
    }
    .hero::before {
      content: '';
      position: absolute; inset: 0;
      background: radial-gradient(ellipse 70% 80% at 80% 50%, rgba(192,57,15,0.14) 0%, transparent 60%);
      pointer-events: none;
    }
    .hero .container, .hero .container--narrow { position: relative; z-index: 1; }
    .hero-eyebrow {
      display: inline-flex; align-items: center;
      font-family: var(--ff-body); font-size: 0.72rem; font-weight: 600;
      text-transform: uppercase; letter-spacing: 0.14em; color: var(--rust-400);
      border: 1px solid rgba(216,70,46,0.35); border-radius: 2px;
      padding: 0.28rem 0.7rem; margin-bottom: 1.25rem;
    }
    .hero h1 { color: var(--white); }
    .hero-lead { font-size: 1.1rem; color: var(--slate-300); line-height: 1.7; max-width: 640px; margin-bottom: 2rem; font-weight: 300; }
    .hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

    /* ── GEO HERO (city pages) ──────────────────────────────── */
    .geo-hero {
      position: relative; overflow: hidden;
      min-height: 280px; display: flex; align-items: center;
      padding: clamp(3rem,6vw,5rem) 0;
    }
    .geo-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center 30%; z-index: 0; filter: brightness(0.45) saturate(0.75); }
    .geo-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(12,15,20,0.88) 40%, rgba(12,15,20,0.5) 100%); z-index: 1; }
    .geo-hero .container { position: relative; z-index: 2; }

    /* ── PAGE HERO WITH PHOTO ───────────────────────────────── */
    .page-hero-img {
      position: relative; overflow: hidden; background: var(--slate-950);
      padding: clamp(3rem,6vw,5rem) 0;
    }
    .page-hero-img-bg { position: absolute; inset: 0; background-size: cover; background-position: center 30%; z-index: 0; filter: brightness(0.45) saturate(0.8); }
    .page-hero-img .container, .page-hero-img .container--narrow { position: relative; z-index: 1; }

    /* ── BUTTONS ────────────────────────────────────────────── */
    .btn { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.75rem 1.6rem; border-radius: var(--radius-sm); font-family: var(--ff-body); font-weight: 600; font-size: 0.925rem; cursor: pointer; transition: all 0.2s; border: none; text-align: center; letter-spacing: 0.01em; }
    .btn-primary { background: var(--rust-500); color: var(--white); }
    .btn-primary:hover { background: var(--rust-600); color: var(--white); text-decoration: none; transform: translateY(-1px); }
    .btn-outline { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.3); }
    .btn-outline:hover { background: rgba(255,255,255,0.08); color: var(--white); text-decoration: none; }
    .btn-outline-dark { background: transparent; color: var(--rust-500); border: 1.5px solid var(--rust-500); }
    .btn-outline-dark:hover { background: var(--rust-50); color: var(--rust-600); text-decoration: none; }

    /* ── CALLOUT BOXES ──────────────────────────────────────── */
    .disclaimer-callout {
      background: var(--gold-light); border-left: 3px solid var(--gold);
      padding: 0.875rem 1.1rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
      margin-bottom: 1.75rem; font-size: 0.875rem; color: #5a480a; line-height: 1.6;
    }
    .disclaimer-callout strong { color: #3d3007; }
    .statute-warning {
      background: #fff5f5; border: 1px solid #fca5a5; border-left: 3px solid #dc2626;
      padding: 0.875rem 1.1rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
      margin: 1.75rem 0; font-size: 0.875rem; color: #7f1d1d; line-height: 1.6;
    }
    .statute-warning strong { color: #dc2626; }
    .statute-warn {
      background: #fff5f5; border: 1px solid #fca5a5; border-left: 3px solid #dc2626;
      padding: 0.875rem 1.1rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
      margin: 1.75rem 0; font-size: 0.875rem; color: #7f1d1d; line-height: 1.6;
    }
    .statute-warn strong { color: #dc2626; }
    .baylegal-callout {
      background: var(--rust-50); border: 1px solid rgba(192,57,15,0.2);
      border-radius: var(--radius-md); padding: 1.5rem; margin: 2rem 0;
    }
    .baylegal-callout h3 { color: var(--rust-600); margin-bottom: 0.5rem; font-size: 1.05rem; }
    .baylegal-callout p { font-size: 0.9rem; margin-bottom: 0.75rem; color: var(--slate-700); }
    .key-takeaways {
      background: var(--slate-50); border: 1px solid var(--slate-100);
      border-left: 3px solid var(--rust-400);
      padding: 1.25rem 1.5rem; border-radius: 0 var(--radius-md) var(--radius-md) 0; margin-bottom: 2rem;
    }
    .key-takeaways h4 { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--rust-500); font-family: var(--ff-body); font-weight: 700; margin-bottom: 0.75rem; }
    .key-takeaways ul { margin: 0; padding-left: 1.25rem; }
    .key-takeaways li { font-size: 0.875rem; margin-bottom: 0.35rem; color: var(--slate-700); }
    .qa-block { border-left: 3px solid var(--rust-400); padding: 0.875rem 1.1rem; margin: 1.5rem 0; background: var(--rust-50); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
    .qa-block h3 { font-size: 1rem; color: var(--rust-600); margin-bottom: 0.4rem; }
    .qa-block p { font-size: 0.9rem; margin: 0; color: var(--slate-700); }
    .stat-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; margin: 2rem 0; }
    .stat-box { background: var(--slate-950); color: var(--white); padding: 1.25rem; border-radius: var(--radius-md); text-align: center; }
    .stat-box .num { font-size: 1.75rem; font-weight: 700; color: var(--rust-400); display: block; line-height: 1; font-family: var(--ff-display); }
    .stat-box .label { font-size: 0.75rem; color: var(--slate-300); margin-top: 0.3rem; display: block; }

    /* ── READING CONTENT ────────────────────────────────────── */
    .reading-time { font-size: 0.78rem; color: var(--slate-500); margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.4rem; font-family: var(--ff-body); }
    .toc { background: var(--slate-50); border: 1px solid var(--slate-100); padding: 1.25rem 1.5rem; border-radius: var(--radius-md); margin-bottom: 2rem; }
    .toc h4 { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--slate-500); font-family: var(--ff-body); font-weight: 700; margin-bottom: 0.75rem; }
    .toc ol { margin: 0; padding-left: 1.25rem; }
    .toc li { font-size: 0.875rem; margin-bottom: 0.25rem; }
    .toc a { color: var(--slate-500); }
    .toc a:hover { color: var(--rust-500); }

    /* ── STEP BLOCKS ────────────────────────────────────────── */
    .steps { counter-reset: step; }
    .step-block {
      counter-increment: step;
      background: var(--white); border: 1px solid var(--slate-100);
      border-radius: var(--radius-md); padding: 1.25rem 1.25rem 1.25rem 4rem;
      position: relative; margin-bottom: 1rem;
      box-shadow: var(--shadow-sm);
    }
    .step-block::before {
      content: counter(step);
      position: absolute; left: 1rem; top: 1.1rem;
      width: 2rem; height: 2rem;
      background: var(--rust-500); color: var(--white);
      border-radius: 50%; display: flex; align-items: center; justify-content: center;
      font-weight: 700; font-size: 0.875rem; font-family: var(--ff-body);
    }

    /* ── FAQ ────────────────────────────────────────────────── */
    .faq-item { border-bottom: 1px solid var(--slate-100); }
    .faq-item:first-child { border-top: 1px solid var(--slate-100); }
    details summary {
      padding: 1.1rem 0; cursor: pointer; font-weight: 600; font-size: 0.975rem;
      list-style: none; display: flex; justify-content: space-between; align-items: center;
      gap: 1rem; color: var(--slate-900); font-family: var(--ff-body); transition: color 0.15s;
    }
    details summary::-webkit-details-marker { display: none; }
    details summary::after { content: '+'; font-size: 1.2rem; font-weight: 300; color: var(--rust-500); flex-shrink: 0; }
    details[open] summary::after { content: '−'; }
    details summary:hover { color: var(--rust-600); }
    details .faq-answer { padding: 0 0 1.25rem; color: var(--slate-500); font-size: 0.925rem; line-height: 1.75; }
    details .faq-answer p:last-child { margin-bottom: 0; }
    details .faq-answer a { color: var(--rust-500); font-weight: 500; }

    /* ── GLOSSARY ───────────────────────────────────────────── */
    .glossary-term { border-bottom: 1px solid var(--slate-100); padding: 1.25rem 0; }
    .glossary-term dt { font-weight: 700; color: var(--slate-950); font-size: 1rem; margin-bottom: 0.4rem; font-family: var(--ff-display); }
    .glossary-term dd { color: var(--slate-500); font-size: 0.925rem; line-height: 1.7; }

    /* ── RELATED SECTION ────────────────────────────────────── */
    .related-section { background: var(--slate-50); padding: 2.5rem 0; border-top: 1px solid var(--slate-100); }
    .related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; margin-top: 1.25rem; }
    .related-card { background: var(--white); border: 1px solid var(--slate-100); padding: 1.1rem 1.25rem; border-radius: var(--radius-md); transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s; text-decoration: none; display: block; }
    .related-card:hover { border-color: rgba(192,57,15,0.3); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
    .related-card-label { font-size: 0.67rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--rust-500); margin-bottom: 0.3rem; font-family: var(--ff-body); font-weight: 700; }
    .related-card-title { font-size: 0.9rem; font-weight: 600; color: var(--slate-900); line-height: 1.35; }
    .related-card:hover .related-card-title { color: var(--rust-600); }

    /* ── CONTACT FORM ───────────────────────────────────────── */
    .form-section { background: var(--slate-950); color: var(--white); padding: clamp(3rem,6vw,5rem) 0; position: relative; overflow: hidden; }
    .form-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 70% at 0% 60%, rgba(192,57,15,0.14) 0%, transparent 55%); pointer-events: none; }
    .form-section h2 { color: var(--white); position: relative; }
    .form-section .form-lead { color: var(--slate-300); margin-bottom: 2rem; font-size: 0.975rem; font-weight: 300; position: relative; }
    .form-section .container--narrow { position: relative; z-index: 1; }
    .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
    .form-group { display: flex; flex-direction: column; gap: 0.35rem; }
    .form-group.full { grid-column: 1 / -1; }
    .form-group label { font-size: 0.77rem; font-weight: 600; color: var(--slate-300); letter-spacing: 0.04em; text-transform: uppercase; font-family: var(--ff-body); }
    .form-group input, .form-group select, .form-group textarea {
      background: rgba(255,255,255,0.07); border: 1.5px solid rgba(255,255,255,0.12);
      color: var(--white); padding: 0.65rem 0.875rem; border-radius: var(--radius-sm);
      font-family: var(--ff-body); font-size: 0.9rem; transition: border-color 0.15s; outline: none; width: 100%;
    }
    .form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,0.3); }
    .form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--rust-400); background: rgba(255,255,255,0.1); }
    .form-group select option { background: var(--slate-900); }
    .form-group textarea { resize: vertical; min-height: 100px; }
    .form-disclaimer { font-size: 0.73rem; color: var(--slate-300); margin: 0.75rem 0; line-height: 1.55; }
    .form-tcpa { font-size: 0.67rem; color: var(--slate-500); margin-top: 0.75rem; line-height: 1.5; }
    .form-success { display: none; background: rgba(26,92,58,0.25); border: 1px solid rgba(26,92,58,0.5); padding: 1.5rem; border-radius: var(--radius-md); color: #a7d7c5; text-align: center; }
    .form-error-msg { display: none; color: #f87171; font-size: 0.85rem; margin-top: 0.5rem; }
    .field-error { border-color: #f87171 !important; }
    .field-error-msg { color: #f87171; font-size: 0.775rem; margin-top: 0.2rem; display: none; }
    .field-error-msg.visible { display: block; }

    /* ── HELPFUL WIDGET ─────────────────────────────────────── */
    .helpful-widget { text-align: center; padding: 1.5rem; border-top: 1px solid var(--slate-100); margin-top: 2rem; }
    .helpful-widget p { font-size: 0.875rem; color: var(--slate-500); margin-bottom: 0.75rem; }
    .helpful-btns { display: flex; gap: 0.75rem; justify-content: center; }
    .helpful-btn { padding: 0.4rem 1.25rem; border: 1px solid var(--slate-100); border-radius: 20px; font-size: 0.825rem; cursor: pointer; background: var(--white); color: var(--slate-500); font-family: var(--ff-body); transition: all 0.2s; }
    .helpful-btn:hover { border-color: var(--rust-500); color: var(--rust-500); }
    .helpful-thanks { font-size: 0.875rem; color: var(--green-700); display: none; }

    /* ── IMAGE CARDS ────────────────────────────────────────── */
    .img-card { position: relative; overflow: hidden; border-radius: var(--radius-md); display: block; text-decoration: none; box-shadow: var(--shadow-md); transition: transform 0.25s, box-shadow 0.25s; background: var(--slate-950); }
    .img-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
    .img-card img { display: block; width: 100%; aspect-ratio: 1/1; object-fit: cover; object-position: center; transition: transform 0.4s; filter: brightness(0.88) saturate(0.85); }
    .img-card:hover img { transform: scale(1.04); filter: brightness(0.97) saturate(1); }
    .img-card-label { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(192,57,15,0.96) 55%, transparent 100%); padding: 2rem 1.1rem 1rem; color: var(--white); font-family: var(--ff-display); font-size: 0.95rem; font-weight: 700; line-height: 1.3; }
    .img-card-sublabel { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.72); margin-bottom: 0.3rem; font-weight: 400; font-family: var(--ff-body); }
    .img-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; margin-top: 1.5rem; }

    /* ── TWO-COLUMN SIDEBAR LAYOUT ──────────────────────────── */
    .page-layout { display: grid; grid-template-columns: 1fr 300px; gap: 3.5rem; align-items: start; max-width: var(--max-w-wide); margin: 0 auto; padding: 0 var(--gutter); }
    .page-main { min-width: 0; }
    .page-sidebar { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 1.25rem; }
    .sidebar-toc { background: var(--white); border: 1px solid var(--slate-100); border-radius: var(--radius-md); padding: 1.1rem 1.25rem; }
    .sidebar-toc-label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--slate-500); font-family: var(--ff-body); font-weight: 700; margin-bottom: 0.75rem; }
    .sidebar-toc ol { list-style: none; padding: 0; margin: 0; }
    .sidebar-toc li { margin-bottom: 0; }
    .sidebar-toc a { display: block; padding: 0.3rem 0.5rem; color: var(--slate-500); font-family: var(--ff-body); font-size: 0.82rem; line-height: 1.4; border-radius: var(--radius-sm); transition: color 0.15s, background 0.15s; text-decoration: none; }
    .sidebar-toc a:hover, .sidebar-toc a.toc-active { color: var(--rust-500); background: var(--rust-50); }
    .sidebar-cta { background: var(--slate-950); color: var(--white); border-radius: var(--radius-md); padding: 1.25rem; text-align: center; }
    .sidebar-cta .sc-eyebrow { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--rust-400); font-family: var(--ff-body); font-weight: 700; margin-bottom: 0.5rem; }
    .sidebar-cta h3 { color: var(--white); font-size: 1rem; margin-bottom: 0.5rem; line-height: 1.3; font-family: var(--ff-body); }
    .sidebar-cta p { font-size: 0.8rem; color: var(--slate-300); margin-bottom: 1rem; line-height: 1.5; }
    .sidebar-cta .btn { width: 100%; justify-content: center; font-size: 0.85rem; padding: 0.65rem 1rem; }
    .sidebar-cta .sc-phone { font-size: 0.78rem; color: var(--slate-500); margin-top: 0.6rem; }
    .sidebar-cta .sc-phone a { color: var(--slate-300); }
    .sidebar-also { background: var(--slate-50); border: 1px solid var(--slate-100); border-radius: var(--radius-md); padding: 1.1rem 1.25rem; }
    .sidebar-also-label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--slate-500); font-family: var(--ff-body); font-weight: 700; margin-bottom: 0.75rem; }
    .sidebar-also ul { list-style: none; padding: 0; margin: 0; }
    .sidebar-also li { margin-bottom: 0.2rem; }
    .sidebar-also a { font-size: 0.82rem; font-family: var(--ff-body); color: var(--rust-500); display: block; padding: 0.2rem 0; line-height: 1.4; }

    /* ── FOOTER ─────────────────────────────────────────────── */
    .site-footer { background: var(--slate-950); color: var(--slate-500); padding: clamp(3rem,5vw,4.5rem) 0 1.5rem; border-top: 1px solid rgba(255,255,255,0.06); }
    .footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(2rem,4vw,3.5rem); margin-bottom: 3rem; }
    .footer-brand .site-logo, .footer-logo { font-family: var(--ff-display); font-size: 1.05rem; font-weight: 700; color: var(--white); display: block; margin-bottom: 0.65rem; }
    .footer-brand .site-logo span, .footer-logo span { color: var(--rust-400); }
    .footer-col-label { font-size: 0.67rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--slate-500); margin-bottom: 0.875rem; font-family: var(--ff-body); }
    .footer-links { list-style: none; padding: 0; }
    .footer-links li { margin-bottom: 0.4rem; }
    .footer-links a { color: var(--slate-500); font-size: 0.82rem; transition: color 0.15s; line-height: 1.4; display: block; }
    .footer-links a:hover { color: var(--slate-100); text-decoration: none; }
    .footer-links a.footer-tool-link { color: var(--rust-400); }
    .footer-links a.footer-tool-link:hover { color: var(--rust-400); opacity: 0.8; }
    .footer-divider { border: none; border-top: 1px solid rgba(255,255,255,0.06); margin-bottom: 1.5rem; }
    .footer-disclaimer { font-size: 0.73rem; line-height: 1.65; color: rgba(255,255,255,0.25); }
    .footer-disclaimer p { margin-bottom: 0.75rem; }
    .footer-sb37 { font-size: 0.7rem; color: rgba(255,255,255,0.18); margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.04); line-height: 1.6; }

    /* ── RESPONSIVE ─────────────────────────────────────────── */
    @media (max-width: 900px) {
      .page-layout { grid-template-columns: 1fr; }
      .page-sidebar { position: static; display: none; }
    }
    @media (max-width: 768px) {
      .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
      .site-nav { display: none; }
      .nav-mobile-btn { display: inline-flex; }
      .form-grid { grid-template-columns: 1fr; }
    }
    @media (max-width: 540px) {
      .footer-grid { grid-template-columns: 1fr; }
      .img-card-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
      .trust-divider { display: none; }
      .hero-ctas { flex-direction: column; align-items: flex-start; }
    }

    /* ── CITY PAGE LOCAL FAQ ────────────────────────────────── */
    /* ── CITY PAGE LOCAL FAQ ────────────────────────────────── */
        .city-faq-section { margin: 2rem 0; }
        .city-faq-section h2 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); margin-bottom: 1rem; }

/* ── MOBILE SITUATION PICKER (item 1) ───────────────────── */
    .mobile-picker {
      display: none;
      margin-top: 2rem;
      padding-top: 1.75rem;
      border-top: 1px solid rgba(255,255,255,0.1);
    }
    .mobile-picker-label {
      font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
      letter-spacing: 0.14em; color: var(--slate-300);
      margin-bottom: 0.875rem; font-family: var(--ff-body);
    }
    .mobile-picker-pills {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0.5rem;
      margin-bottom: 0.875rem;
    }
    .mobile-pill {
      display: flex; align-items: center; gap: 0.5rem;
      padding: 0.6rem 0.75rem;
      background: rgba(255,255,255,0.06);
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: var(--radius-sm);
      font-size: 0.82rem; font-weight: 500; font-family: var(--ff-body);
      color: var(--slate-300);
      transition: background 0.15s, border-color 0.15s, color 0.15s;
      text-decoration: none;
      line-height: 1.3;
    }
    .mobile-pill:hover {
      background: rgba(192,57,15,0.2);
      border-color: rgba(192,57,15,0.4);
      color: var(--white);
    }
    .mobile-picker-more {
      display: block; text-align: center;
      font-size: 0.8rem; font-weight: 600;
      color: var(--rust-400); font-family: var(--ff-body);
    }
    @media (max-width: 1100px) {
      .mobile-picker { display: block; }
    }
    @media (max-width: 540px) {
      .mobile-picker-pills { grid-template-columns: 1fr; }
    }

    /* ── HAMBURGER NAV (mobile) ─────────────────────────────── */
    .hamburger {
      display: none;
      flex-direction: column;
      justify-content: center;
      gap: 5px;
      width: 40px; height: 40px;
      background: none; border: none; cursor: pointer;
      padding: 4px;
      border-radius: var(--radius-sm);
      transition: background 0.15s;
      flex-shrink: 0;
    }
    .hamburger:hover { background: rgba(255,255,255,0.08); }
    .hamburger span {
      display: block; height: 2px; width: 22px;
      background: var(--slate-300);
      border-radius: 2px;
      transition: transform 0.25s, opacity 0.2s, width 0.2s;
      transform-origin: center;
    }
    .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
    .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /* Mobile overlay */
    .nav-overlay {
      display: none;
      position: fixed; inset: 0; z-index: 99;
      background: rgba(12,15,20,0.7);
      backdrop-filter: blur(2px);
      opacity: 0;
      transition: opacity 0.25s;
    }
    .nav-overlay.open { opacity: 1; }

    /* Slide-in drawer */
    .nav-drawer {
      position: fixed; top: 0; right: 0; bottom: 0; z-index: 200;
      width: min(320px, 88vw);
      background: var(--slate-950);
      border-left: 1px solid rgba(255,255,255,0.08);
      transform: translateX(100%);
      transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
      display: flex; flex-direction: column;
      overflow-y: auto;
    }
    .nav-drawer.open { transform: translateX(0); }
    .nav-drawer-header {
      display: flex; align-items: center; justify-content: space-between;
      padding: 1rem 1.25rem;
      border-bottom: 1px solid rgba(255,255,255,0.07);
    }
    .nav-drawer-logo { font-family: var(--ff-display); font-size: 1rem; font-weight: 700; color: var(--white); }
    .nav-drawer-logo span { color: var(--rust-400); }
    .nav-drawer-close {
      width: 32px; height: 32px; border-radius: 50%;
      background: rgba(255,255,255,0.07); border: none; cursor: pointer;
      color: var(--slate-300); font-size: 1.2rem; display: flex;
      align-items: center; justify-content: center; transition: background 0.15s;
    }
    .nav-drawer-close:hover { background: rgba(255,255,255,0.14); color: var(--white); }
    .nav-drawer-links {
      list-style: none; padding: 0.75rem 0; flex: 1;
    }
    .nav-drawer-links li { border-bottom: 1px solid rgba(255,255,255,0.05); }
    .nav-drawer-links a {
      display: flex; align-items: center; gap: 0.75rem;
      padding: 0.9rem 1.25rem;
      color: var(--slate-300); font-size: 0.975rem; font-weight: 500;
      font-family: var(--ff-body);
      transition: color 0.15s, background 0.15s;
    }
    .nav-drawer-links a:hover { color: var(--white); background: rgba(255,255,255,0.05); }
    .nav-drawer-links .drawer-icon { font-size: 1rem; width: 20px; text-align: center; flex-shrink: 0; }
    .nav-drawer-links .drawer-tools a { color: var(--gold); }
    .nav-drawer-cta {
      padding: 1.25rem;
      border-top: 1px solid rgba(255,255,255,0.07);
    }
    .nav-drawer-cta a {
      display: block; text-align: center;
      background: var(--rust-500); color: var(--white) !important;
      font-weight: 700; font-size: 0.975rem; font-family: var(--ff-body);
      padding: 0.875rem 1.5rem; border-radius: var(--radius-sm);
      transition: background 0.2s;
    }
    .nav-drawer-cta a:hover { background: var(--rust-600) !important; }
    .nav-drawer-phone {
      text-align: center; padding: 0.75rem 1.25rem 1.25rem;
      font-size: 0.82rem; color: var(--slate-500);
    }
    .nav-drawer-phone a { color: var(--rust-400); font-weight: 600; }

    @media (max-width: 768px) {
      .hamburger { display: flex; }
      .nav-mobile-btn { display: none !important; }
    }

    /* ── CONVERSION RAIL ────────────────────────────────────── */
    .conv-rail {
      background: var(--slate-50);
      border-top: 1px solid var(--slate-100);
      border-bottom: 1px solid var(--slate-100);
      padding: 1.5rem 0;
    }
    .conv-rail-label {
      font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
      letter-spacing: 0.12em; color: var(--slate-500);
      margin-bottom: 0.875rem; font-family: var(--ff-body);
    }
    .conv-rail-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 0.875rem;
    }
    .conv-rail-btn {
      display: flex; align-items: center; gap: 0.75rem;
      background: var(--white); border: 1px solid var(--slate-100);
      border-radius: var(--radius-md); padding: 1rem 1.1rem;
      text-decoration: none; transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
    }
    .conv-rail-btn:hover {
      border-color: rgba(192,57,15,0.3);
      box-shadow: var(--shadow-sm);
      transform: translateY(-1px);
    }
    .conv-rail-icon {
      font-size: 1.3rem; flex-shrink: 0;
      width: 40px; height: 40px; border-radius: var(--radius-sm);
      background: var(--rust-50); display: flex;
      align-items: center; justify-content: center;
    }
    .conv-rail-text { flex: 1; min-width: 0; }
    .conv-rail-text strong {
      display: block; font-size: 0.875rem; font-weight: 600;
      color: var(--slate-900); font-family: var(--ff-body); margin-bottom: 0.1rem;
    }
    .conv-rail-text span {
      font-size: 0.78rem; color: var(--slate-500);
      font-family: var(--ff-body); line-height: 1.3;
    }
    .conv-rail-arrow { color: var(--rust-500); font-size: 0.85rem; flex-shrink: 0; transition: transform 0.15s; }
    .conv-rail-btn:hover .conv-rail-arrow { transform: translateX(3px); }
    @media (max-width: 768px) {
      .conv-rail-grid { grid-template-columns: 1fr; gap: 0.6rem; }
    }

    /* ── INLINE TOOL CALLOUT ─────────────────────────────────── */
    .tool-callout {
      display: flex; gap: 1rem; align-items: flex-start;
      background: var(--slate-950); border-radius: var(--radius-md);
      padding: 1.25rem 1.5rem; margin: 2.5rem 0;
      position: relative; overflow: hidden;
    }
    .tool-callout::before {
      content: ''; position: absolute; inset: 0;
      background: radial-gradient(ellipse 60% 80% at 100% 50%, rgba(192,57,15,0.15) 0%, transparent 60%);
      pointer-events: none;
    }
    .tool-callout-icon {
      font-size: 1.5rem; flex-shrink: 0;
      width: 46px; height: 46px; border-radius: var(--radius-sm);
      background: rgba(192,57,15,0.2); border: 1px solid rgba(192,57,15,0.3);
      display: flex; align-items: center; justify-content: center;
      position: relative; z-index: 1;
    }
    .tool-callout-body { position: relative; z-index: 1; }
    .tool-callout-body strong {
      display: block; color: var(--white);
      font-size: 0.975rem; font-family: var(--ff-body); font-weight: 600;
      margin-bottom: 0.3rem;
    }
    .tool-callout-body p {
      color: var(--slate-300); font-size: 0.875rem;
      line-height: 1.6; margin-bottom: 0.75rem; font-weight: 300;
    }
    .tool-callout-link {
      display: inline-flex; align-items: center; gap: 0.3rem;
      background: var(--rust-500); color: var(--white) !important;
      font-size: 0.825rem; font-weight: 700; font-family: var(--ff-body);
      padding: 0.45rem 1rem; border-radius: var(--radius-sm);
      transition: background 0.2s; text-decoration: none !important;
    }
    .tool-callout-link:hover { background: var(--rust-600) !important; }

    /* ── MOBILE TOC ACCORDION (item 2) ──────────────────────── */
    .mobile-toc {
      display: none;
      background: var(--slate-50);
      border: 1px solid var(--slate-100);
      border-radius: var(--radius-md);
      margin-bottom: 1.75rem;
      overflow: hidden;
    }
    .mobile-toc-toggle {
      width: 100%; display: flex; align-items: center;
      justify-content: space-between;
      padding: 0.875rem 1.1rem;
      background: none; border: none; cursor: pointer;
      font-family: var(--ff-body); font-size: 0.85rem; font-weight: 700;
      color: var(--slate-700);
      transition: background 0.15s;
    }
    .mobile-toc-toggle:hover { background: var(--slate-100); }
    .mobile-toc-toggle[aria-expanded="true"] { border-bottom: 1px solid var(--slate-100); }
    .mobile-toc-toggle-label {
      display: flex; align-items: center; gap: 0.5rem;
    }
    .mobile-toc-chevron {
      font-size: 0.75rem; color: var(--slate-500);
      transition: transform 0.2s;
      display: inline-block;
    }
    .mobile-toc-toggle[aria-expanded="true"] .mobile-toc-chevron {
      transform: rotate(180deg);
    }
    .mobile-toc-list {
      list-style: none; padding: 0.5rem 0; margin: 0;
    }
    .mobile-toc-list li { border-bottom: 1px solid var(--slate-100); }
    .mobile-toc-list li:last-child { border-bottom: none; }
    .mobile-toc-list a {
      display: block; padding: 0.65rem 1.1rem;
      font-size: 0.875rem; font-family: var(--ff-body); font-weight: 500;
      color: var(--slate-700); transition: color 0.15s, background 0.15s;
      text-decoration: none;
    }
    .mobile-toc-list a:hover { color: var(--rust-500); background: var(--rust-50); }
    .mobile-toc-list a.mtoc-active { color: var(--rust-500); font-weight: 600; }
    @media (max-width: 900px) {
      .mobile-toc { display: block; }
    }


/* ── Reviews section ──────────────────────────────────────────── */
.reviews-section { background: var(--slate-50); border-top: 1px solid var(--slate-100); }
.reviews-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; gap: 1.5rem; flex-wrap: wrap; }
.reviews-score { display: flex; align-items: center; gap: 1rem; }
.reviews-num { font-family: var(--ff-display); font-size: 3rem; font-weight: 900; color: var(--slate-950); line-height: 1; }
.stars { color: var(--gold); letter-spacing: 1px; }
.reviews-meta p { font-size: 0.82rem; color: var(--slate-500); margin: 0; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.review-card { background: var(--white); border: 1px solid var(--slate-100); border-radius: var(--radius-md); padding: 1.5rem; }
.review-card .stars { font-size: 0.85rem; margin-bottom: 0.75rem; display: block; }
.review-card blockquote { font-size: 0.9rem; color: var(--slate-700); font-style: italic; line-height: 1.7; margin-bottom: 0.75rem; margin-left: 0; margin-right: 0; }
.review-card cite { font-size: 0.78rem; color: var(--slate-500); font-style: normal; font-weight: 500; }
@media (max-width: 900px) { .reviews-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .reviews-grid { grid-template-columns: 1fr; } }


    /* ── HOMEPAGE FORM LAYOUT ─────────────────────────────── */
    .wrap { width:100%; max-width:var(--max-w-wide); margin:0 auto; padding:0 var(--gutter); }
    .form-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: start; }
    .form-left { position: relative; z-index: 1; }
    .form-left .eyebrow { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--rust-400); margin-bottom: 0.5rem; font-family: var(--ff-body); }
    .form-left h2 { color: var(--white); margin-bottom: 0.75rem; }
    .form-desc { color: var(--slate-300); font-size: 0.95rem; font-weight: 300; line-height: 1.7; margin-bottom: 1.5rem; }
    .form-guarantees { display: flex; flex-direction: column; gap: 0.75rem; }
    .form-guarantee { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.875rem; color: var(--slate-300); font-weight: 400; line-height: 1.5; }
    .fg-check { width: 22px; height: 22px; border-radius: 50%; background: rgba(26,92,58,0.3); border: 1px solid rgba(26,92,58,0.5); color: #a7d7c5; font-size: 0.7rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 0.1rem; }
    .form-card { background: var(--slate-900); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-lg); overflow: hidden; position: relative; z-index: 1; }
    .form-card-top { padding: 1.5rem 1.75rem 1rem; border-bottom: 1px solid rgba(255,255,255,0.06); }
    .form-card-top h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 0.25rem; }
    .form-card-top p { color: var(--slate-400); font-size: 0.85rem; }
    .form-card form { padding: 1.25rem 1.75rem 1.75rem; }
    .form-submit { width: 100%; padding: 0.9rem; font-size: 0.95rem; font-weight: 700; font-family: var(--ff-body); background: var(--rust-500); color: var(--white); border: none; border-radius: var(--radius-sm); cursor: pointer; transition: background 0.2s; }
    .form-submit:hover { background: var(--rust-600); }
    .form-disclaimer-txt { font-size: 0.73rem; color: var(--slate-400); line-height: 1.55; margin-bottom: 1rem; }
    .field-error { border-color: #f87171 !important; }
    .field-error-msg { font-size: 0.72rem; color: #f87171; display: none; }
    .field-error-msg.visible { display: block; }
    @media (max-width: 900px) {
      .form-layout { grid-template-columns: 1fr; }
    }
