

  :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;
    --award: #b8860b;
    --radius: 12px;
  }
  /* ═══════════ BREADCRUMB BAR ═══════════ */
  .breadcrumb-bar { background: var(--white); padding: 14px 48px; border-bottom: 1px solid var(--border); }
  .breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); max-width: 1200px; margin: 0 auto; }
  .breadcrumb a { color: var(--muted); text-decoration: none; display: flex; align-items: center; }
  .breadcrumb a:hover { color: var(--blue); }
  .breadcrumb a.active { color: var(--blue); font-weight: 500; }
  .breadcrumb svg { width: 14px; height: 14px; opacity: 0.5; }

  /* ═══════════ HERO IMAGE ═══════════ */
  .firm-hero {
    height: 340px; position: relative; overflow: hidden;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 60%, #0f3460 100%);
    display: flex; align-items: center; justify-content: center;
  }
  .firm-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.4) 100%); }
  .firm-hero svg { width: 260px; height: 220px; opacity: 0.28; fill: #c9a86a; position: relative; z-index: 1; }

  /* ═══════════ CONTAINER ═══════════ */
  .container { max-width: 1200px; margin: 0 auto; padding: 0 48px; }

  /* ═══════════ FIRM HEADER CARD ═══════════ */
  .firm-header-card {
    background: var(--white); border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 22px 26px; margin-top: -56px; position: relative; z-index: 10;
    display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  }
  .firm-thumb {
    width: 64px; height: 64px; border-radius: 10px; flex-shrink: 0; overflow: hidden;
    background: linear-gradient(135deg, #1a1a2e, #0f3460);
    display: flex; align-items: center; justify-content: center;
  }
  .firm-thumb svg { width: 36px; height: 36px; opacity: 0.5; fill: #c9a86a; }
  .firm-header-info { flex: 1; min-width: 220px; }
  .firm-header-title-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 3px; }
  .firm-header-title-row h1 { font-size: 21px; font-weight: 700; color: var(--text); }
  .verified-pill {
    background: var(--blue-tag); color: var(--blue-tag-text);
    font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 20px;
    display: inline-flex; align-items: center; gap: 4px;
  }
  .verified-pill svg { width: 12px; height: 12px; fill: var(--blue); }
  .firm-header-practice { font-size: 13.5px; font-weight: 600; color: var(--blue); margin-bottom: 10px; }
  .firm-header-meta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
  .firm-header-meta-item { display: flex; align-items: center; gap: 5px; }
  .firm-header-meta-item svg { width: 14px; height: 14px; fill: var(--muted); flex-shrink: 0; }
  .firm-header-meta-item.rating { color: var(--text); }
  .firm-header-meta-item .star { fill: var(--star); }
  .firm-header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
  .btn-contact { background: var(--blue); color: white; border: none; font-size: 14px; font-weight: 600; padding: 11px 20px; border-radius: 8px; cursor: pointer; display: flex; align-items: center; gap: 7px; font-family: "Outfit", sans-serif; transition: background 0.15s; white-space: nowrap; }
  .btn-contact:hover { background: var(--blue-light); }
  .btn-contact svg { width: 16px; height: 16px; fill: white; }
  .btn-website { background: var(--white); color: var(--text); border: 1px solid var(--border); font-size: 14px; font-weight: 600; padding: 11px 18px; border-radius: 8px; cursor: pointer; display: flex; align-items: center; gap: 7px; font-family: "Outfit", sans-serif; transition: background 0.15s; white-space: nowrap; }
  .btn-website:hover { background: var(--bg); }
  .btn-website svg { width: 16px; height: 16px; fill: var(--muted); }

  /* ═══════════ LAYOUT GRID ═══════════ */
  .detail-layout {
    display: grid; grid-template-columns: 1fr 360px;
    gap: 24px; padding: 28px 0 60px;
    align-items: start;
  }
  .detail-main { display: flex; flex-direction: column; gap: 20px; }
  .detail-side { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 84px; }

  .panel { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 26px; }
  .panel h2 { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 14px; }
  .panel h3 { font-size: 15px; font-weight: 700; color: var(--text); margin: 22px 0 12px; }
  .panel p { font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 12px; }
  .panel p:last-child { margin-bottom: 0; }

  .practice-tags { display: flex; flex-wrap: wrap; gap: 9px; }
  .practice-tag {
    font-size: 12.5px; font-weight: 500; color: var(--blue-tag-text); background: var(--blue-tag);
    padding: 6px 14px; border-radius: 20px; display: inline-flex; align-items: center; gap: 6px;
  }
  .practice-tag svg { width: 13px; height: 13px; fill: var(--blue); }

  /* Attorneys */
  .attorneys-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
  .attorneys-head h2 { margin-bottom: 0; }
  .view-all { font-size: 13px; font-weight: 600; color: var(--blue); text-decoration: none; display: flex; align-items: center; gap: 5px; }
  .view-all svg { width: 14px; height: 14px; fill: var(--blue); }
  .attorneys-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .attorney-card { text-align: center; padding: 8px; }
  .attorney-avatar {
    width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 10px; overflow: hidden;
    background: linear-gradient(135deg, #c7d2fe, #818cf8); display: flex; align-items: flex-end; justify-content: center;
  }
  .attorney-avatar svg { width: 44px; height: 44px; fill: rgba(255,255,255,0.85); }
  .attorney-name { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
  .attorney-role { font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }
  .attorney-rating { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 700; color: var(--text); }
  .attorney-rating svg { width: 13px; height: 13px; fill: var(--star); }

  /* Awards */
  .awards-list { display: flex; flex-wrap: wrap; gap: 10px; }
  .award-item {
    background: #fdf6e9; border: 1px solid #f3e3c2; border-radius: 8px;
    padding: 9px 14px; font-size: 12.5px; font-weight: 600; color: #8a6d1f;
    display: inline-flex; align-items: center; gap: 7px;
  }
  .award-item svg { width: 15px; height: 15px; fill: var(--award); }

  /* Map */
  .map-label { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
  .map-box {
    height: 220px; border-radius: 10px; overflow: hidden;
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
    border: 1px solid var(--border);
  }
  .map-box svg { width: 28px; height: 28px; fill: var(--blue); }
  .map-box span { font-size: 13px; color: var(--muted); }

  /* Contact Info (side) */
  .contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
  .contact-item:last-child { margin-bottom: 0; }
  .contact-icon { width: 34px; height: 34px; border-radius: 8px; background: var(--blue-tag); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .contact-icon svg { width: 16px; height: 16px; fill: var(--blue); }
  .contact-text .label { font-size: 12px; color: var(--muted); margin-bottom: 2px; }
  .contact-text .value { font-size: 13.5px; color: var(--text); font-weight: 500; line-height: 1.45; }

  /* Firm Statistics (side, blue) */
  .stats-panel { background: linear-gradient(135deg, #1a3ecf 0%, #2d55e8 100%); border-radius: var(--radius); padding: 24px 26px; }
  .stats-panel h2 { font-size: 17px; font-weight: 700; color: white; margin-bottom: 16px; }
  .stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-box { background: rgba(255,255,255,0.12); border-radius: 10px; padding: 16px; text-align: center; }
  .stat-box .num { font-size: 24px; font-weight: 700; color: white; line-height: 1; margin-bottom: 5px; }
  .stat-box .lbl { font-size: 12px; color: rgba(255,255,255,0.8); }



  /* ═══════════ RESPONSIVE 1024 ═══════════ */
  @media (max-width: 1024px) {
    nav { padding: 0 28px; }
    .nav-links a { padding: 6px 8px; font-size: 13px; }
    .breadcrumb-bar { padding: 14px 28px; }
    .container { padding: 0 28px; }
    .detail-layout { grid-template-columns: 1fr 320px; gap: 18px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    footer { padding: 44px 28px 28px; }
  }

  /* ═══════════ RESPONSIVE 768 ═══════════ */
  @media (max-width: 768px) {
    nav { padding: 0 20px; height: 60px; }
    .nav-links, .nav-actions { display: none; }
    .hamburger { display: flex; }
    .mobile-menu { top: 60px; }
    .breadcrumb-bar { padding: 12px 20px; }
    .container { padding: 0 20px; }
    .firm-hero { height: 220px; }
    .firm-hero svg { width: 170px; height: 150px; }

    /* Single column layout */
    .detail-layout { grid-template-columns: 1fr; padding: 24px 0 40px; }
    .detail-side { position: static; }

    .firm-header-card { padding: 18px 20px; margin-top: -44px; }
    .firm-header-actions { width: 100%; }
    .btn-contact, .btn-website { flex: 1; justify-content: center; }

    .attorneys-grid { gap: 10px; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    footer { padding: 36px 20px 24px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  }

  /* ═══════════ RESPONSIVE 480 ═══════════ */
  @media (max-width: 480px) {
    .firm-hero { height: 180px; }
    .firm-header-title-row h1 { font-size: 18px; }
    .firm-header-meta { gap: 12px; font-size: 12px; }
    .attorneys-grid { grid-template-columns: 1fr; gap: 8px; }
    .attorney-card { display: flex; align-items: center; gap: 14px; text-align: left; padding: 10px; border: 1px solid var(--border); border-radius: 10px; }
    .attorney-avatar { margin: 0; width: 52px; height: 52px; flex-shrink: 0; }
    .attorney-avatar svg { width: 36px; height: 36px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .panel { padding: 20px; }
    .stats-panel { padding: 20px; }
  }
