


  :root {
    --navy: #0a1f5c;
    --blue: #1a3ecf;
    --blue-light: #2d55e8;
    --blue-tag: #e8eeff;
    --blue-tag-text: #1a3ecf;
    --text: #111827;
    --muted: #6b7280;
    --border: #e5e7eb;
    --bg: #f9fafb;
    --white: #ffffff;
    --verified-bg: rgba(10,31,92,0.82);
    --star: #f59e0b;
    --radius: 12px;
  }



  /* Hamburger */
  .hamburger {
    display: none; flex-direction: column; justify-content: center; gap: 5px;
    width: 36px; height: 36px; background: none; border: none; cursor: pointer;
    padding: 6px; border-radius: 6px;
  }
  .hamburger span {
    display: block; height: 2px; background: var(--text); border-radius: 2px;
    transition: all 0.25s;
  }
  .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Mobile menu drawer */
  .mobile-menu {
    display: none; position: fixed; top: 64px; left: 0; right: 0;
    background: white; border-bottom: 1px solid var(--border);
    padding: 16px 20px 20px; z-index: 199;
    flex-direction: column; gap: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu a {
    font-size: 15px; font-weight: 500; color: var(--text); text-decoration: none;
    padding: 11px 14px; border-radius: 8px; display: flex; align-items: center; justify-content: space-between;
    transition: background 0.15s;
  }
  .mobile-menu a:hover { background: var(--bg); }
  .mobile-menu .mob-divider { height: 1px; background: var(--border); margin: 8px 0; }
  .mobile-menu .mob-actions { display: flex; gap: 10px; padding: 4px 14px 0; }
  .mobile-menu .mob-actions .btn-signin,
  .mobile-menu .mob-actions .btn-primary { flex: 1; text-align: center; }


  .search-bar {
    background: white; border-radius: 10px;
    display: flex; align-items: stretch;
    max-width: 760px; margin: 0 auto;
    overflow: hidden; box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  }
  .search-field {
    flex: 1; display: flex; flex-direction: column;
    padding: 14px 20px; border-right: 1px solid var(--border); min-width: 0;
  }
  .search-field label {
    font-size: 11px; font-weight: 600; color: var(--muted);
    text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 4px;
  }
  .search-field input, .search-field select {
    border: none; outline: none; font-size: 14px; color: var(--text);
    background: transparent; font-family: "Outfit", sans-serif; width: 100%;
    -webkit-appearance: none; appearance: none;
  }
  .search-field input::placeholder { color: #9ca3af; }
  .search-btn {
    padding: 0 28px; background: var(--blue); border: none; cursor: pointer;
    display: flex; align-items: center; gap: 8px;
    font-size: 15px; font-weight: 600; color: white;
    font-family: "Outfit", sans-serif; transition: background 0.15s;
    white-space: nowrap; flex-shrink: 0;
  }
  .search-btn:hover { background: var(--blue-light); }
  .search-btn svg { width: 18px; height: 18px; fill: white; flex-shrink: 0; }

  /* ═══════════════════════════════
     LISTING
  ═══════════════════════════════ */
  .listing-section { padding: 48px 48px 60px; max-width: 1200px; margin: 0 auto; }
  .listing-header { font-size: 13px; color: var(--muted); margin-bottom: 28px; }
  .listing-header strong { color: var(--text); }

  .cards-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 24px; margin-bottom: 40px;
  }

  /* ═══════════════════════════════
     CARD
  ═══════════════════════════════ */
  .firm-card {
    border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; background: white;
    transition: box-shadow 0.2s, transform 0.2s; cursor: pointer;
  }
  .firm-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.1); transform: translateY(-2px); }

  .card-image { position: relative; height: 200px; overflow: hidden; }
  .card-image img{
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.3s;
  }

  .verified-badge {
    position: absolute; top: 12px; right: 12px;
    background: var(--verified-bg); color: white;
    font-size: 12px; font-weight: 600;
    padding: 4px 10px; border-radius: 20px;
    display: flex; align-items: center; gap: 5px;
    backdrop-filter: blur(4px);
  }
  .verified-badge svg { width: 13px; height: 13px; fill: #4ade80; }

  .card-body { padding: 20px 22px 22px; }
  .card-firm-name { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 3px; }
  .card-practice { font-size: 13px; font-weight: 600; color: var(--blue); margin-bottom: 10px; }
  .card-desc { font-size: 13.5px; color: var(--muted); line-height: 1.6; margin-bottom: 14px; }
  .card-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
  .tag {
    font-size: 12px; font-weight: 500; color: var(--blue-tag-text);
    background: var(--blue-tag); padding: 4px 11px; border-radius: 20px;
  }
  .card-meta {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 14px; border-top: 1px solid var(--border);
    font-size: 13px; color: var(--muted); gap: 8px; flex-wrap: wrap;
  }
  .card-meta-item { display: flex; align-items: center; gap: 5px; }
  .card-meta-item svg { width: 14px; height: 14px; fill: var(--muted); flex-shrink: 0; }
  .star-rating { display: flex; align-items: center; gap: 4px; }
  .star-rating svg { fill: var(--star); width: 14px; height: 14px; }
  .star-rating span { font-weight: 700; color: var(--text); }

  /* card image backgrounds */


  .card-svg-icon {
    position: absolute; inset: 0; width: 100%; height: 100%;
    padding: 28px; opacity: 0.2; display: block;
  }

  /* ═══════════════════════════════
     PAGINATION
  ═══════════════════════════════ */
  .pagination-row {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 12px;
  }
  .pagination-info { font-size: 13px; color: var(--muted); }
  .pagination { display: flex; align-items: center; gap: 6px; }
  .page-btn {
    width: 36px; height: 36px; border-radius: 7px; border: 1px solid var(--border);
    background: white; font-size: 13px; font-weight: 500; color: var(--text);
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: all 0.15s; font-family: "Outfit", sans-serif;
  }
  .page-btn:hover { border-color: var(--blue); color: var(--blue); }
  .page-btn.active { background: var(--blue); border-color: var(--blue); color: white; font-weight: 700; }
  .page-btn svg { width: 14px; height: 14px; fill: currentColor; }

  


