/*
Theme Name: Zbierański 2026
Theme URI: https://zbieranski.pl/
Author: Zbierański
Description: Szybki, dostępny i mobilny motyw dla trzech placówek PSB Zbierański.
Version: 2.2.0
Requires at least: 6.6
Tested up to: 7.0
Requires PHP: 8.1
Text Domain: zbieranski
*/

:root {
  --zb-ink: #111820;
  --zb-ink-soft: #4c5a68;
  --zb-paper: #f3f7fb;
  --zb-white: #ffffff;
  --zb-line: #d8e2ec;
  --zb-accent: #ffb700;
  --zb-accent-dark: #db9400;
  --zb-focus: #0872d1;
  --zb-blue: #003c89;
  --zb-blue-dark: #00275d;
  --zb-blue-light: #075fae;
  --zb-blue-pale: #eaf2fb;
  --zb-shadow: 0 22px 60px rgba(0, 39, 93, 0.14);
  --zb-radius-sm: 0.75rem;
  --zb-radius: 1.25rem;
  --zb-radius-lg: 2rem;
  --zb-container: 76rem;
  --zb-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--zb-ink);
  background: var(--zb-paper);
  font-family: var(--zb-font);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.nav-open,
body.dialog-open {
  overflow: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

iframe {
  max-width: 100%;
}

a {
  color: var(--zb-blue);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--zb-focus);
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--zb-focus);
  outline-offset: 4px;
}

::selection {
  color: var(--zb-ink);
  background: var(--zb-accent);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.55em;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(2.6rem, 7vw, 5.25rem);
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.75rem);
}

h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
}

p {
  margin: 0 0 1.1rem;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  z-index: 100000;
  top: 0.75rem;
  left: 0.75rem;
  width: auto;
  height: auto;
  padding: 0.8rem 1rem;
  clip: auto;
  color: var(--zb-white);
  background: var(--zb-ink);
}

.zb-container {
  width: min(calc(100% - 2rem), var(--zb-container));
  margin-inline: auto;
}

.zb-narrow {
  width: min(calc(100% - 2rem), 52rem);
  margin-inline: auto;
}

.zb-section {
  padding-block: clamp(4rem, 8vw, 7.5rem);
}

.zb-section--white {
  background: var(--zb-white);
}

.zb-section--dark {
  color: var(--zb-white);
  background: var(--zb-ink);
}

.zb-section--compact {
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
}

.zb-section__head {
  display: grid;
  gap: 1rem;
  align-items: end;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.zb-section__head p {
  max-width: 42rem;
  margin: 0;
  color: var(--zb-ink-soft);
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
}

.zb-section--dark .zb-section__head p {
  color: #cfdaea;
}

.zb-eyebrow {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1rem;
  color: var(--zb-blue);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.zb-eyebrow::before {
  width: 1.9rem;
  height: 0.3rem;
  content: "";
  background: var(--zb-accent);
  border-radius: 999px;
}

.zb-section--dark .zb-eyebrow {
  color: var(--zb-accent);
}

.zb-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.zb-button,
.wp-element-button,
button.zb-button {
  display: inline-flex;
  min-height: 3.25rem;
  gap: 0.55rem;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.15rem;
  color: var(--zb-ink);
  background: var(--zb-accent);
  border: 2px solid var(--zb-accent);
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.zb-button:hover,
.wp-element-button:hover,
button.zb-button:hover {
  color: var(--zb-ink);
  background: #ffe16c;
  border-color: #ffe16c;
  transform: translateY(-2px);
}

.zb-button--dark,
button.zb-button--dark {
  color: var(--zb-white);
  background: var(--zb-ink);
  border-color: var(--zb-ink);
}

.zb-button--dark:hover,
button.zb-button--dark:hover {
  color: var(--zb-white);
  background: var(--zb-blue);
  border-color: var(--zb-blue);
}

.zb-button--ghost,
button.zb-button--ghost {
  color: inherit;
  background: transparent;
  border-color: currentColor;
}

.zb-button--ghost:hover,
button.zb-button--ghost:hover {
  color: var(--zb-ink);
  background: var(--zb-white);
  border-color: var(--zb-white);
}

.zb-button--small,
button.zb-button--small {
  min-height: 2.75rem;
  padding: 0.6rem 0.9rem;
  font-size: 0.9rem;
}

/* Header */
.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  color: var(--zb-ink);
  background: rgba(255, 255, 255, 0.96);
  background: color-mix(in srgb, var(--zb-paper) 94%, transparent);
  border-bottom: 1px solid rgba(0, 60, 137, 0.1);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  display: flex;
  min-height: 5.25rem;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.site-branding {
  display: block;
  flex: 0 1 18rem;
  text-decoration: none;
}

.site-branding__logo {
  width: min(18rem, 46vw);
  height: auto;
}

.custom-logo-link {
  display: block;
  max-width: 18rem;
}

.custom-logo {
  width: auto;
  max-height: 3.25rem;
}

.site-nav {
  display: flex;
  align-items: center;
}

.site-nav ul {
  display: flex;
  gap: clamp(0.2rem, 1.2vw, 1.25rem);
  align-items: center;
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-nav a {
  display: flex;
  min-height: 2.75rem;
  align-items: center;
  padding: 0.45rem 0.65rem;
  color: var(--zb-ink);
  border-radius: 0.6rem;
  font-size: 0.92rem;
  font-weight: 750;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav .current-menu-item > a {
  color: var(--zb-blue);
  background: var(--zb-blue-pale);
}

.site-nav__cta a {
  padding-inline: 1rem;
  background: var(--zb-accent);
  border-radius: 999px;
}

.nav-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  padding: 0;
  place-items: center;
  color: var(--zb-white);
  background: var(--zb-blue);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.nav-toggle__icon {
  position: relative;
  display: grid;
  width: 1.3rem;
  gap: 0.27rem;
}

.nav-toggle__icon span {
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 160ms ease, opacity 160ms ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(1) {
  transform: translateY(0.35rem) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(3) {
  transform: translateY(-0.35rem) rotate(-45deg);
}

/* Hero */
.zb-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 7vw, 6.5rem) clamp(3.5rem, 7vw, 6rem);
  color: var(--zb-white);
  background:
    radial-gradient(circle at 82% 3%, rgba(255, 183, 0, 0.24), transparent 26rem),
    radial-gradient(circle at 8% 100%, rgba(7, 95, 174, 0.72), transparent 32rem),
    linear-gradient(135deg, var(--zb-blue-dark), var(--zb-blue) 62%, #054e9b);
}

.zb-hero::after {
  position: absolute;
  right: -8rem;
  bottom: -15rem;
  width: 35rem;
  height: 35rem;
  content: "";
  border: 5rem solid rgba(255, 255, 255, 0.055);
  border-radius: 50%;
}

.zb-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.zb-hero__copy p {
  max-width: 44rem;
  color: #dbeaff;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.zb-hero__copy strong {
  color: var(--zb-white);
}

.zb-hero__actions {
  margin-top: 2rem;
}

.zb-hero .zb-eyebrow {
  color: var(--zb-white);
}

.zb-hero__media {
  position: relative;
  overflow: hidden;
  min-height: 24rem;
  background: var(--zb-blue-dark);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--zb-radius-lg);
  box-shadow: 0 28px 70px rgba(0, 21, 51, 0.34);
}

.zb-hero__media::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, transparent 52%, rgba(0, 24, 57, 0.54));
}

.zb-hero__media picture,
.zb-hero__media picture img {
  width: 100%;
  height: 100%;
}

.zb-hero__media picture img {
  min-height: 24rem;
  object-fit: cover;
}

.zb-hero__badge {
  position: absolute;
  z-index: 2;
  right: clamp(0.85rem, 2vw, 1.5rem);
  bottom: clamp(0.85rem, 2vw, 1.5rem);
  display: flex;
  max-width: calc(100% - 1.7rem);
  gap: 0.75rem;
  align-items: center;
  padding: 0.65rem 0.95rem 0.65rem 0.55rem;
  color: var(--zb-ink);
  background: rgba(255, 255, 255, 0.95);
  border-radius: 1rem;
  box-shadow: 0 12px 32px rgba(0, 21, 51, 0.25);
}

.zb-hero__badge img {
  flex: 0 0 auto;
  width: 2.55rem;
  height: auto;
}

.zb-hero__badge span,
.zb-hero__badge strong {
  display: block;
}

.zb-hero__badge span {
  color: var(--zb-ink-soft);
  font-size: 0.77rem;
  line-height: 1.35;
}

.zb-hero__badge strong {
  color: var(--zb-ink);
  font-size: 0.93rem;
}

.zb-stats {
  position: relative;
  z-index: 2;
  display: grid;
  margin-top: clamp(2rem, 4vw, 3.5rem);
  color: var(--zb-ink);
  background: var(--zb-white);
  border: 1px solid var(--zb-line);
  border-radius: var(--zb-radius);
  box-shadow: 0 12px 30px rgba(0, 39, 93, 0.07);
}

.zb-stat {
  padding: 1.15rem 1.35rem;
}

.zb-stat + .zb-stat {
  border-top: 1px solid var(--zb-line);
}

.zb-stat strong {
  display: block;
  font-size: 1.15rem;
  line-height: 1.2;
}

.zb-stat span {
  display: block;
  margin-top: 0.25rem;
  color: var(--zb-ink-soft);
  font-size: 0.86rem;
}

/* Cards and locations */
.zb-location-grid,
.zb-card-grid,
.zb-leaflet-grid {
  display: grid;
  gap: 1rem;
}

.zb-location-card,
.zb-card,
.zb-leaflet-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--zb-white);
  border: 1px solid var(--zb-line);
  border-radius: var(--zb-radius);
}

.zb-location-card {
  --zb-card-pad: clamp(1.25rem, 3vw, 2rem);
  overflow: hidden;
}

.zb-location-card::before {
  display: none;
}

.zb-location-card__media {
  aspect-ratio: 1.9 / 1;
  margin: calc(var(--zb-card-pad) * -1) calc(var(--zb-card-pad) * -1) 1.5rem;
  overflow: hidden;
  background: var(--zb-blue-pale);
  border-bottom: 0.38rem solid var(--zb-accent);
}

.zb-location-card--yard .zb-location-card__media {
  border-bottom-color: var(--zb-blue-light);
}

.zb-location-card__media picture,
.zb-location-card__media img {
  width: 100%;
  height: 100%;
}

.zb-location-card__media img {
  object-fit: cover;
}

.zb-location-card__type {
  margin-bottom: 0.5rem;
  color: var(--zb-ink-soft);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.zb-location-card address {
  margin-bottom: 1.2rem;
  color: var(--zb-ink-soft);
  font-style: normal;
}

.zb-location-card__today {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 1.25rem;
  padding: 0.4rem 0.65rem;
  color: var(--zb-blue);
  background: var(--zb-blue-pale);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.zb-location-card__contact {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}

.zb-location-card__contact a {
  display: inline-flex;
  min-height: 2.75rem;
  min-width: 0;
  gap: 0.6rem;
  align-items: center;
  color: var(--zb-ink);
  font-weight: 750;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.zb-location-card__contact a:hover {
  color: var(--zb-focus);
}

.zb-location-card__contact a[href*="facebook.com"]::before {
  display: grid;
  width: 1.45rem;
  height: 1.45rem;
  flex: 0 0 auto;
  place-items: end center;
  padding-top: 0.13rem;
  color: var(--zb-white);
  background: #1877f2;
  border-radius: 50%;
  content: "f";
  font-family: Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1;
}

.zb-location-card .zb-actions {
  margin-top: auto;
}

.zb-icon {
  display: inline-grid;
  flex: 0 0 auto;
  width: 1.3rem;
  height: 1.3rem;
  place-items: center;
}

.zb-icon svg {
  width: 100%;
  height: 100%;
}

.zb-services {
  display: grid;
  gap: 1rem;
}

.zb-service {
  padding: 1.35rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--zb-radius);
}

.zb-service__icon {
  display: grid;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  place-items: center;
  color: var(--zb-ink);
  background: var(--zb-accent);
  border-radius: 0.9rem;
  font-size: 1.3rem;
  font-weight: 900;
}

.zb-service p {
  margin: 0;
  color: #cfdaea;
}

/* Product offer */
.zb-section--offer {
  background:
    linear-gradient(180deg, rgba(234, 242, 251, 0.7), rgba(255, 255, 255, 0.94)),
    var(--zb-white);
}

.zb-offer-grid {
  display: grid;
  gap: 1rem;
}

.zb-offer-card {
  position: relative;
  min-width: 0;
  padding: clamp(1.35rem, 3vw, 2rem);
  overflow: hidden;
  background: var(--zb-white);
  border: 1px solid var(--zb-line);
  border-radius: var(--zb-radius);
  box-shadow: 0 14px 36px rgba(0, 39, 93, 0.07);
}

.zb-offer-card::after {
  position: absolute;
  top: -2.5rem;
  right: -2.5rem;
  width: 7rem;
  height: 7rem;
  content: "";
  background: var(--zb-blue-pale);
  border-radius: 50%;
}

.zb-offer-card__top {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 0.85rem;
  align-items: center;
  margin-bottom: 0.9rem;
}

.zb-offer-card__top > span {
  display: grid;
  width: 2.85rem;
  height: 2.85rem;
  flex: 0 0 auto;
  place-items: center;
  color: var(--zb-ink);
  background: var(--zb-accent);
  border-radius: 0.8rem;
  font-size: 0.88rem;
  font-weight: 900;
}

.zb-offer-card h3 {
  margin: 0;
}

.zb-offer-card > p {
  color: var(--zb-ink-soft);
}

.zb-offer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0;
  margin: 1.35rem 0 0;
  list-style: none;
}

.zb-offer-tags li {
  padding: 0.35rem 0.65rem;
  color: var(--zb-blue-dark);
  background: var(--zb-blue-pale);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.35;
}

.zb-section-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
  margin-top: clamp(1.5rem, 4vw, 3rem);
  padding: 1.1rem 1.25rem;
  background: var(--zb-blue-pale);
  border-left: 0.35rem solid var(--zb-accent);
  border-radius: var(--zb-radius-sm);
}

.zb-section-cta p {
  max-width: 40rem;
  margin: 0;
  font-weight: 700;
}

.zb-page-hero--offer {
  background:
    radial-gradient(circle at 84% 22%, rgba(255, 183, 0, 0.22), transparent 20rem),
    linear-gradient(135deg, var(--zb-blue-dark), var(--zb-blue));
}

.zb-offer-note {
  margin: 2rem 0 0;
  padding: 1rem 1.2rem;
  color: var(--zb-ink-soft);
  background: var(--zb-blue-pale);
  border-radius: var(--zb-radius-sm);
  font-size: 0.9rem;
}

.zb-offer-note--dark {
  color: #dce7f4;
  background: rgba(255, 255, 255, 0.08);
}

.zb-offer-services {
  display: grid;
  gap: 0.75rem;
}

.zb-offer-services article {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--zb-radius-sm);
}

.zb-offer-services article > span {
  color: var(--zb-accent);
  font-weight: 900;
}

.zb-offer-services h3 {
  margin-bottom: 0.35rem;
  font-size: 1.1rem;
}

.zb-offer-services p {
  margin: 0;
  color: #cfdaea;
  font-size: 0.92rem;
}

/* Leaflets */
.zb-promo-feature {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.5rem, 5vw, 4rem);
  color: var(--zb-white);
  background: var(--zb-blue);
  border-radius: var(--zb-radius-lg);
}

.zb-promo-feature__cover,
.zb-leaflet-card__cover {
  position: relative;
  display: grid;
  min-height: 17rem;
  place-items: center;
  overflow: hidden;
  color: var(--zb-ink);
  background: var(--zb-accent);
  border-radius: var(--zb-radius);
}

.zb-promo-feature__cover {
  min-height: 19rem;
  padding: clamp(1.2rem, 4vw, 2.5rem);
  background: var(--zb-white);
}

.zb-promo-feature__cover::before,
.zb-leaflet-card__cover::before {
  position: absolute;
  width: 11rem;
  height: 14rem;
  content: "";
  background: var(--zb-white);
  border-radius: 0.3rem 1rem 1rem 0.3rem;
  box-shadow: 0.85rem 0.85rem 0 rgba(0, 39, 93, 0.18);
  transform: rotate(-5deg);
}

.zb-promo-feature__cover::before {
  display: none;
}

.zb-promo-feature__cover img {
  width: min(100%, 30rem);
  height: auto;
}

.zb-promo-feature__cover--image {
  padding: clamp(1rem, 3vw, 1.8rem);
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 183, 0, 0.2), transparent 28%),
    var(--zb-white);
}

.zb-promo-feature__cover img.zb-promo-feature__image {
  width: auto;
  max-width: 100%;
  max-height: 32rem;
  object-fit: contain;
  background: var(--zb-white);
  border: 1px solid rgba(0, 39, 93, 0.12);
  border-radius: 0.35rem;
  box-shadow: 0 1.2rem 2.6rem rgba(0, 39, 93, 0.18);
}

.zb-promo-feature__cover span,
.zb-leaflet-card__cover span {
  position: relative;
  z-index: 1;
  font-size: 1.6rem;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.zb-promo-feature__cover span {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  padding: 0.45rem 0.7rem;
  color: var(--zb-white);
  background: var(--zb-blue);
  border-radius: 999px;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
}

.zb-promo-feature__copy p {
  color: #d6e2f1;
}

.zb-leaflet-card {
  padding: 0;
  overflow: hidden;
}

.zb-leaflet-card__cover {
  min-height: 14rem;
  border-radius: 0;
}

.zb-leaflet-card__cover--image {
  min-height: 0;
  aspect-ratio: 4 / 5;
  padding: 1rem;
  background: var(--zb-blue-pale);
}

.zb-leaflet-card__cover--image::before {
  display: none;
}

.zb-leaflet-card__cover img.zb-leaflet-card__image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--zb-white);
  border-radius: 0.25rem;
  box-shadow: 0 0.75rem 1.8rem rgba(0, 39, 93, 0.16);
}

.zb-leaflet-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.3rem;
}

.zb-leaflet-card__date {
  margin-bottom: 0.8rem;
  color: var(--zb-ink-soft);
  font-size: 0.85rem;
}

.zb-leaflet-card .zb-actions {
  margin-top: auto;
}

/* Team callout */
.zb-team-callout {
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 4.5rem);
  background: var(--zb-blue-pale);
  border: 1px solid var(--zb-line);
  border-radius: var(--zb-radius-lg);
}

.zb-team-callout__copy p {
  max-width: 42rem;
  color: var(--zb-ink-soft);
}

.zb-team-callout__image {
  align-self: end;
  padding: 0.5rem;
  overflow: hidden;
  background: var(--zb-white);
  border: 1px solid var(--zb-line);
  border-radius: var(--zb-radius);
}

.zb-team-callout__image img {
  width: 100%;
  max-height: 28rem;
  object-fit: contain;
}

/* Timeline */
.zb-timeline {
  display: grid;
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.zb-timeline li {
  position: relative;
  padding: 1.4rem 1.4rem 1.4rem 4.25rem;
  background: var(--zb-white);
  border: 1px solid var(--zb-line);
  border-radius: var(--zb-radius);
}

.zb-timeline__year {
  position: absolute;
  top: 1.25rem;
  left: 1.1rem;
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  color: var(--zb-ink);
  background: var(--zb-accent);
  border-radius: 50%;
  font-size: 0.76rem;
  font-weight: 900;
}

.zb-timeline h3 {
  margin-bottom: 0.35rem;
}

.zb-timeline p {
  margin: 0;
  color: var(--zb-ink-soft);
}

/* Inner pages */
.zb-page-hero {
  padding-block: clamp(3.5rem, 7vw, 6.5rem);
  background:
    radial-gradient(circle at 82% 0, rgba(255, 183, 0, 0.2), transparent 24rem),
    linear-gradient(135deg, var(--zb-blue-dark), var(--zb-blue));
  color: var(--zb-white);
}

.zb-page-hero p {
  max-width: 42rem;
  margin: 1rem 0 0;
  color: #cfdaea;
  font-size: 1.15rem;
}

.zb-page-content {
  padding-block: clamp(3rem, 7vw, 6rem);
}

.zb-entry-content > * {
  max-width: 52rem;
  margin-inline: auto;
}

.zb-entry-content > .alignwide {
  max-width: var(--zb-container);
}

.zb-entry-content > .alignfull {
  max-width: none;
}

.zb-entry-content h2,
.zb-entry-content h3 {
  margin-top: 1.8em;
}

.zb-entry-content ul,
.zb-entry-content ol {
  padding-left: 1.4rem;
}

.zb-entry-content table {
  width: 100%;
  border-collapse: collapse;
}

.zb-entry-content th,
.zb-entry-content td {
  padding: 0.8rem;
  border: 1px solid var(--zb-line);
  text-align: left;
  vertical-align: top;
}

.zb-contact-grid {
  display: grid;
  gap: 1rem;
}

.zb-contact-company {
  padding: clamp(1.4rem, 4vw, 2.5rem);
  color: var(--zb-white);
  background: var(--zb-blue);
  border-radius: var(--zb-radius);
}

.zb-contact-company address {
  font-style: normal;
}

.zb-contact-company a {
  color: var(--zb-white);
}

.zb-hours {
  display: grid;
  gap: 0.35rem;
  padding: 0;
  margin: 1rem 0 1.5rem;
  list-style: none;
}

.zb-hours li {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding-block: 0.4rem;
  border-bottom: 1px solid var(--zb-line);
}

.zb-hours span:last-child {
  font-weight: 750;
  text-align: right;
}

.zb-notice {
  padding: 1rem 1.1rem;
  color: #553f00;
  background: #fff5c7;
  border-left: 0.35rem solid var(--zb-accent-dark);
  border-radius: 0.5rem;
}

.zb-empty-state {
  padding: clamp(2rem, 6vw, 4rem);
  text-align: center;
  background: var(--zb-white);
  border: 1px solid var(--zb-line);
  border-radius: var(--zb-radius);
}

/* Dialogs */
.zb-pdf-dialog,
.zb-consent-dialog {
  width: min(calc(100% - 1.5rem), 72rem);
  max-height: calc(100dvh - 1.5rem);
  padding: 0;
  overflow: hidden;
  background: var(--zb-white);
  border: 0;
  border-radius: var(--zb-radius);
  box-shadow: var(--zb-shadow);
}

.zb-pdf-dialog::backdrop,
.zb-consent-dialog::backdrop {
  background: rgba(6, 13, 9, 0.78);
  backdrop-filter: blur(5px);
}

.zb-dialog__header {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--zb-line);
}

.zb-dialog__header h2 {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.zb-dialog__close {
  display: grid;
  flex: 0 0 auto;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  color: var(--zb-white);
  background: var(--zb-ink);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.zb-pdf-dialog iframe {
  display: block;
  width: 100%;
  height: calc(100dvh - 7rem);
  min-height: 30rem;
  border: 0;
}

/* Consent */
.zb-consent-banner {
  position: fixed;
  z-index: 1000;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: none;
  width: min(calc(100% - 2rem), 44rem);
  padding: 1.15rem;
  margin-left: auto;
  color: var(--zb-white);
  background: var(--zb-ink);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--zb-radius);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.zb-consent-banner.is-visible {
  display: block;
}

.zb-consent-banner h2 {
  margin-bottom: 0.45rem;
  font-size: 1.3rem;
}

.zb-consent-banner p {
  margin-bottom: 1rem;
  color: #d4ddd7;
  font-size: 0.92rem;
}

.zb-consent-banner a {
  color: var(--zb-accent);
}

.zb-consent-banner .zb-actions {
  gap: 0.55rem;
}

.zb-consent-banner .zb-button {
  flex: 1 1 10rem;
}

.zb-consent-dialog {
  width: min(calc(100% - 1.5rem), 38rem);
}

.zb-consent-dialog__body {
  max-height: calc(100dvh - 12rem);
  padding: 1.15rem;
  overflow: auto;
}

.zb-consent-option {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--zb-line);
}

.zb-consent-option p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--zb-ink-soft);
  font-size: 0.9rem;
}

.zb-consent-option input {
  width: 1.35rem;
  height: 1.35rem;
  accent-color: var(--zb-blue);
}

.zb-consent-dialog__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-end;
  padding: 1rem 1.15rem;
  border-top: 1px solid var(--zb-line);
}

/* Footer */
.site-footer {
  color: #d6dfd9;
  background: #091522;
}

.site-footer__grid {
  display: grid;
  gap: 2.5rem;
  padding-block: clamp(3rem, 7vw, 5.5rem);
}

.site-footer h2,
.site-footer h3 {
  color: var(--zb-white);
}

.site-footer a {
  color: #eef4ef;
}

.site-footer ul {
  display: grid;
  gap: 0.55rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-footer__brand p {
  max-width: 28rem;
  color: #aebdcd;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
}

.site-footer__bottom button {
  padding: 0;
  color: var(--zb-accent);
  background: none;
  border: 0;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}

/* Responsive */
@media (min-width: 40rem) {
  .zb-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .zb-stat + .zb-stat {
    border-top: 0;
    border-left: 1px solid var(--zb-line);
  }

  .zb-card-grid,
  .zb-leaflet-grid,
  .zb-services,
  .zb-offer-grid,
  .zb-offer-services {
    grid-template-columns: repeat(2, 1fr);
  }

  .zb-contact-grid {
    grid-template-columns: minmax(0, 2fr) minmax(16rem, 1fr);
  }
}

@media (min-width: 52rem) {
  .zb-section__head {
    grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.8fr);
  }

  .zb-hero__grid,
  .zb-promo-feature {
    grid-template-columns: minmax(0, 1.15fr) minmax(20rem, 0.85fr);
  }

  .zb-team-callout {
    grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 0.95fr);
  }

  .zb-location-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .zb-offer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .zb-timeline {
    grid-template-columns: repeat(3, 1fr);
  }

  .zb-timeline li {
    padding: 5rem 1.5rem 1.5rem;
  }

  .zb-timeline__year {
    top: 1.4rem;
    left: 1.4rem;
    width: 3rem;
    height: 3rem;
  }

  .site-footer__grid {
    grid-template-columns: 1.6fr 1fr 1fr;
  }
}

@media (min-width: 68rem) {
  .zb-card-grid,
  .zb-leaflet-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .zb-services {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 57.99rem) {
  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    height: calc(100dvh - 5.25rem);
    padding: 1rem;
    overflow: auto;
    background: var(--zb-paper);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    display: grid;
    gap: 0.4rem;
  }

  .site-nav a {
    min-height: 3.5rem;
    padding: 0.75rem 1rem;
    background: var(--zb-white);
    border: 1px solid var(--zb-line);
    font-size: 1.05rem;
  }
}

@media (max-width: 34rem) {
  .site-header__inner {
    min-height: 4.75rem;
  }

  .site-branding__logo {
    width: min(15.5rem, 64vw);
  }

  .site-nav {
    height: calc(100dvh - 4.75rem);
  }

  .zb-hero__media,
  .zb-hero__media picture img {
    min-height: 19rem;
  }

  .zb-hero__badge {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
  }

  .zb-button {
    width: 100%;
  }

  .zb-location-card .zb-button,
  .zb-leaflet-card .zb-button,
  .zb-dialog__header .zb-button {
    width: auto;
  }

  .zb-consent-banner {
    right: 0.5rem;
    bottom: 0.5rem;
    left: 0.5rem;
    width: calc(100% - 1rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .zb-consent-banner,
  .zb-actions,
  .nav-toggle {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }
}
