/* ═══════════════════════════════════════════════════
   dir.css – Katalog prawników · prawnikwchmurze.pl
   Design System v2 – 2026
═══════════════════════════════════════════════════ */

/* ── Variables ───────────────────────────────────────── */
:root {
  --red: #E8354A;
  --red-hover: #c0392b;
  --red-soft: #fdf0f1;
  --sage: #4a7c59;
  --sage-soft: #eef5f1;
  --sage-border: rgba(74,124,89,0.2);
  --ink: #1c1c1e;
  --ink-2: #636366;
  --ink-3: #86868b;
  --surface: #ffffff;
  --surface-2: #f2f2f7;
  --surface-3: #e5e5ea;
  --border: rgba(0,0,0,0.08);
  --border-strong: rgba(0,0,0,0.15);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

/* ── Reset ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scrollbar-gutter: stable; }
body {
  font-family: -apple-system, 'Helvetica Neue', sans-serif;
  background: var(--surface-2);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* ── Intro screen ────────────────────────────────────── */
.intro-screen {
  position: fixed;
  inset: 0;
  background: #E8354A;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.intro-logo {
  position: absolute;
  top: 0;
  left: 32px;
  height: 60px;
  display: flex;
  align-items: center;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: #fff;
  opacity: 0;
  animation: introLogoIn 0.5s ease forwards 0.15s;
}
.intro-logo .intro-w { color: rgba(255,255,255,0.75); }
.intro-svg {
  position: absolute;
  bottom: 40px;
  left: 32px;
  width: 200px;
  opacity: 0;
  transform: translateY(16px);
  animation: introSvgIn 0.8s ease forwards 0.45s;
}
.intro-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: rgba(255,255,255,0.3);
  width: 0%;
  animation: introBar 1.9s ease forwards 0.2s;
}
@keyframes introLogoIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes introSvgIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes introBar { from { width: 0%; } to { width: 100%; } }
.intro-screen.slide-up {
  transform: translateY(-100%);
  transition: transform 1.2s cubic-bezier(0.76, 0, 0.24, 1);
}

/* ── Nav ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: #fff;
  border-bottom: 0.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  z-index: 100;
}
.nav-logo {
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-weight: 500;
  white-space: nowrap;
}
.nav-logo .logo-red { color: var(--red); }
.dot { color: var(--red); }
.nav-tabs {
  display: flex;
  align-items: center;
}
.nav-tab {
  display: inline-flex;
  align-items: center;
  height: 60px;
  padding: 0 16px;
  font-size: 13px;
  color: var(--ink-2);
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  position: relative;
  transition: color 0.2s;
}
.nav-tab:hover { color: var(--ink); }
.nav-tab.active {
  color: var(--ink);
  font-weight: 500;
  border-bottom: 2px solid var(--red);
}
.nav-r {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
}
.nav-panel-btn {
  border: 0.5px solid var(--border-strong);
  border-radius: 980px;
  padding: 5px 12px;
  font-size: 11px;
  color: var(--ink);
  background: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}
.nav-panel-btn:hover { background: var(--surface-2); }
.nav-cta {
  background: var(--ink);
  color: #fff;
  border-radius: 980px;
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.15s;
}
.nav-cta:hover { background: var(--red); }
.nav-drop { position: relative; }
.nav-drop-btn { display: flex; align-items: center; gap: 5px; }
.drop-arrow {
  font-size: 9px;
  transition: transform 0.2s;
  color: var(--ink-3);
  display: inline-block;
  line-height: 1;
  margin-left: 1px;
}
.nav-drop.open .drop-arrow { transform: rotate(180deg); }
.drop-menu {
  position: absolute;
  top: calc(100% + 1px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: #fff;
  border: 0.5px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 6px;
  min-width: 220px;
  z-index: 200;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}
.nav-drop.open .drop-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.drop-item {
  display: block;
  width: 100%;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: var(--radius-sm);
  transition: all 0.15s;
  text-align: left;
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}
.drop-item:hover { background: var(--red-soft); color: var(--red); }

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

/* Mobile tabs overlay */
.mob-tabs {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  z-index: 99;
  flex-direction: column;
  overflow-y: auto;
}
.mob-tabs.open { display: flex; }
.mob-tab {
  padding: 20px 24px;
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 0.5px solid var(--border);
}
.mob-tab:hover { color: var(--red); }
.mob-tab.active { color: var(--red); }
.mob-tab-contact {
  display: block;
  background: var(--red);
  color: #fff;
  padding: 16px 24px;
  font-size: 18px;
  font-weight: 500;
  margin-top: auto;
}
.mob-sect {
  padding: 10px 24px 4px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-3);
  border-top: 0.5px solid var(--border);
  margin-top: 4px;
}
.mob-sub { padding-left: 40px !important; color: var(--ink-2) !important; font-size: 15px !important; }

/* ── Layout ──────────────────────────────────────────── */
.wrap { max-width: 1060px; margin: 0 auto; padding: 32px 24px 0; }
.wrap-narrow { max-width: 820px; margin: 0 auto; padding: 32px 24px 0; }
.page-top { padding-top: 60px; }

/* ── Breadcrumb ──────────────────────────────────────── */
.bc {
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}
.bc a { color: var(--ink-3); }
.bc a:hover { color: var(--red); }
.bc-sep { color: var(--surface-3); }

/* ── Search Hero ─────────────────────────────────────── */
.search-hero {
  background: linear-gradient(180deg, #f7f7f8 0%, #fff 100%);
  padding: 64px 24px 48px;
  text-align: center;
}
.search-eyebrow {
  font-size: 11px;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
  margin-bottom: 12px;
}
.search-hero h1 {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 8px;
}
.search-hero p {
  font-size: 14px;
  color: var(--ink-2);
  margin-bottom: 32px;
}
.search-box {
  background: #fff;
  border: 0.5px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 6px 6px 6px 20px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  display: flex;
  gap: 8px;
  max-width: 680px;
  margin: 0 auto;
  align-items: center;
}
.search-box input,
.search-box select {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 15px;
  color: var(--ink);
  font-family: inherit;
  padding: 6px 4px;
  min-width: 0;
}
.search-box input:focus,
.search-box select:focus { outline: none; }
.search-box select {
  border-left: 0.5px solid var(--border);
  padding-left: 12px;
  cursor: pointer;
  color: var(--ink-2);
}
.search-btn {
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 980px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
  flex-shrink: 0;
}
.search-btn:hover { background: var(--red-hover); }
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 16px;
}
.filter-chip {
  padding: 6px 16px;
  border: 0.5px solid var(--border);
  border-radius: 980px;
  font-size: 13px;
  color: var(--ink-2);
  background: var(--surface-2);
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}
.filter-chip:hover,
.filter-chip.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* ── Results meta ────────────────────────────────────── */
.results-meta { font-size: 13px; color: var(--ink-3); margin-bottom: 8px; }
.results-meta strong { color: var(--ink); font-weight: 600; }

/* ── Lawyer cards ────────────────────────────────────── */
.lawyers-grid { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }

.lwyr-card {
  background: var(--surface);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: border-color 0.2s, box-shadow 0.2s;
  position: relative;
}
.lwyr-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border-color: var(--border-strong);
}

/* Premium card */
.lwyr-card.premium {
  border: 1.5px solid var(--ink);
}
.card-premium-bar {
  background: var(--ink);
  color: #fff;
  padding: 6px 16px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  margin: -16px -16px 16px -16px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}
.card-premium-bar .prem-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

/* Partner Województwa card */
.lwyr-card.partner-woj {
  background: var(--surface);
  border: 0.5px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.card-partner-bar {
  background: var(--ink);
  color: #fff;
  padding: 8px 20px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  margin: -24px -24px 20px -24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-partner-bar-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}
.card-partner-bar-left .partner-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #E8354A;
  flex-shrink: 0;
}
.card-partner-bar-right {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
}
.partner-woj-sub { font-size: 12px; color: var(--ink-2); font-weight: 500; margin-top: 3px; }

/* Avatar */
.lwyr-av {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-2);
  flex-shrink: 0;
  overflow: hidden;
}
.lwyr-av img { width: 100%; height: 100%; object-fit: cover; }
.lwyr-av.partner-big {
  width: 52px;
  height: 52px;
  border-radius: 12px;
}

/* Card body */
.lwyr-body { flex: 1; min-width: 0; }
.lwyr-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 2px;
}
.lwyr-name { font-size: 15px; font-weight: 500; color: var(--ink); }
.lwyr-typ { font-size: 12px; color: var(--ink-3); }
.lwyr-loc { font-size: 12px; color: var(--ink-3); margin-bottom: 8px; }
.lwyr-desc {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.6;
  margin: 8px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lwyr-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  gap: 8px;
  flex-wrap: wrap;
}

/* Profile button */
.btn-profil {
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  font-size: 12px;
  padding: 7px 14px;
  font-weight: 500;
  transition: background 0.15s;
  white-space: nowrap;
}
.btn-profil:hover { background: var(--red); }
.btn-profil.partner-btn { background: var(--ink); color: #fff; }
.btn-profil.partner-btn:hover { background: var(--red); }

/* ── Stars / Rating ──────────────────────────────────── */
.stars { letter-spacing: 1px; font-size: 13px; }
.s-full { color: #f5a623; }
.s-half { color: #f5a623; opacity: 0.5; }
.s-empty { color: var(--surface-3); }
.rating-row { display: flex; align-items: center; gap: 6px; }
.rating-score { font-weight: 600; font-size: 13px; color: var(--ink); }
.rating-count { font-size: 12px; color: var(--ink-3); }

/* ── Spec tags ───────────────────────────────────────── */
.spec-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.spec-tag {
  display: inline-block;
  background: var(--surface-2);
  color: var(--ink-2);
  border: 0.5px solid var(--border);
  border-radius: 980px;
  font-size: 11px;
  padding: 3px 10px;
}

/* ── Badges ──────────────────────────────────────────── */
.badge-prem {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--ink);
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 980px;
}
.badge-partner {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--ink);
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 980px;
  white-space: nowrap;
}
.badge-verified {
  display: inline-flex;
  align-items: center;
  background: var(--sage-soft);
  color: var(--sage);
  border: 0.5px solid var(--sage-border);
  font-size: 11px;
  border-radius: 980px;
  padding: 3px 10px;
}
.badge-partner-panel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 980px;
}

/* ── Locked contact (search cards) ──────────────────── */
.card-locked-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.card-locked-item {
  font-size: 13px;
  color: var(--ink-3);
  letter-spacing: 0.05em;
  pointer-events: none;
  user-select: none;
}
.card-locked-sep { color: var(--surface-3); font-size: 12px; }
.card-unlock {
  font-size: 11px;
  color: var(--ink-3);
  background: var(--surface-2);
  border: none;
  border-radius: 980px;
  padding: 4px 12px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
}
.card-unlock:hover { background: var(--ink); color: #fff; }

/* Card blur row (legacy blurred tel) */
.card-blur-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
  margin-bottom: 2px;
}
.blurred-tel {
  font-size: 13px;
  color: var(--ink-2);
  filter: blur(4px);
  user-select: none;
  pointer-events: none;
  display: inline-block;
}
.card-blur-sep { color: var(--border-strong); font-size: 12px; }
.card-contact-premium { margin-top: 8px; font-size: 13px; color: var(--ink-2); }
.card-contact-premium a:hover { color: var(--red); }

/* ── Pagination ──────────────────────────────────────── */
.pag { display: flex; gap: 6px; justify-content: center; margin-top: 48px; flex-wrap: wrap; }
.pag-btn {
  min-width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0.5px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  color: var(--ink-2);
  background: var(--surface-2);
  transition: all 0.15s;
  padding: 0 10px;
  font-family: inherit;
  cursor: pointer;
}
.pag-btn:hover { border-color: var(--border-strong); color: var(--ink); }
.pag-btn.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.pag-nav { font-size: 18px; }

/* ── Headings ────────────────────────────────────────── */
.dir-h1 { font-size: 26px; font-weight: 600; margin-bottom: 6px; letter-spacing: -0.02em; }
.dir-lead { font-size: 15px; color: var(--ink-2); margin-bottom: 24px; line-height: 1.6; }

/* ── Profile page ────────────────────────────────────── */
.profil-wrap { display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items: start; }
.profil-side { position: sticky; top: 76px; }
.profil-card {
  background: var(--surface);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
  margin-bottom: 16px;
}
.profil-av {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 600;
  color: var(--ink-2);
  margin: 0 auto 16px;
  overflow: hidden;
}
.profil-av img { width: 100%; height: 100%; object-fit: cover; }
.profil-name { font-size: 20px; font-weight: 600; margin-bottom: 4px; letter-spacing: -0.02em; }
.profil-typ { font-size: 13px; color: var(--ink-3); margin-bottom: 14px; }
.profil-cta {
  display: block;
  width: 100%;
  padding: 12px;
  background: var(--red);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 8px;
  transition: background 0.15s;
}
.profil-cta:hover { background: var(--red-hover); }
.profil-cta.sec {
  background: none;
  border: 0.5px solid var(--border-strong);
  color: var(--ink-2);
}
.profil-cta.sec:hover { border-color: var(--ink); color: var(--ink); background: var(--surface-2); }

/* Profile address */
.profil-addr { font-size: 13px; color: var(--ink-2); margin: 8px 0 2px; line-height: 1.4; }
.profil-city-link { font-size: 13px; color: var(--ink-3); margin-bottom: 12px; }
.profil-city-link a { color: var(--ink-3); }
.profil-city-link a:hover { color: var(--red); }

/* ── Dir sections ────────────────────────────────────── */
.dir-section {
  background: var(--surface);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-bottom: 20px;
}
.dir-section h2 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 0.5px solid var(--border);
  letter-spacing: -0.01em;
}
.profil-opis { font-size: 15px; line-height: 1.75; color: var(--ink-2); white-space: pre-line; }

.info-row {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 0.5px solid var(--border);
  font-size: 14px;
}
.info-row:last-child { border-bottom: none; }
.info-label { width: 110px; color: var(--ink-3); font-weight: 500; flex-shrink: 0; }
.info-val { color: var(--ink); }
.info-val a:hover { color: var(--red); }

/* ── Forms ───────────────────────────────────────────── */
.dir-form label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  margin-bottom: 6px;
  margin-top: 14px;
}
.dir-form label:first-child { margin-top: 0; }
.dir-form input,
.dir-form textarea,
.dir-form select {
  width: 100%;
  padding: 11px 14px;
  border: 0.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  background: var(--surface-2);
  color: var(--ink);
  transition: border-color 0.2s, background 0.2s;
}
.dir-form input:focus,
.dir-form textarea:focus,
.dir-form select:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--surface);
}
.dir-form textarea { resize: vertical; min-height: 110px; }
.stars-pick { display: flex; gap: 6px; margin-top: 6px; }
.star-pick { font-size: 26px; color: var(--surface-3); cursor: pointer; transition: color 0.15s; }
.star-pick.lit { color: #f5a623; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.btn-submit {
  margin-top: 16px;
  width: 100%;
  padding: 13px;
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-submit:hover { background: var(--red); }
.form-ok {
  background: var(--sage-soft);
  color: var(--sage);
  border: 0.5px solid var(--sage-border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
}
.form-err {
  background: var(--red-soft);
  color: var(--red);
  border: 0.5px solid rgba(232,53,74,0.2);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
}

/* ── Reviews ─────────────────────────────────────────── */
.opinia-item { padding: 16px 0; border-bottom: 0.5px solid var(--border); }
.opinia-item:last-child { border-bottom: none; }
.opinia-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.opinia-autor { font-size: 14px; font-weight: 600; color: var(--ink); }
.opinia-date { font-size: 12px; color: var(--ink-3); }
.opinia-text { font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.opinie-empty { font-size: 14px; color: var(--ink-3); text-align: center; padding: 24px 0; }

/* ── City page ───────────────────────────────────────── */
.city-intro {
  background: var(--surface);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.7;
}
.city-stats { display: flex; gap: 32px; margin-top: 20px; flex-wrap: wrap; }
.city-stat-n { font-size: 28px; font-weight: 600; color: var(--red); display: block; letter-spacing: -0.02em; }
.city-stat-l { font-size: 12px; color: var(--ink-3); font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; }

/* ── Pricing ─────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 32px 0; }
.pricing-card {
  background: var(--surface);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
}
.pricing-card.featured {
  border: 1.5px solid var(--ink);
  box-shadow: 0 8px 40px rgba(0,0,0,0.08);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 980px;
}
.pricing-name {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.pricing-price { font-size: 42px; font-weight: 600; color: var(--ink); line-height: 1; letter-spacing: -0.03em; }
.pricing-price span { font-size: 16px; font-weight: 400; color: var(--ink-3); }
.pricing-save { font-size: 13px; color: var(--sage); font-weight: 500; margin-top: 6px; }
.pricing-features { list-style: none; margin: 20px 0 24px; }
.pricing-features li {
  font-size: 14px;
  color: var(--ink-2);
  padding: 6px 0;
  border-bottom: 0.5px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.pricing-features li::before { content: '✓'; color: var(--sage); font-weight: 600; flex-shrink: 0; }
.pricing-features li:last-child { border-bottom: none; }
.pricing-btn {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  transition: background 0.15s;
}
.pricing-btn:hover,
.pricing-card.featured .pricing-btn { background: var(--red); color: #fff; }

/* ── Blur gate (profile sidebar) ────────────────────── */
.blur-gate { position: relative; margin-bottom: 4px; }
.blur-gate-inner { filter: blur(6px); pointer-events: none; user-select: none; }
.blur-gate-cta {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.85);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
  backdrop-filter: blur(2px);
}

/* Contact unlock section (profile) */
.contact-blur-wrap { margin-top: 4px; }
.contact-blur-items { margin-bottom: 10px; }
.contact-blur-items .profil-cta,
.contact-blur-items .profil-cta.sec { cursor: default; }
.contact-unlock {
  background: var(--red-soft);
  border: 0.5px dashed rgba(232,53,74,0.35);
  border-radius: var(--radius-sm);
  padding: 14px 12px;
  text-align: center;
  margin-top: 6px;
}
.unlock-btn {
  display: block;
  background: var(--red);
  color: #fff;
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 8px;
  transition: background 0.15s;
}
.unlock-btn:hover { background: var(--red-hover); color: #fff; }
.unlock-desc { font-size: 11px; color: var(--ink-3); line-height: 1.6; }

/* Locked contact (stars placeholder) */
.locked-contact { width: 100%; margin-bottom: 4px; }
.locked-row {
  font-size: 14px;
  color: var(--ink-3);
  padding: 6px 0;
  pointer-events: none;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 6px;
}
.locked-stars { font-size: 14px; color: var(--surface-3); letter-spacing: 1px; }
.locked-desc { font-size: 12px; color: var(--ink-3); text-align: center; margin-top: 6px; padding: 0 4px; }

/* ── Contact buttons ─────────────────────────────────── */
.btn-contact {
  display: block;
  width: 100%;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 8px;
  transition: all 0.15s;
  text-decoration: none;
}
.btn-email {
  background: none;
  border: 0.5px solid var(--border-strong);
  color: var(--ink-2);
}
.btn-email:hover { border-color: var(--red); color: var(--red); background: var(--red-soft); }
.btn-www {
  background: none;
  border: 0.5px solid var(--border-strong);
  color: var(--ink-2);
}
.btn-www:hover { border-color: var(--ink); color: var(--ink); background: var(--surface-2); }
.btn-disabled {
  background: none;
  border: 0.5px solid var(--border);
  color: var(--surface-3);
  cursor: default;
  pointer-events: none;
}

/* ── Lawyer CTA box (profile sidebar) ───────────────── */
.lawyer-cta-box {
  margin-top: 24px;
  padding: 16px;
  border: 0.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  text-align: center;
  font-size: 13px;
  color: var(--ink-3);
}
.lawyer-cta-box p { margin-bottom: 0; }
.btn-lawyer-login {
  display: block;
  margin: 8px 0;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.15s;
}
.btn-lawyer-login:hover { background: var(--red); color: #fff; }
.btn-lawyer-register { display: block; font-size: 12px; color: var(--red); text-decoration: none; margin-top: 6px; }
.btn-lawyer-register:hover { text-decoration: underline; }

/* ── Footer lawyer bar ───────────────────────────────── */
.footer-lawyer-bar {
  background: var(--ink);
  color: var(--ink-3);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
}
.footer-lawyer-bar a { color: var(--surface-3); font-weight: 500; transition: color 0.15s; }
.footer-lawyer-bar a:hover { color: var(--red); }
.flb-sep { color: rgba(255,255,255,0.15); }

/* ── Admin ───────────────────────────────────────────── */
.adm-wrap { max-width: 1200px; margin: 0 auto; padding: 80px 24px 40px; }
.adm-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: var(--ink);
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 24px;
  z-index: 100;
}
.adm-logo { font-weight: 600; color: #fff; font-size: 15px; letter-spacing: -0.01em; }
.adm-logo span { color: var(--red); }
.adm-nav-link { font-size: 14px; color: var(--ink-3); font-weight: 400; }
.adm-nav-link:hover { color: #fff; }
.adm-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-bottom: 28px; }
.adm-stat {
  background: var(--surface);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
}
.adm-stat-n { font-size: 28px; font-weight: 600; color: var(--ink); letter-spacing: -0.03em; }
.adm-stat-l { font-size: 12px; color: var(--ink-3); margin-top: 4px; }
.adm-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 0.5px solid var(--border);
}
.adm-table th {
  background: var(--surface-2);
  padding: 12px 16px;
  text-align: left;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-3);
  border-bottom: 0.5px solid var(--border);
}
.adm-table td {
  padding: 12px 16px;
  font-size: 13px;
  border-bottom: 0.5px solid var(--border);
  vertical-align: middle;
  color: var(--ink);
}
.adm-table tr:last-child td { border-bottom: none; }
.adm-table tr:hover td { background: var(--surface-2); }
.adm-badge { display: inline-block; padding: 2px 8px; border-radius: 6px; font-size: 11px; font-weight: 500; }
.adm-badge.prem { background: var(--red-soft); color: var(--red); }
.adm-badge.podst { background: var(--surface-2); color: var(--ink-3); }
.adm-btn {
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  border: 0.5px solid;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
}
.adm-btn.danger { border-color: var(--red); color: var(--red); background: none; }
.adm-btn.danger:hover { background: var(--red); color: #fff; }
.adm-btn.ok { border-color: var(--sage); color: var(--sage); background: none; }
.adm-btn.ok:hover { background: var(--sage); color: #fff; }
.adm-btn.sec { border-color: var(--ink); color: var(--ink); background: none; }
.adm-btn.sec:hover { background: var(--ink); color: #fff; }

/* ── Footer ──────────────────────────────────────────── */
.footer {
  background: var(--ink);
  color: var(--ink-3);
  margin-top: 80px;
  padding: 48px 32px 32px;
}
.footer-inner { max-width: 960px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand { font-size: 17px; font-weight: 500; color: #fff; margin-bottom: 12px; letter-spacing: -0.01em; }
.footer-brand span { color: var(--red); }
.footer-desc { font-size: 13px; line-height: 1.7; }
.footer-col h4 {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 14px;
}
.footer-col a { display: block; font-size: 13px; color: var(--ink-3); margin-bottom: 8px; }
.footer-col a:hover { color: var(--red); }
.footer-bottom {
  border-top: 0.5px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  font-size: 12px;
  color: var(--ink-3);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ── Misc ────────────────────────────────────────────── */
.loading { text-align: center; padding: 60px; color: var(--ink-3); font-size: 15px; }
.no-results { text-align: center; padding: 60px 24px; color: var(--ink-3); }
.no-results h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; color: var(--ink-2); letter-spacing: -0.01em; }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 900px) {
  .profil-wrap { grid-template-columns: 1fr; }
  .profil-side { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .adm-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav { height: 56px; padding: 0 16px; }
  .nav-tabs, .nav-r { display: none; }
  .hamburger { display: flex; }
  .mob-tabs { top: 56px; }
  .page-top { padding-top: 56px; }
  .search-hero { padding: 40px 16px 32px; }
  .search-hero h1 { font-size: 24px; }
  .search-box { flex-direction: column; padding: 12px; gap: 8px; }
  .search-box input,
  .search-box select { padding: 8px 4px; }
  .search-box select { border-left: none; border-top: 0.5px solid var(--border); padding-left: 4px; }
  .search-btn { width: 100%; text-align: center; border-radius: var(--radius-sm); }
  .lwyr-card { gap: 12px; }
  .lwyr-av { width: 40px; height: 40px; font-size: 14px; }
  .lwyr-name { font-size: 14px; }
  .dir-h1 { font-size: 20px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .adm-stats { grid-template-columns: 1fr 1fr; }
  .wrap, .wrap-narrow { padding: 20px 16px 0; }
  .pricing-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .city-stats { gap: 20px; }
  .footer-bottom { flex-direction: column; gap: 4px; }
}
