:root {
  --teal: #52bcb4;
  --teal-dark: #3da89f;
  --teal-ink: #14635c;
  --navy: #1a2e4a;
  --text: #1a1a1a;
  --muted: #4a5563;
  --line: rgba(26, 46, 74, 0.1);
  --fill: #f6f8f8;
  --page: #ffffff;
  --cream: #f7f1dc;
  --floor: #f6f3ec;
  --mint: #b5ebe8;
  --yellow: #efd56a;
  --pink: #f4b4c4;
  --blue: #a8d8f0;
  --coral: #f5a8b8;
  --white: #ffffff;
  --max: 1200px;
  --pad: 24px;
  --gap: 24px;
  --radius: 16px;
  --radius-sm: 12px;
  --font: "DM Sans", system-ui, sans-serif;
  --display: "Nunito", "DM Sans", system-ui, sans-serif;
  --bar: 60px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--page);
  padding-bottom: calc(var(--bar) + 16px);
}
@media (min-width: 900px) {
  body { padding-bottom: 0; }
}

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--teal-ink); }

.wrap {
  width: min(var(--max), calc(100% - var(--pad) * 2));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 16px 0 0;
  background: linear-gradient(var(--page) 70%, transparent);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 56px;
  padding: 0 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.site-header__logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}
.site-header__logo img {
  width: 40px;
  height: 40px;
  display: block;
  /* bez filter / brightness / blend — oryginalne kolory pliku */
  filter: none;
}
.site-header__nav {
  display: none;
  flex: 1;
  justify-content: center;
  gap: 4px;
}
.site-header__nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.875rem;
}
.site-header__nav a.is-active,
.site-header__nav a:hover {
  color: var(--navy);
  background: var(--fill);
}
.site-header__actions { margin-left: auto; }
@media (min-width: 900px) {
  .site-header__nav { display: flex; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--navy);
  background: var(--fill);
}
.btn--sm { min-height: 36px; padding: 0 14px; font-size: 0.8rem; }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: #243a5c; color: var(--white); }
.btn--teal { background: var(--teal); color: var(--white); }
.btn--teal:hover { background: var(--teal-dark); color: var(--white); }
.btn--ghost { background: var(--cream); color: var(--navy); }
.btn--ghost:hover { color: var(--navy); }
.btn--block { width: 100%; gap: 8px; }
.btn .ico { width: 18px; height: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ico { width: 20px; height: 20px; flex-shrink: 0; }

/* Sections */
.page-main { padding-top: 8px; }
.section { padding: 40px 0 0; }
.section--page { padding: 32px 0 64px; }
.section--last { padding: 40px 0 64px; }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 20px;
}
.section-head--tight { margin-top: 40px; }
.section-head h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--navy);
}
.section-head a {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--teal-ink);
}
.page-head { margin: 0 0 28px; }
.page-head h1 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--navy);
  line-height: 1.15;
}
.page-head p { margin: 0; color: var(--muted); }

/* Hero */
.hero { padding: 16px 0 8px; }
.hero-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 360px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--floor);
  border: 1px solid var(--line);
}
.hero-banner__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 40px;
}
.hero-banner__headline {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.hero-banner__headline span { display: block; }
.hero-banner__accent { color: var(--teal); }
.hero-banner__lead {
  margin: 0;
  max-width: 28rem;
  color: var(--muted);
  font-size: 1.05rem;
}
.hero-banner__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-banner__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--mint);
  padding: 24px;
}
.hero-banner__visual svg { width: min(100%, 280px); height: auto; }

@media (max-width: 800px) {
  .hero-banner { grid-template-columns: 1fr; min-height: 0; }
  .hero-banner__visual { min-height: 160px; order: -1; }
  .hero-banner__copy { padding: 28px 24px 32px; }
}

/* Cards */
.grid-animals {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
.grid-shelters {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  color: inherit;
  transition: border-color 0.15s ease;
}
.card:hover { border-color: var(--teal); color: inherit; }
.card--shelter { padding: 20px; gap: 8px; }
.card__media {
  aspect-ratio: 1 / 1.05;
  display: grid;
  place-items: center;
  color: var(--navy);
  opacity: 0.7;
}
.card__media--yellow { background: var(--yellow); }
.card__media--pink { background: var(--pink); }
.card__media--mint { background: var(--mint); }
.card__media--blue { background: var(--blue); }
.card__media--cream { background: var(--cream); }
.card__media--coral { background: var(--coral); }
.card__body { padding: 14px 16px 16px; display: grid; gap: 4px; }
.card__eyebrow {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal-ink);
}
.card__title {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--navy);
  line-height: 1.25;
}
.card__meta { margin: 0; font-size: 0.875rem; color: var(--muted); }
.card__mark {
  display: inline-block;
  width: fit-content;
  margin-bottom: 4px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.72rem;
  color: var(--teal-ink);
  border-bottom: 2px solid var(--teal);
}

/* Search / chips */
.search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-bottom: 16px;
}
.search input {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  font: inherit;
  color: var(--text);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--muted);
}
.chip.is-on {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* Listing (OtoMoto / OLX style) */
.listing { padding: 20px 0 64px; }
.listing__crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 20px;
  font-size: 0.85rem;
  color: var(--muted);
}
.listing__crumbs a { color: var(--muted); }
.listing__crumbs a:hover { color: var(--navy); }
.listing__grid {
  display: grid;
  gap: 24px;
  align-items: start;
}
@media (min-width: 960px) {
  .listing__grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.9fr);
    gap: 28px;
  }
  .listing__side { position: sticky; top: 88px; }
}
.listing__main { display: grid; gap: 16px; min-width: 0; }
.listing__side { display: grid; gap: 16px; min-width: 0; }
.listing__gallery {
  position: relative;
  aspect-ratio: 16 / 11;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--navy);
  overflow: hidden;
}
.listing__badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--white);
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.75rem;
  color: var(--navy);
}
.listing__thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.listing__thumb {
  display: block;
  height: 72px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.panel h2 {
  margin: 0 0 16px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--navy);
}
.panel__prose p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.65;
}
.panel__prose p:last-child { margin-bottom: 0; }

.params {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
@media (min-width: 700px) {
  .params { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.params__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: var(--radius-sm);
  background: var(--fill);
}
.params__ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--navy);
  flex-shrink: 0;
}
.params__ico .ico { width: 20px; height: 20px; }
.params__ico--yellow { background: var(--yellow); }
.params__ico--pink { background: var(--pink); }
.params__ico--mint { background: var(--mint); }
.params__ico--blue { background: var(--blue); }
.params__ico--cream { background: var(--cream); }
.params__ico--coral { background: var(--coral); }
.params__ico--teal { background: var(--teal); color: var(--white); }
.params__text { display: grid; gap: 2px; min-width: 0; }
.params__text small {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.params__text strong {
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--navy);
}

.posts { display: grid; gap: 12px; }
.post {
  padding: 16px;
  border-radius: var(--radius-sm);
  background: var(--fill);
  border: 1px solid transparent;
}
.post h3 {
  margin: 8px 0 6px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--navy);
}
.post p { margin: 0 0 8px; color: var(--muted); line-height: 1.55; font-size: 0.95rem; }
.post time { font-size: 0.8rem; color: var(--muted); }
.post__tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.7rem;
  color: var(--navy);
}
.post__tag--mint { background: var(--mint); }
.post__tag--yellow { background: var(--yellow); }
.post__tag--pink { background: var(--pink); }
.post__tag--blue { background: var(--blue); }

.faq { display: grid; gap: 8px; }
.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--fill);
  padding: 0 14px;
}
.faq__item summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 0;
  font-family: var(--display);
  font-weight: 800;
  color: var(--navy);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.55;
}

.offer {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.offer__kicker {
  margin: 0 0 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal-ink);
}
.offer__title {
  margin: 0 0 8px;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  color: var(--navy);
  line-height: 1.15;
}
.offer__lead { margin: 0 0 18px; color: var(--muted); line-height: 1.5; }
.offer__facts {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.offer__facts li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.offer__facts small {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.offer__facts strong {
  font-family: var(--display);
  font-weight: 800;
  color: var(--navy);
}
.offer__actions { display: grid; gap: 10px; }

.offer--loc { background: var(--cream); border-color: transparent; }
.offer__loc-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.offer__loc-head small {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.offer__loc-head strong {
  font-family: var(--display);
  font-weight: 800;
  color: var(--navy);
}
.offer__addr {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}
.offer__map {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 10;
  background: var(--fill);
  margin-bottom: 12px;
}
.offer__map iframe { width: 100%; height: 100%; border: 0; display: block; }
.offer__shelter-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-family: var(--display);
  font-weight: 800;
  color: var(--navy);
}
.offer__trust {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 0;
  font-size: 0.85rem;
  color: var(--teal-ink);
  font-weight: 600;
}
.offer__trust .ico { width: 16px; height: 16px; }

.listing__more { margin-top: 40px; }

.map {
  margin: 0 0 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  max-height: 320px;
  background: var(--fill);
}
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.detail__text { margin: 0 0 20px; color: var(--muted); line-height: 1.6; max-width: 40rem; }

.trust {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}
.trust p { margin: 0; flex: 1 1 100%; max-width: 40rem; }
.trust a {
  font-family: var(--display);
  font-weight: 700;
  color: var(--navy);
}
.trust__sep { color: var(--line); }

.prose h1 {
  margin: 0 0 16px;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--navy);
  line-height: 1.15;
}
.prose p, .prose li {
  color: var(--muted);
  line-height: 1.65;
  font-size: 1.05rem;
}
.prose ol { padding-left: 1.2rem; margin: 0; }
.prose li + li { margin-top: 8px; }

.empty {
  margin: 0;
  padding: 32px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

/* Footer */
.site-footer {
  margin-top: 24px;
  padding: 32px 0 40px;
  border-top: 1px solid var(--line);
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-footer__brand { margin: 0; color: var(--navy); }
.site-footer__brand strong {
  font-family: var(--display);
  font-weight: 800;
}
.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.site-footer__nav a {
  font-size: 0.875rem;
  color: var(--muted);
  font-family: var(--display);
  font-weight: 700;
}
.site-footer__nav a:hover { color: var(--navy); }

.mobile-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 50;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 6px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(26, 46, 74, 0.08);
}
.mobile-bar__item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: var(--radius-sm);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.7rem;
  color: var(--muted);
}
@media (min-width: 900px) {
  .mobile-bar { display: none; }
}
