/* VetMapa — Content Pages (dzielnice, specjalizacje, poradnik) */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:      oklch(17% 0.022 52);
  --ink-2:    oklch(30% 0.028 55);
  --paper:    oklch(97% 0.008 65);
  --paper-2:  oklch(93% 0.010 65);
  --border:   oklch(88% 0.008 65);
  --muted:    oklch(55% 0.018 60);
  --ember:    oklch(76% 0.165 56);
  --ember-dk: oklch(58% 0.16 52);
}

html { font-size: 16px; }
body {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* ── Nav ────────────────────────────────────────────────── */
.site-nav {
  background: var(--ink);
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: sticky;
  top: 0;
  z-index: 10;
}
.nav-brand {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: oklch(92% 0.010 65);
  text-decoration: none;
}
.nav-brand .dot { color: var(--ember); }
.nav-cta {
  background: var(--ember);
  color: oklch(18% 0.04 50);
  padding: 0.4rem 1rem;
  border-radius: 3px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s;
}
.nav-cta:hover { background: oklch(80% 0.17 58); }

/* ── Layout ─────────────────────────────────────────────── */
.content-wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
  flex: 1;
}

/* ── Breadcrumb ─────────────────────────────────────────── */
.breadcrumb {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 1.75rem;
  display: flex;
  gap: 0.4rem;
  align-items: center;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }

/* ── Page header ────────────────────────────────────────── */
.page-header { margin-bottom: 2rem; }
.page-header h1 {
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 0.5rem;
}
.page-summary { color: var(--muted); font-size: 0.95rem; }

/* ── Clinic grid ────────────────────────────────────────── */
.clinic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 0.875rem;
  margin-bottom: 2.5rem;
}
.clinic-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.clinic-name {
  font-weight: 700;
  font-size: 0.97rem;
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  flex-wrap: wrap;
  line-height: 1.3;
}
.badge-24h {
  background: var(--ember);
  color: oklch(18% 0.04 50);
  font-size: 0.66rem;
  font-weight: 700;
  padding: 0.15rem 0.4rem;
  border-radius: 2px;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.clinic-addr {
  font-size: 0.86rem;
  color: var(--ink-2);
}
.clinic-hours {
  font-size: 0.77rem;
  color: var(--muted);
  font-style: italic;
}
.clinic-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}
.clinic-phone, .clinic-web {
  font-size: 0.82rem;
  color: var(--ember-dk);
  text-decoration: none;
  font-weight: 600;
}
.clinic-phone:hover, .clinic-web:hover { color: var(--ink); }
.clinic-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 0.25rem;
}
.spec-badge {
  background: var(--paper-2);
  border: 1px solid var(--border);
  font-size: 0.71rem;
  padding: 0.1rem 0.4rem;
  border-radius: 2px;
  color: var(--ink-2);
}

/* ── CTA block ──────────────────────────────────────────── */
.cta-block {
  background: var(--ink);
  border-radius: 6px;
  padding: 1.4rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.cta-text {
  color: oklch(82% 0.010 65);
  font-size: 0.94rem;
  line-height: 1.45;
}
.cta-btn {
  background: var(--ember);
  color: oklch(18% 0.04 50);
  padding: 0.65rem 1.35rem;
  border-radius: 3px;
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s;
}
.cta-btn:hover { background: oklch(80% 0.17 58); }

/* ── Guide (poradnik) prose ─────────────────────────────── */
.prose h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.015em;
}
.prose p { margin-bottom: 1rem; font-size: 0.97rem; color: var(--ink-2); }
.prose ul { margin: 0.75rem 0 1rem 1.25rem; }
.prose li { font-size: 0.95rem; color: var(--ink-2); margin-bottom: 0.3rem; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose a { color: var(--ember-dk); text-decoration: none; font-weight: 600; }
.prose a:hover { color: var(--ink); }

/* ── FAQ ────────────────────────────────────────────────── */
.faq-section { margin-top: 1rem; }
.faq-section h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.faq-item { border-top: 1px solid var(--border); }
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-item summary {
  padding: 0.9rem 0;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.1rem;
  font-weight: 300;
  flex-shrink: 0;
  color: var(--muted);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  padding-bottom: 1rem;
  font-size: 0.91rem;
  line-height: 1.65;
  color: var(--ink-2);
}

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
  background: oklch(20% 0.020 55);
  color: oklch(60% 0.014 60);
  padding: 1.5rem;
  text-align: center;
  font-size: 0.81rem;
}
.site-footer a { color: oklch(68% 0.018 62); text-decoration: none; }
.site-footer a:hover { color: oklch(88% 0.012 65); }
.site-footer-sep { margin: 0 0.4rem; opacity: 0.4; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 600px) {
  .content-wrap { padding: 1.4rem 1rem 3rem; }
  .clinic-grid { grid-template-columns: 1fr; }
  .cta-block { flex-direction: column; text-align: center; }
  .page-header h1 { font-size: 1.5rem; }
}
