/* ───────────────────────────────────────────────────────────────────────────
   Bremo Lawyers, Clean Legal Directory
   Design system aligned with bremo.io (white body, black header, Circular type)
   ─────────────────────────────────────────────────────────────────────────── */

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

:root {
  --bg: #ffffff;
  --fg: #0b0b0b;
  --muted: #6b7280;
  --soft: #9ca3af;
  --line: #e5e7eb;
  --hint: #f9fafb;
  --ink: #111827;
  --accent: #0b0b0b;
  --headerH: 76px;
}

html { scroll-behavior: smooth; background: #fff; }
body {
  margin: 0;
  font-family: Circular, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "kern", "liga", "calt";
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

/* ── Bremo Header ─────────────────────────────────────────────────────── */
.bl-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #0b0b0b;
  color: #fff;
}
.bl-head-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.bl-brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: #fff;
  font-size: 28px;
  line-height: 1;
}
.bl-brand .sub {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #9ca3af;
  text-transform: uppercase;
}
.bl-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.bl-nav a {
  color: #d1d5db;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.bl-nav a.cta {
  color: #0b0b0b;
  background: #fff;
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 600;
}
@media (max-width: 720px) {
  .bl-nav { display: none; }
  .bl-brand { font-size: 22px; }
  .bl-brand .sub { font-size: 11px; }
}

/* ── Hero / page intros ───────────────────────────────────────────────── */
.bl-hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px 56px;
}
.bl-hero .eyebrow {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.bl-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 0 0 18px;
  max-width: 880px;
}
.bl-hero .lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--muted);
  max-width: 700px;
  line-height: 1.55;
  margin: 0 0 28px;
}

/* ── Search form ──────────────────────────────────────────────────────── */
.bl-search {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 8px;
  background: #fff;
  padding: 8px;
  border-radius: 14px;
  border: 1px solid var(--line);
  max-width: 720px;
  box-shadow: 0 1px 0 rgba(0,0,0,.02), 0 18px 54px rgba(0,0,0,.05);
}
.bl-search select, .bl-search input {
  border: 0;
  background: transparent;
  padding: 14px 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--fg);
  outline: none;
}
.bl-search button {
  background: #0b0b0b;
  color: #fff;
  border: 0;
  padding: 0 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
}
@media (max-width: 640px) {
  .bl-search { grid-template-columns: 1fr; }
  .bl-search button { padding: 14px; }
}

/* ── Trust strip ──────────────────────────────────────────────────────── */
.bl-trust {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 24px 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  color: var(--muted);
  font-size: 14px;
}
.bl-trust strong { color: var(--fg); font-weight: 700; }

/* ── Section ─────────────────────────────────────────────────────────── */
.bl-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px;
}
.bl-section h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 0 28px;
}
.bl-section h3 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}

/* ── Card grids ───────────────────────────────────────────────────────── */
.bl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.bl-grid-areas {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.bl-tile {
  display: block;
  padding: 22px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--fg);
  transition: border-color .12s ease, transform .12s ease;
}
.bl-tile_no_hover_disabled { border-color: #0b0b0b; }
.bl-tile .t { font-weight: 600; font-size: 1rem; margin-bottom: 4px; letter-spacing: -.01em; }
.bl-tile .m { font-size: 13px; color: var(--muted); }
.bl-tile .desc { color: var(--muted); font-size: 14px; margin-top: 8px; line-height: 1.5; }

/* ── Region groupings (cities page) ──────────────────────────────────── */
.bl-region {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.bl-region-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 56px 0 8px;
  padding-bottom: 10px;
  border-bottom: 2px solid #0b0b0b;
}
.bl-region-sub {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 28px 0 12px;
  color: var(--ink);
}

/* ── Long-form content / area landing ─────────────────────────────────── */
.bl-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 24px 16px;
}
.bl-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 36px 0 12px;
}
.bl-content p { color: var(--ink); font-size: 16px; line-height: 1.7; margin: 0 0 16px; }
.bl-content a { color: #1d4ed8; text-decoration: underline; }

/* ── Subtopic + FAQ grid ─────────────────────────────────────────────── */
.bl-subgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
  margin: 28px 0;
}
.bl-subcard {
  background: var(--hint);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.bl-subcard h3 { font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.bl-subcard p { font-size: 14px; color: var(--muted); line-height: 1.5; margin: 0; }

.bl-faq {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 24px;
}
.bl-faq-item {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.bl-faq-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -.01em;
}
.bl-faq-item p { color: var(--ink); line-height: 1.6; margin: 0; font-size: 15px; }

/* ── Lawyer card / listing tile ──────────────────────────────────────── */
.bl-directory {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px;
}
.bl-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  position: relative;
  display: block;
  color: var(--fg);
}
.bl-card .ribbon {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  background: #fef3c7;
  color: #92400e;
  padding: 4px 10px;
  border-radius: 999px;
}
.bl-card .ribbon.spotlight { background: #dbeafe; color: #1e40af; }
.bl-card .ribbon.featured { background: #0b0b0b; color: #fff; }
.bl-card h3 { font-size: 1.1rem; font-weight: 700; margin: 0 0 4px; letter-spacing: -.01em; }
.bl-card .firm { color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.bl-card .bio { color: var(--ink); font-size: 14px; line-height: 1.5; margin-bottom: 14px; }
.bl-card .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.bl-card .tags span { font-size: 11px; padding: 3px 9px; background: var(--hint); color: var(--ink); border-radius: 999px; font-weight: 500; }
.bl-card .more { margin-top: 14px; font-size: 13px; color: var(--muted); font-weight: 500; }

/* ── Empty state ──────────────────────────────────────────────────────── */
.bl-empty {
  text-align: center;
  padding: 60px 24px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  background: var(--hint);
  color: var(--muted);
}
.bl-empty a { color: #0b0b0b; font-weight: 600; text-decoration: underline; }

/* ── Dark band CTAs ───────────────────────────────────────────────────── */
.bl-dark {
  background: #0b0b0b;
  color: #fff;
  padding: 72px 24px;
  margin: 64px 0 0;
}
.bl-dark .inner { max-width: 1200px; margin: 0 auto; }
.bl-dark .eyebrow { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: #9ca3af; margin-bottom: 14px; }
.bl-dark h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 700; letter-spacing: -0.025em; margin: 0 0 16px; max-width: 800px; }
.bl-dark p { color: #d1d5db; max-width: 640px; line-height: 1.6; margin: 0 0 24px; font-size: 16px; }
.bl-dark .btn { display: inline-block; padding: 14px 22px; border-radius: 10px; font-weight: 600; font-size: 15px; margin-right: 10px; }
.bl-dark .btn.primary { background: #fff; color: #0b0b0b; }
.bl-dark .btn.ghost { border: 1px solid #4b5563; color: #fff; }

/* ── Crumbs ──────────────────────────────────────────────────────────── */
.bl-crumbs {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}
.bl-crumbs a { color: var(--muted); }

/* ── Footer ──────────────────────────────────────────────────────────── */
.bl-footer {
  background: #0b0b0b;
  color: #fff;
  padding: 56px 24px 40px;
  margin-top: 80px;
}
.bl-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 32px;
  align-items: start;
}
.bl-footer .brand { font-weight: 700; letter-spacing: -0.035em; font-size: 24px; }
.bl-footer .brand small { display: block; font-size: 12px; color: #9ca3af; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; margin-top: 4px; }
.bl-footer .links { display: flex; flex-wrap: wrap; gap: 18px; }
.bl-footer .links a { color: #d1d5db; font-size: 14px; }
.bl-footer .copy { text-align: right; color: #9ca3af; font-size: 13px; }
.bl-footer .fine { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid #1f2937; color: #6b7280; font-size: 12px; line-height: 1.6; margin-top: 28px; }
@media (max-width: 720px) {
  .bl-footer-inner { grid-template-columns: 1fr; }
  .bl-footer .copy { text-align: left; }
}

/* ── Quick-jump rows (find page) ──────────────────────────────────────── */
.bl-quick {
  max-width: 1200px;
  margin: 32px auto 0;
  padding: 0 24px;
}
.bl-quick h3 {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin: 24px 0 12px;
}
.bl-quick .row { display: flex; flex-wrap: wrap; gap: 8px; }
.bl-quick .row a {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink);
  font-weight: 500;
  transition: border-color .12s, background .12s;
}
.bl-quick .row a_no_hover_disabled { border-color: #0b0b0b; background: #0b0b0b; color: #fff; }

/* ── Legacy class compat: maps old Voss classes -> new Bremo styling ─── */
/* Old header (no longer used on main pages but still referenced by city-area/area-landing) */
header.site { background: #0b0b0b; padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; }
header.site .logo { color: #fff; font-size: 22px; font-weight: 700; letter-spacing: -0.035em; text-transform: none; font-family: inherit; }
header.site .logo small { color: #9ca3af; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; margin-left: 8px; font-weight: 500; }
header.site nav { display: flex; gap: 24px; }
header.site nav a { color: #d1d5db; font-size: 14px; font-family: inherit; letter-spacing: 0; }
header.site nav a.cta { color: #0b0b0b; background: #fff; padding: 8px 14px; border-radius: 999px; }
@media (max-width: 720px) { header.site nav { display: none; } }

footer.site { background: #0b0b0b; color: #fff; padding: 48px 24px; margin-top: 80px; }
footer.site .links { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 18px; max-width: 1200px; margin-left: auto; margin-right: auto; }
footer.site .links a { color: #d1d5db; font-size: 14px; }
footer.site > div:not(.links) { max-width: 1200px; margin: 8px auto; color: #9ca3af; font-size: 13px; }
footer.site .fine { color: #6b7280; font-size: 12px; line-height: 1.6; padding-top: 18px; border-top: 1px solid #1f2937; }

/* Hero */
.hero { max-width: 1200px; margin: 0 auto; padding: 80px 24px 56px; }
.hero .eyebrow { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; margin: 0 0 18px; max-width: 880px; }
.hero .lead, .lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 700px; line-height: 1.55; margin: 0 0 24px; }

/* Searchbar (legacy) */
.searchbar, .find-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; background: #fff; padding: 8px; border-radius: 14px; border: 1px solid var(--line); max-width: 720px; box-shadow: 0 18px 54px rgba(0,0,0,.05); }
.searchbar select, .searchbar input, .find-form select, .find-form input { border: 0; background: transparent; padding: 14px 14px; font-size: 15px; font-family: inherit; color: var(--fg); outline: none; }
.searchbar button, .find-form button { background: #0b0b0b; color: #fff; border: 0; padding: 0 26px; border-radius: 10px; font-weight: 600; font-size: 15px; cursor: pointer; }

/* Trust strip */
.trust { max-width: 1200px; margin: 0 auto; padding: 24px 24px 8px; display: flex; flex-wrap: wrap; gap: 32px; color: var(--muted); font-size: 14px; }
.trust strong { color: var(--fg); font-weight: 700; }

/* Section */
.section { max-width: 1200px; margin: 0 auto; padding: 56px 24px; }
.section h2 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); font-weight: 700; letter-spacing: -0.025em; margin: 0 0 28px; }

/* Grid cities + areas */
.grid-cities { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.grid-areas { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.city-tile, .area-card { display: block; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--fg); transition: border-color .12s ease; }
.city-tile_no_hov, .area-card_no_hover_disabled { border-color: #0b0b0b; }
.city-tile .name, .area-card h3 { font-weight: 600; font-size: 1rem; margin-bottom: 4px; letter-spacing: -.01em; }
.city-tile .meta { font-size: 13px; color: var(--muted); }
.area-card p { color: var(--muted); font-size: 14px; margin-top: 8px; line-height: 1.5; }

/* Directory cards */
.directory { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.lawyer-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; position: relative; display: block; color: var(--fg); }
.lawyer-card_no_hover_disabled { border-color: #0b0b0b; }
.lawyer-card .ribbon { position: absolute; top: 14px; right: 14px; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #fef3c7; color: #92400e; }
.lawyer-card h3 { font-size: 1.1rem; font-weight: 700; margin: 0 0 4px; letter-spacing: -.01em; }
.lawyer-card .firm { color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.lawyer-card .bio { color: var(--ink); font-size: 14px; line-height: 1.5; }
.lawyer-card .tagrow { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.lawyer-card .tagrow span { font-size: 11px; padding: 3px 9px; background: var(--hint); color: var(--ink); border-radius: 999px; font-weight: 500; }

/* Empty state */
.empty { text-align: center; padding: 60px 24px; border: 1px dashed var(--line); border-radius: 14px; background: var(--hint); color: var(--muted); }
.empty a { color: #0b0b0b; font-weight: 600; text-decoration: underline; }

/* Dark band */
.dark-band { background: #0b0b0b; color: #fff; padding: 72px 24px; margin: 64px 0 0; }
.dark-band .dark-inner { max-width: 1200px; margin: 0 auto; }
.dark-band .eyebrow { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: #9ca3af; margin-bottom: 14px; }
.dark-band h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 700; letter-spacing: -0.025em; margin: 0 0 16px; max-width: 800px; }
.dark-band p { color: #d1d5db; max-width: 640px; line-height: 1.6; margin: 0 0 24px; font-size: 16px; }
.dark-band .btn-gold, .dark-band .btn-outline { display: inline-block; padding: 14px 22px; border-radius: 10px; font-weight: 600; font-size: 15px; margin-right: 10px; text-decoration: none; }
.dark-band .btn-gold { background: #fff; color: #0b0b0b; }
.dark-band .btn-outline { border: 1px solid #4b5563; color: #fff; }

/* Find page quick rows */
.find-shell { max-width: 1200px; margin: 0 auto; padding: 80px 24px 24px; }
.quick { max-width: 1200px; margin: 32px auto 0; padding: 0 24px; }
.quick h3 { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: 24px 0 12px; }
.quick .row { display: flex; flex-wrap: wrap; gap: 8px; }
.quick .row a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--ink); font-weight: 500; }
.quick .row a_no_hover_disabled { border-color: #0b0b0b; background: #0b0b0b; color: #fff; }

/* ============================================================
   Profile page layout fix (added 2026-05-18)
   .profile-hero and .profile-body had no max-width or padding
   rules, so content was flush against the viewport edge on every
   /lawyers/profile/* page. This brings them in line with the
   site's 1200px max-width + 24px gutters used everywhere else.
   ============================================================ */
.profile-hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px 24px;
}
.profile-hero .eyebrow {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.profile-hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 0 0 12px;
}
.profile-hero .firm {
  font-size: 1.05rem;
  color: var(--muted);
}
.profile-hero .ribbon {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 10px;
  background: var(--accent, #1a1a2e);
  color: #fff;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 24px 96px;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 48px;
  align-items: start;
}
.profile-body .bio { line-height: 1.65; }
.profile-body .bio p { margin: 0 0 16px; }
.profile-body .bio h3 {
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 2rem 0 0.75rem;
  font-size: 1.15rem;
}
.profile-body .side {
  background: var(--hint, #f5f5f7);
  border: 1px solid var(--line, #e5e5e5);
  border-radius: 12px;
  padding: 24px;
  position: sticky;
  top: 24px;
}
.profile-body .side h4 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
.profile-body .side p {
  font-size: 0.95rem;
  margin: 0 0 14px;
  line-height: 1.5;
}
.profile-body .side strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted, #6b7280);
  margin-bottom: 4px;
}
.profile-body .side a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

@media (max-width: 900px) {
  .profile-body {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 16px;
  }
  .profile-body .side { position: static; }
}

/* Safety net for any future page block that lives directly under body
   and forgets its max-width. Wraps the content the same way the rest
   of the site does. */
body > .container,
body > main.lh-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
}
