
/* ===== announce ===== */
.blk-announce .an-bar { display: flex; gap: 16px; align-items: center; justify-content: center; padding: 10px 48px; background: var(--accent); color: #fff; position: relative; text-align: center; }
.blk-announce .an-text { margin: 0; }
.blk-announce .an-close { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: inherit; cursor: pointer; }
.blk-announce .an-pop { max-width: 460px; border: 0; border-radius: var(--radius); padding: 32px 28px 24px; background: var(--surface); color: var(--text); text-align: center; }
.blk-announce .an-pop::backdrop { background: rgba(0,0,0,.55); }
.blk-announce .an-pop .an-text { margin-bottom: 16px; }
.blk-announce .an-pop .an-close { top: 18px; transform: none; }

/* ===== beforeafter ===== */
.blk-beforeafter .ba-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; margin-top: 36px; }
.blk-beforeafter .ba-item { margin: 0; }
.blk-beforeafter .ba { --p: 50%; position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; }
.blk-beforeafter .ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.blk-beforeafter .ba-after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--p)); border-left: 2px solid #fff; }
.blk-beforeafter .ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.blk-beforeafter .ba-tag { position: absolute; bottom: 10px; padding: 3px 10px; border-radius: 99px; background: rgba(0,0,0,.6); color: #fff; font-size: .8rem; pointer-events: none; }
.blk-beforeafter .ba-l { left: 10px; }
.blk-beforeafter .ba-r { right: 10px; }
.blk-beforeafter .ba-cap { margin-top: 10px; color: var(--muted); text-align: center; }

/* ===== blog ===== */
:where(.blk-blog) .post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 24px;
}

:where(.blk-blog) .post-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
}

:where(.blk-blog) .post-img img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

:where(.blk-blog) .post-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 24px 24px;
  flex: 1;
}

:where(.blk-blog) .post-date {
  color: var(--accent);
  font-size: 13.5px;
  font-weight: 600;
}

:where(.blk-blog) .post-title {
  font-size: 20px;
  line-height: 1.3;
}

:where(.blk-blog) .post-title a {
  color: inherit;
  text-decoration: none;
}

:where(.blk-blog) .post-title a:hover {
  text-decoration: underline;
}

:where(.blk-blog) .post-excerpt {
  color: var(--muted);
  font-size: 15px;
  flex: 1;
}

:where(.blk-blog) .post-more {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  margin-top: 6px;
}

:where(.blk-blog) .post-empty {
  color: var(--muted);
  text-align: center;
  padding: 24px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

/* ===== booking ===== */
/* pola, przycisk i komunikaty formularza: wspólne style .contact-form / .f-field w assets/site.css */
:where(.blk-booking) .bk-wrap {
  max-width: 820px;
}

:where(.blk-booking) .bk-form {
  margin-top: 32px;
}

:where(.blk-booking) .bk-times {
  border: 0;
  padding: 0;
  margin: 0;
}

:where(.blk-booking) .bk-times legend {
  margin-bottom: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
}

:where(.blk-booking) .bk-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 24px;
  color: var(--muted);
  font-size: 14.5px;
}

:where(.blk-booking) .bk-slot {
  position: relative;
}

:where(.blk-booking) .bk-slot input {
  position: absolute;
  opacity: 0;
}

:where(.blk-booking) .bk-slot span {
  display: inline-block;
  padding: 9px 14px;
  border-radius: min(10px, var(--radius));
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
}

:where(.blk-booking) .bk-slot input:checked + span {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

:where(.blk-booking) .bk-slot input:focus-visible + span {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

:where(.blk-booking) .bk-slot input:disabled + span {
  opacity: .4;
  text-decoration: line-through;
  cursor: not-allowed;
}

/* ===== calculator ===== */
:where(.blk-calculator) .calc {
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr);
  gap: 28px;
  align-items: start;
}

:where(.blk-calculator) .calc-panel {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: clamp(24px,3.4vw,40px);
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.015)),var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 30px 70px -40px rgba(0,0,0,.7);
}

:where(.blk-calculator) .calc-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

:where(.blk-calculator) .calc-label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -.01em;
}

:where(.blk-calculator) .calc-hint {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}

/* Segmented: typ działalności */
:where(.blk-calculator) .calc-seg {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(130px,1fr));
  gap: 6px;
  padding: 6px;
  border-radius: 16px;
  background: rgba(0,0,0,.28);
  border: 1px solid var(--border);
}

:where(.blk-calculator) .calc-kind {
  appearance: none;
  border: 0;
  cursor: pointer;
  min-height: 50px;
  padding: 10px 14px;
  border-radius: 11px;
  background: transparent;
  color: var(--muted);
  font: 600 14.5px/1.25 var(--font-head);
  transition: background .3s var(--ease),color .3s,box-shadow .3s,transform .2s;
}

:where(.blk-calculator) .calc-kind:hover {
  color: var(--text);
  background: rgba(255,255,255,.05);
}

:where(.blk-calculator) .calc-kind.on {
  background: linear-gradient(135deg,var(--accent),color-mix(in srgb,var(--accent) 70%,#000));
  color: #fff;
  box-shadow: 0 10px 24px -10px color-mix(in srgb,var(--accent) 90%,transparent),inset 0 1px 0 rgba(255,255,255,.18);
}

:where(.blk-calculator) .calc-kind:active {
  transform: scale(.98);
}

:where(.blk-calculator) .calc-kind:focus-visible,
:where(.blk-calculator) .calc-stepper button:focus-visible,
:where(.blk-calculator) .calc-more summary:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
}

/* Dokumenty: suwak + pole */
:where(.blk-calculator) .calc-docs {
  display: flex;
  align-items: center;
  gap: 18px;
}

:where(.blk-calculator) .calc-range {
  --p: 0%;
  flex: 1;
  min-width: 0;
  height: 28px;
  margin: 0;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

:where(.blk-calculator) .calc-range::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 99px;
  background: linear-gradient(90deg,var(--accent-2),var(--accent)) 0/var(--p) 100% no-repeat,rgba(255,255,255,.1);
}

:where(.blk-calculator) .calc-range::-moz-range-track {
  height: 8px;
  border-radius: 99px;
  background: rgba(255,255,255,.1);
}

:where(.blk-calculator) .calc-range::-moz-range-progress {
  height: 8px;
  border-radius: 99px;
  background: linear-gradient(90deg,var(--accent-2),var(--accent));
}

:where(.blk-calculator) .calc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  margin-top: -9px;
  border-radius: 50%;
  background: #fff;
  border: 6px solid var(--accent);
  box-shadow: 0 0 0 6px color-mix(in srgb,var(--accent) 25%,transparent),0 6px 16px rgba(0,0,0,.45);
  transition: box-shadow .25s,transform .2s;
}

:where(.blk-calculator) .calc-range::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 6px solid var(--accent);
  box-shadow: 0 0 0 6px color-mix(in srgb,var(--accent) 25%,transparent),0 6px 16px rgba(0,0,0,.45);
}

:where(.blk-calculator) .calc-range:hover::-webkit-slider-thumb {
  box-shadow: 0 0 0 9px color-mix(in srgb,var(--accent) 30%,transparent),0 6px 16px rgba(0,0,0,.45);
}

:where(.blk-calculator) .calc-range:active::-webkit-slider-thumb {
  transform: scale(1.1);
}

:where(.blk-calculator) .calc-range:focus-visible {
  outline: none;
}

:where(.blk-calculator) .calc-range:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 9px color-mix(in srgb,var(--accent-2) 45%,transparent);
}

:where(.blk-calculator) .calc-num {
  width: 104px;
  padding: 13px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,.28);
  color: var(--text);
  font: 700 18px var(--font-head);
  text-align: center;
  transition: border-color .25s,box-shadow .25s;
  -moz-appearance: textfield;
}

:where(.blk-calculator) .calc-num::-webkit-outer-spin-button,
:where(.blk-calculator) .calc-num::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

:where(.blk-calculator) .calc-num:focus {
  outline: none;
  border-color: var(--accent-2);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

:where(.blk-calculator) .calc-num::placeholder {
  color: var(--muted);
  opacity: .7;
}

/* Stepper pracowników */
:where(.blk-calculator) .calc-stepper {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 6px;
  padding: 6px;
  border-radius: 16px;
  background: rgba(0,0,0,.28);
  border: 1px solid var(--border);
}

:where(.blk-calculator) .calc-stepper button {
  appearance: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 11px;
  cursor: pointer;
  background: rgba(255,255,255,.06);
  color: var(--text);
  transition: background .25s,transform .2s;
}

:where(.blk-calculator) .calc-stepper button:hover {
  background: var(--accent);
}

:where(.blk-calculator) .calc-stepper button:active {
  transform: scale(.92);
}

:where(.blk-calculator) .calc-stepper output {
  min-width: 64px;
  text-align: center;
  font: 700 22px var(--font-head);
}

/* Doprecyzowanie płac */
:where(.blk-calculator) .calc-more {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(0,0,0,.18);
  overflow: hidden;
}

:where(.blk-calculator) .calc-more summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
  font: 600 15px var(--font-head);
  color: var(--accent-2);
}

:where(.blk-calculator) .calc-more summary::-webkit-details-marker {
  display: none;
}

:where(.blk-calculator) .calc-more summary .ic {
  transition: transform .3s var(--ease);
}

:where(.blk-calculator) .calc-more[open] summary .ic {
  transform: rotate(180deg);
}

:where(.blk-calculator) .calc-more-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 0 20px 20px;
}

:where(.blk-calculator) .calc-more-body .calc-label {
  font-size: 14.5px;
}

/* Przełącznik ZUS DRA */
:where(.blk-calculator) .calc-check {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  font-weight: 500;
  font-size: 15px;
}

:where(.blk-calculator) .calc-check[hidden] {
  display: none;
}

:where(.blk-calculator) .calc-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

:where(.blk-calculator) .calc-switch {
  position: relative;
  flex: none;
  width: 48px;
  height: 28px;
  border-radius: 99px;
  background: rgba(255,255,255,.14);
  transition: background .3s;
}

:where(.blk-calculator) .calc-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.4);
  transition: transform .3s var(--ease);
}

:where(.blk-calculator) .calc-check input:checked+.calc-switch {
  background: var(--accent);
}

:where(.blk-calculator) .calc-check input:checked+.calc-switch::after {
  transform: translateX(20px);
}

:where(.blk-calculator) .calc-check input:focus-visible+.calc-switch {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
}

/* Panel wyniku */
:where(.blk-calculator) .calc-result {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: clamp(24px,3.2vw,38px);
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  background: radial-gradient(120% 90% at 100% 0%,color-mix(in srgb,var(--accent) 38%,transparent),transparent 62%),linear-gradient(180deg,color-mix(in srgb,var(--accent) 14%,var(--surface)),var(--surface));
  border: 1px solid color-mix(in srgb,var(--accent) 50%,transparent);
  box-shadow: 0 40px 80px -40px color-mix(in srgb,var(--accent) 70%,transparent);
}

:where(.blk-calculator) .calc-out {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

:where(.blk-calculator) .calc-badge {
  align-self: flex-start;
  padding: 6px 13px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent-2);
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb,var(--accent) 45%,transparent);
}

:where(.blk-calculator) .calc-pkg {
  font-size: clamp(22px,2.4vw,28px);
}

:where(.blk-calculator) .calc-sub {
  color: var(--muted);
  font-size: 14.5px;
  margin-top: -8px;
}

:where(.blk-calculator) .calc-total {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px 12px;
  padding-block: 6px 4px;
}

:where(.blk-calculator) .calc-total strong {
  font-family: var(--font-head);
  font-size: clamp(52px,6vw,72px);
  line-height: 1;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

:where(.blk-calculator) .calc-total span {
  color: var(--muted);
  font-size: 15px;
}

:where(.blk-calculator) .calc-lines {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

:where(.blk-calculator) .calc-lines li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(255,255,255,.1);
  font-size: 14.5px;
}

:where(.blk-calculator) .calc-lines li span {
  color: var(--muted);
}

:where(.blk-calculator) .calc-lines li b {
  flex: none;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

:where(.blk-calculator) .calc-lines li b.incl {
  color: var(--accent-2);
  font-weight: 600;
}

:where(.blk-calculator) .calc-empty {
  color: var(--muted);
}

/* Porównanie pakietów */
:where(.blk-calculator) .calc-compare {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 6px;
}

:where(.blk-calculator) .calc-compare h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}

:where(.blk-calculator) .calc-bar {
  display: grid;
  grid-template-columns: 78px 1fr auto;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
}

:where(.blk-calculator) .calc-bar .n {
  font-weight: 600;
  color: var(--muted);
}

:where(.blk-calculator) .calc-bar .t {
  height: 8px;
  border-radius: 99px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
}

:where(.blk-calculator) .calc-bar .t i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: rgba(255,255,255,.28);
  transition: width .5s var(--ease);
}

:where(.blk-calculator) .calc-bar .v {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  min-width: 74px;
  text-align: right;
}

:where(.blk-calculator) .calc-bar.best .n,
:where(.blk-calculator) .calc-bar.best .v {
  color: var(--accent-2);
}

:where(.blk-calculator) .calc-bar.best .t i {
  background: linear-gradient(90deg,var(--accent),var(--accent-2));
  box-shadow: 0 0 14px color-mix(in srgb,var(--accent-2) 60%,transparent);
}

:where(.blk-calculator) .calc-next {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

:where(.blk-calculator) .calc-intro {
  color: var(--muted);
  font-size: 14.5px;
}

:where(.blk-calculator) .calc-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

:where(.blk-calculator) .calc-btns .btn {
  width: 100%;
}

:where(.blk-calculator) .calc-note {
  max-width: 820px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 13.5px;
}

@media(max-width:960px) {
  :where(.blk-calculator) .calc {
    grid-template-columns: 1fr;
  }
  :where(.blk-calculator) .calc-result {
    position: static;
  }
}

@media(max-width:520px) {
  :where(.blk-calculator) .calc-docs {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  :where(.blk-calculator) .calc-num {
    width: 100%;
  }
  :where(.blk-calculator) .calc-bar {
    grid-template-columns: 64px 1fr auto;
  }
}

/* ===== categories ===== */
:where(.blk-categories) .ct-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; margin-top: 36px; }
:where(.blk-categories) .ct-item { position: relative; overflow: hidden; border-radius: var(--radius); }
:where(.blk-categories) .ct-media { aspect-ratio: 1; background: var(--surface); }
:where(.blk-categories) .ct-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; }
:where(.blk-categories) .ct-item:hover .ct-img { transform: scale(1.05); }
/* domyślnie: napis wersalikami na środku przyciemnionego zdjęcia */
:where(.blk-categories) .ct-body { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 24px; text-align: center; color: #fff; background: rgba(0,0,0,.32); transition: background .3s; }
:where(.blk-categories) .ct-item:hover .ct-body { background: rgba(0,0,0,.45); }
:where(.blk-categories) .ct-title { margin: 0; font-size: clamp(26px, 3vw, 40px); text-transform: uppercase; letter-spacing: .14em; color: #fff; }
:where(.blk-categories) .ct-sub { text-transform: uppercase; letter-spacing: .3em; font-size: 14px; }
:where(.blk-categories) .ct-text { display: none; }
:where(.blk-categories) .ct-link { margin-top: 18px; color: #fff; text-decoration: none; font-size: 13px; letter-spacing: .14em; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
/* karty: zdjęcie, pod nim nazwa i link na pasku */
:where(.blk-categories.ly-karty) .ct-item { border: 1px solid var(--border); background: var(--bg); }
:where(.blk-categories.ly-karty) .ct-media { aspect-ratio: 4 / 3; }
:where(.blk-categories.ly-karty) .ct-body { position: static; background: none; color: var(--text); align-items: flex-start; text-align: left; padding: 18px 20px; gap: 2px; }
:where(.blk-categories.ly-karty) .ct-item:hover .ct-body { background: none; }
:where(.blk-categories.ly-karty) .ct-title { font-size: 18px; letter-spacing: .04em; color: var(--text); }
:where(.blk-categories.ly-karty) .ct-sub { letter-spacing: 0; text-transform: none; color: var(--muted); }
:where(.blk-categories.ly-karty) .ct-link { margin-top: 10px; color: var(--accent-2); }
/* rzędy: duże zdjęcie i opis obok, co drugi rząd odwrócony */
:where(.blk-categories.ly-rzedy) .ct-grid { grid-template-columns: 1fr; gap: clamp(32px, 5vw, 72px); }
:where(.blk-categories.ly-rzedy) .ct-item { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; overflow: visible; }
:where(.blk-categories.ly-rzedy) .ct-item:nth-child(even) { grid-template-columns: 1fr 1.2fr; }
:where(.blk-categories.ly-rzedy) .ct-item:nth-child(even) .ct-media { order: 2; }
:where(.blk-categories.ly-rzedy) .ct-media { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; }
:where(.blk-categories.ly-rzedy) .ct-body { position: static; background: none; color: var(--text); align-items: flex-start; text-align: left; padding: 0; gap: 10px; }
:where(.blk-categories.ly-rzedy) .ct-item:hover .ct-body { background: none; }
:where(.blk-categories.ly-rzedy) .ct-title { color: var(--text); text-transform: none; letter-spacing: -.01em; font-size: clamp(30px, 3.6vw, 48px); }
:where(.blk-categories.ly-rzedy) .ct-sub { color: var(--accent-2); font-size: 12px; order: -1; }
:where(.blk-categories.ly-rzedy) .ct-text { display: block; color: var(--muted); margin: 0; max-width: 460px; }
:where(.blk-categories.ly-rzedy) .ct-link { color: var(--accent-2); }
@media (max-width: 760px) {
  :where(.blk-categories.ly-rzedy) .ct-item, :where(.blk-categories.ly-rzedy) .ct-item:nth-child(even) { grid-template-columns: 1fr; }
  :where(.blk-categories.ly-rzedy) .ct-item:nth-child(even) .ct-media { order: 0; }
}

/* ===== columns ===== */
:where(.blk-columns) .cols {
  display: grid;
  gap: 32px;
  align-items: start;
}

:where(.blk-columns) .cols.gap-none { gap: 0; }
:where(.blk-columns) .cols.gap-sm { gap: 16px; }
:where(.blk-columns) .cols.gap-lg { gap: 64px; }
:where(.blk-columns) .cols.va-center { align-items: center; }
:where(.blk-columns) .cols.va-end { align-items: end; }
:where(.blk-columns) .cols.va-stretch { align-items: stretch; }

:where(.blk-columns) .col {
  min-width: 0;
}

/* sekcja w kolumnie: bez własnej szerokości strony i z mniejszym odstępem niż na całej stronie */
:where(.blk-columns) .col > .blk .container {
  max-width: none;
  padding-inline: 0;
}

:where(.blk-columns) .col > .pad-md { padding-block: clamp(20px, 3vw, 40px); }
:where(.blk-columns) .col > .pad-lg { padding-block: clamp(32px, 5vw, 64px); }
:where(.blk-columns) .col > .pad-sm { padding-block: 16px; }

@media (max-width: 1024px) {
  :where(.blk-columns) .cols.stack-tablet { grid-template-columns: 1fr !important; }
}

@media (max-width: 700px) {
  :where(.blk-columns) .cols { grid-template-columns: 1fr !important; }
}

/* ===== contact ===== */
:where(.blk-contact) .contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(32px,6vw,80px);
  align-items: start;
}

:where(.blk-contact) .contact-grid.reverse {
  grid-template-columns: 1.05fr 1fr;
}

:where(.blk-contact) .contact-grid.reverse .contact-copy {
  order: 2;
}

:where(.blk-contact) .contact-grid.reverse .contact-form {
  order: 1;
}

:where(.blk-contact) .contact-copy .sec-head {
  margin-bottom: 36px;
}

:where(.blk-contact) .contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

:where(.blk-contact) .contact-info li {
  display: flex;
  align-items: center;
  gap: 18px;
}

:where(.blk-contact) .ci-text {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}

:where(.blk-contact) .ci-text small {
  color: var(--muted);
  font-size: 13px;
}

:where(.blk-contact) .ci-text strong {
  font-weight: 600;
  font-size: 16px;
}

/* pola, przycisk i komunikaty formularza: wspólne style .contact-form / .f-field w assets/site.css */

@media(max-width:900px) {
  :where(.blk-contact) .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== countdown ===== */
.blk-countdown .cd-wrap { text-align: center; }
.blk-countdown .cd-row { display: flex; gap: 14px; justify-content: center; margin: 28px 0; font-size: 1.1rem; }
.blk-countdown .cd-box { min-width: 86px; padding: 16px 10px; } /* tło i ramka z .card motywu */
.blk-countdown .cd-box b { display: block; font-size: 2.2rem; font-family: var(--font-head); color: var(--accent-2); }
.blk-countdown .cd-box span { color: var(--muted); font-size: .85rem; }

/* ===== cta ===== */
:where(.blk-cta) .cta-box {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding: clamp(36px,6vw,72px);
  border-radius: calc(var(--radius) + 10px);
  border: 1px solid color-mix(in srgb,var(--accent) 40%,transparent);
  background: var(--surface) center/cover no-repeat;
  box-shadow: 0 40px 90px -40px rgba(0,0,0,.8);
}

:where(.blk-cta) .cta-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 620px;
}

:where(.blk-cta) .cta-title {
  font-size: clamp(28px,3.8vw,44px);
  color: #fff;
}

:where(.blk-cta) .cta-text {
  color: rgba(255,255,255,.86);
  font-size: 17px;
}

:where(.blk-cta) .cta-box .btn-ghost {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.45);
  color: #fff;
}

:where(.blk-cta) .cta-box .btn-ghost:hover {
  background: rgba(255,255,255,.2);
  border-color: #fff;
}

/* ===== downloads ===== */
.blk-downloads .dl-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; max-width: 760px; }
.blk-downloads .dl-item { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 18px; } /* tło i ramka z .card motywu */
.blk-downloads .dl-link { display: flex; gap: 12px; align-items: center; color: inherit; font-weight: 600; text-decoration: none; }
.blk-downloads .dl-link:hover { color: var(--accent-2); }
.blk-downloads .dl-note { color: var(--muted); white-space: nowrap; }

/* ===== events ===== */
.blk-events .ev-list { display: grid; gap: 16px; max-width: 860px; margin: 36px auto 0; }
.blk-events .ev-card { display: flex; gap: 24px; align-items: flex-start; }
.blk-events .ev-date { min-width: 84px; text-align: center; padding: 10px; border-radius: var(--radius); background: var(--accent); color: #fff; }
.blk-events .ev-date b { display: block; font-size: 1.8rem; line-height: 1; }
.blk-events .ev-date span { font-size: .8rem; }
.blk-events .ev-title { margin: 0 0 4px; }
.blk-events .ev-meta { color: var(--muted); margin: 0 0 8px; }
.blk-events .ev-empty { color: var(--muted); text-align: center; }
.blk-events .ev-text { margin: 0 0 12px; }
@media (max-width: 560px) { .blk-events .ev-card { flex-direction: column; } }

/* ===== faq ===== */
:where(.blk-faq) .faq-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(32px,6vw,88px);
  align-items: start;
}

:where(.blk-faq) .faq-grid .sec-head {
  margin-bottom: 0;
  position: sticky;
  top: 110px;
}

:where(.blk-faq) .faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

:where(.blk-faq) .faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: border-color .3s,background .3s;
}

:where(.blk-faq) .faq-item[open],
:where(.blk-faq) .faq-item.is-open {
  border-color: color-mix(in srgb,var(--accent) 50%,transparent);
}

:where(.blk-faq) .faq-sum {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 18px;
}

:where(.blk-faq) .faq-sum::-webkit-details-marker {
  display: none;
}

:where(.blk-faq) .faq-plus {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-2);
  flex: none;
  transition: transform .35s var(--ease),background .3s;
}

:where(.blk-faq) .faq-item[open] .faq-plus {
  transform: rotate(45deg);
  background: var(--accent);
  color: #fff;
}

:where(.blk-faq) .faq-body {
  padding: 0 26px 24px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.7;
}

:where(.blk-faq) .faq-item[open] .faq-body {
  animation: faqIn .35s var(--ease);
}

:where(.blk-faq) .faq-list.variant-accordion {
  gap: 0;
  border-top: 1px solid var(--border);
}

:where(.blk-faq) .faq-acc-item {
  border: none;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
  overflow: hidden;
  transition: border-color .25s,background .25s;
}

:where(.blk-faq) .faq-acc-item[open],
:where(.blk-faq) .faq-acc-item.is-open {
  border-bottom-color: color-mix(in srgb,var(--accent) 50%,var(--border));
}

:where(.blk-faq) .faq-acc-sum {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 4px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 18px;
  color: var(--text);
  transition: color .2s;
}

:where(.blk-faq) .faq-acc-sum:hover {
  color: var(--accent-2);
}

:where(.blk-faq) .faq-acc-sum::-webkit-details-marker {
  display: none;
}

:where(.blk-faq) .faq-acc-arrow {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--muted);
  transition: transform .3s var(--ease),color .3s,background .3s;
  flex: none;
}

:where(.blk-faq) .faq-acc-item:hover .faq-acc-arrow {
  color: var(--text);
}

:where(.blk-faq) .faq-acc-item[open] .faq-acc-arrow {
  transform: rotate(180deg);
  color: var(--accent-2);
  background: var(--accent-soft);
}

:where(.blk-faq) .faq-acc-body {
  padding: 0 4px 22px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.75;
}

:where(.blk-faq) .faq-acc-item[open] .faq-acc-body {
  animation: faqIn .35s var(--ease);
}

:where(.blk-faq) .faq-grid.layout-stacked {
  display: flex;
  flex-direction: column;
  max-width: 880px;
  margin-inline: auto;
}

:where(.blk-faq) .faq-grid.layout-stacked .sec-head {
  margin-inline: auto;
  text-align: center;
  align-items: center;
  position: static;
  margin-bottom: 36px;
}

:where(.blk-faq) .faq-grid.layout-stacked .faq-list {
  width: 100%;
}

@keyframes faqIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}

@media(max-width:900px) {
  :where(.blk-faq) .faq-grid {
    grid-template-columns: 1fr;
  }
  :where(.blk-faq) .faq-grid .sec-head {
    position: static;
  }
}

/* ===== footer ===== */
.blk-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding-top: clamp(56px,7vw,88px);
}

:where(.blk-footer) .ft-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(2,1fr);
  gap: 48px;
  padding-bottom: 56px;
}

:where(.blk-footer) .ft-grid:has(.ft-col:nth-child(4)) {
  grid-template-columns: 1.6fr repeat(3,1fr);
}

:where(.blk-footer) .ft-brand {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 380px;
}

:where(.blk-footer) .ft-about {
  color: var(--muted);
  font-size: 15px;
}

:where(.blk-footer) .ft-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--muted);
  font-size: 15px;
}

:where(.blk-footer) .ft-contact span {
  display: flex;
  align-items: center;
  gap: 10px;
}

:where(.blk-footer) .ft-contact .ic {
  color: var(--accent-2);
}

:where(.blk-footer) .ft-title {
  font-size: 15px;
  margin-bottom: 18px;
  letter-spacing: 0;
}

:where(.blk-footer) .ft-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

:where(.blk-footer) .ft-col a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  transition: color .2s;
}

:where(.blk-footer) .ft-col a:hover {
  color: var(--accent-2);
}

:where(.blk-footer) .ft-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}

:where(.blk-footer) .ft-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
}

@media(max-width:800px) {
  :where(.blk-footer) .ft-grid,
  :where(.blk-footer) .ft-grid:has(.ft-col:nth-child(4)) {
    grid-template-columns: 1fr 1fr;
  }
  :where(.blk-footer) .ft-brand {
    grid-column: 1/-1;
  }
}

/* ===== form ===== */
/* pola formularza: wspólne style .contact-form / .f-field / .f-check w assets/site.css */
.blk-form .fm-wrap { max-width: 760px; }
.blk-form .contact-form { margin-top: 32px; }

/* ===== gallery ===== */
:where(.blk-gallery) .gal-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}

:where(.blk-gallery) .gal-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

:where(.blk-gallery) .gal-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

:where(.blk-gallery) .gal-item {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

:where(.blk-gallery) .gal-open {
  display: block;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  border-radius: var(--radius);
  overflow: hidden;
}

:where(.blk-gallery) .gal-open:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

:where(.blk-gallery) .gal-img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform .4s ease;
}

:where(.blk-gallery) .gal-open:hover .gal-img {
  transform: scale(1.04);
}

:where(.blk-gallery) figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

:where(.blk-gallery) .gal-text {
  color: var(--muted);
  font-size: 14.5px;
}

:where(.blk-gallery) .gal-lb {
  max-width: min(92vw, 1400px);
  max-height: 92vh;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}

:where(.blk-gallery) .gal-lb::backdrop {
  background: rgba(0, 0, 0, .88);
}

:where(.blk-gallery) .gal-lb img {
  display: block;
  max-width: 100%;
  max-height: 84vh;
  margin: 0 auto;
  border-radius: 8px;
}

:where(.blk-gallery) .gal-lb-cap {
  color: #fff;
  text-align: center;
  margin-top: 12px;
}

:where(.blk-gallery) .gal-lb-btn {
  position: fixed;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

:where(.blk-gallery) .gal-lb-btn:hover,
:where(.blk-gallery) .gal-lb-btn:focus-visible {
  background: rgba(255, 255, 255, .3);
}

:where(.blk-gallery) .gal-prev {
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
}

:where(.blk-gallery) .gal-next {
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}

:where(.blk-gallery) .gal-close {
  right: 16px;
  top: 16px;
}

:where(.blk-gallery) .gal-lb.single .gal-prev,
:where(.blk-gallery) .gal-lb.single .gal-next {
  display: none;
}

@media (max-width: 900px) {
  :where(.blk-gallery) .gal-grid.cols-3,
  :where(.blk-gallery) .gal-grid.cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  :where(.blk-gallery) .gal-grid.cols-2,
  :where(.blk-gallery) .gal-grid.cols-3,
  :where(.blk-gallery) .gal-grid.cols-4 {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  :where(.blk-gallery) .gal-img {
    transition: none;
  }
}

/* ===== header ===== */
.blk-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: 0;
}

:where(.blk-header) .nav-wrap {
  display: flex;
  justify-content: center;
  padding: 16px 16px 0;
}

:where(.blk-header) .nav {
  position: relative;
  width: 100%;
  max-width: 1080px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 10px 10px 10px 20px;
  border-radius: 18px;
  background: color-mix(in srgb,var(--bg) 90%,transparent);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid var(--border);
  box-shadow: 0 16px 44px -18px var(--shadow-nav,rgba(0,0,0,.45));
}

:where(.blk-header) .nav-wrap.layout-fullwidth {
  padding: 0;
}

:where(.blk-header) .nav-wrap.layout-fullwidth .nav {
  max-width: 100vw;
  border-radius: 0;
  border-color: transparent transparent var(--border) transparent;
}

:where(.blk-header) .nav-wrap.layout-minimal .nav {
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

:where(.blk-header) .nav-wrap.layout-centered .nav {
  justify-content: center;
}

:where(.blk-header) .nav-wrap.layout-centered .brand {
  margin-right: auto;
}

:where(.blk-header) .nav-wrap.layout-centered .nav-links {
  margin-left: 0;
  margin-right: auto;
}

:where(.blk-header) .nav-wrap.layout-pill .nav {
  border-radius: 50px;
  padding-left: 30px;
  padding-right: 20px;
}

:where(.blk-header) .nav-wrap.layout-compact .nav {
  max-width: 800px;
  padding: 6px 16px;
}

:where(.blk-header) .nav-wrap.layout-dark .nav {
  background: rgba(0,0,0,0.85);
  border-color: rgba(255,255,255,0.1);
  color: #fff;
}

:where(.blk-header) .nav-wrap.layout-dark .nav-links a,
:where(.blk-header) .nav-wrap.layout-dark .mega-toggle {
  color: #ccc;
}

:where(.blk-header) .nav-wrap.layout-dark .nav-links a:hover,
:where(.blk-header) .nav-wrap.layout-dark .mega-toggle:hover {
  color: #fff;
  background: rgba(255,255,255,0.1);
}

:where(.blk-header) .nav-wrap.layout-dark .brand {
  color: #fff;
}

:where(.blk-header) .nav-wrap.layout-glow .nav {
  box-shadow: 0 10px 40px -10px var(--accent);
  border-color: color-mix(in srgb, var(--accent) 30%, transparent);
}

:where(.blk-header) .nav-wrap.layout-border-bottom {
  padding: 0;
}

:where(.blk-header) .nav-wrap.layout-border-bottom .nav {
  background: transparent;
  border-color: transparent transparent var(--border) transparent;
  border-radius: 0;
  box-shadow: none;
  max-width: 100vw;
}

:where(.blk-header) .nav-wrap.layout-heavy-glass .nav {
  background: rgba(255,255,255,0.02);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  backdrop-filter: blur(40px) saturate(200%);
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 20px 50px -10px rgba(0,0,0,0.8);
}

:where(.blk-header) .nav-wrap.layout-floating-shadow .nav {
  box-shadow: 0 25px 60px -15px rgba(0,0,0,0.9);
  transform: translateY(5px);
}

:where(.blk-header) .nav-wrap.layout-sharp .nav {
  border-radius: 0;
}

:where(.blk-header) .nav-wrap.layout-uppercase .nav-links a,
:where(.blk-header) .nav-wrap.layout-uppercase .mega-toggle {
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
}

:where(.blk-header) .nav-wrap.hover-underline .nav-links a {
  position: relative;
  background: transparent !important;
}

:where(.blk-header) .nav-wrap.hover-underline .nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: 0.3s ease;
  transform: translateX(-50%);
}

:where(.blk-header) .nav-wrap.hover-underline .nav-links a:hover::after {
  width: calc(100% - 28px);
}

:where(.blk-header) .nav-wrap.hover-slide-line .nav-links a {
  position: relative;
  background: transparent !important;
  overflow: hidden;
}

:where(.blk-header) .nav-wrap.hover-slide-line .nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px;
  width: calc(100% - 28px);
  height: 2px;
  background: var(--accent);
  transform: translateX(-101%);
  transition: 0.3s ease;
}

:where(.blk-header) .nav-wrap.hover-slide-line .nav-links a:hover::after {
  transform: translateX(0);
}

:where(.blk-header) .nav-wrap.hover-lift .nav-links a {
  transition: transform 0.3s ease, color 0.3s ease;
  background: transparent !important;
}

:where(.blk-header) .nav-wrap.hover-lift .nav-links a:hover {
  transform: translateY(-3px);
  color: var(--accent);
}

:where(.blk-header) .nav-wrap.hover-glow .nav-links a {
  transition: 0.3s;
  background: transparent !important;
}

:where(.blk-header) .nav-wrap.hover-glow .nav-links a:hover {
  color: #fff;
  text-shadow: 0 0 10px var(--accent), 0 0 20px var(--accent);
}

:where(.blk-header) .nav-wrap.hover-bg-up .nav-links a {
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: transparent !important;
}

:where(.blk-header) .nav-wrap.hover-bg-up .nav-links a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: var(--accent);
  transition: 0.3s ease;
  z-index: -1;
  border-radius: 10px;
}

:where(.blk-header) .nav-wrap.hover-bg-up .nav-links a:hover {
  color: #fff;
}

:where(.blk-header) .nav-wrap.hover-bg-up .nav-links a:hover::before {
  height: 100%;
}

:where(.blk-header) .nav-wrap.hover-brackets .nav-links a {
  background: transparent !important;
  position: relative;
}

:where(.blk-header) .nav-wrap.hover-brackets .nav-links a::before {
  content: '[';
  position: absolute;
  left: 4px;
  opacity: 0;
  transition: 0.3s;
  transform: translateX(10px);
  color: var(--accent);
}

:where(.blk-header) .nav-wrap.hover-brackets .nav-links a::after {
  content: ']';
  position: absolute;
  right: 4px;
  opacity: 0;
  transition: 0.3s;
  transform: translateX(-10px);
  color: var(--accent);
}

:where(.blk-header) .nav-wrap.hover-brackets .nav-links a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

:where(.blk-header) .nav-wrap.hover-brackets .nav-links a:hover::after {
  opacity: 1;
  transform: translateX(0);
}

:where(.blk-header) .nav-wrap.hover-dot .nav-links a {
  position: relative;
  background: transparent !important;
}

:where(.blk-header) .nav-wrap.hover-dot .nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateX(-50%) scale(0);
  transition: 0.3s ease;
  opacity: 0;
}

:where(.blk-header) .nav-wrap.hover-dot .nav-links a:hover::after {
  transform: translateX(-50%) scale(1);
  opacity: 1;
}

:where(.blk-header) .nav-wrap.hover-scale .nav-links a {
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: transparent !important;
}

:where(.blk-header) .nav-wrap.hover-scale .nav-links a:hover {
  transform: scale(1.15);
  color: var(--text);
}

:where(.blk-header) .nav-wrap.hover-focus .nav-links:hover a {
  filter: blur(2px);
  opacity: 0.5;
  background: transparent !important;
}

:where(.blk-header) .nav-wrap.hover-focus .nav-links a:hover {
  filter: blur(0);
  opacity: 1;
  transform: scale(1.05);
  color: var(--text);
}

:where(.blk-header) .nav-wrap.hover-gradient .nav-links a {
  background: transparent !important;
  position: relative;
  transition: 0.3s;
}

:where(.blk-header) .nav-wrap.hover-gradient .nav-links a:hover {
  background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--text) 50%, var(--accent))) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

:where(.blk-header) .nav-wrap {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s ease, padding 0.4s ease, opacity 0.4s ease;
}

:where(.blk-header) .nav-wrap .nav {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

:where(.blk-header) .nav-wrap.scroll-hide.scroll-down {
  transform: translateY(-100%);
}

:where(.blk-header) .nav-wrap.scroll-hide.scroll-up {
  transform: translateY(0);
}

:where(.blk-header) .nav-wrap.scroll-shrink.scrolled {
  padding: 10px 16px 0 !important;
}

:where(.blk-header) .nav-wrap.scroll-shrink.scrolled .nav {
  padding-top: 4px;
  padding-bottom: 4px;
  gap: 14px;
  max-width: 850px !important;
  border-radius: 40px !important;
  border: 1px solid var(--border) !important;
}

:where(.blk-header) .nav-wrap.scroll-shrink.scrolled .brand-logo {
  max-height: 24px;
}

:where(.blk-header) .nav-wrap.scroll-shrink.scrolled .brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 6px;
}

:where(.blk-header) .nav-wrap.scroll-shrink.scrolled .brand {
  font-size: 17px;
}

:where(.blk-header) .nav-wrap.scroll-shrink.scrolled .nav-links a,
:where(.blk-header) .nav-wrap.scroll-shrink.scrolled .mega-toggle {
  padding: 6px 10px;
  font-size: 14px;
}

:where(.blk-header) .nav-wrap.scroll-shrink.scrolled .btn {
  transform: scale(0.9);
  transform-origin: right center;
}

:where(.blk-header) .nav-wrap.scroll-fade {
  opacity: 0;
  pointer-events: none;
}

:where(.blk-header) .nav-wrap.scroll-fade.scrolled {
  opacity: 1;
  pointer-events: auto;
}

:where(.blk-header) .nav-wrap.scroll-blur .nav {
  -webkit-backdrop-filter: blur(0);
  backdrop-filter: blur(0);
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

:where(.blk-header) .nav-wrap.scroll-blur.scrolled .nav {
  -webkit-backdrop-filter: blur(20px) saturate(200%);
  backdrop-filter: blur(20px) saturate(200%);
  background: color-mix(in srgb,var(--bg) 50%,transparent);
  border: 1px solid var(--border);
  box-shadow: 0 16px 44px -18px rgba(0,0,0,.65);
}

:where(.blk-header) .nav-wrap.scroll-bg-solid.scrolled .nav {
  background: var(--bg);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

:where(.blk-header) .nav-wrap.scroll-shadow .nav {
  box-shadow: none;
}

:where(.blk-header) .nav-wrap.scroll-shadow.scrolled .nav {
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

:where(.blk-header) .nav-wrap.scroll-border .nav {
  border-bottom-color: transparent;
}

:where(.blk-header) .nav-wrap.scroll-border.scrolled .nav {
  border-bottom-color: var(--border);
}

:where(.blk-header) .nav-wrap.scroll-slide-down {
  transform: translateY(-100%);
  opacity: 0;
  animation: slideDownNav 0.6s 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideDownNav {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

:where(.blk-header) .nav-wrap.scroll-opaque .nav {
  background: transparent;
  box-shadow: none;
  border-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

:where(.blk-header) .nav-wrap.scroll-opaque.scrolled .nav {
  background: var(--surface);
  box-shadow: 0 10px 40px -10px rgba(0,0,0,0.3);
  border: 1px solid var(--border);
}

:where(.blk-header) .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -.02em;
}

:where(.blk-header) .brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
}

:where(.blk-header) .brand-logo {
  width: auto;
  object-fit: contain;
  display: block;
}

:where(.blk-header) .nav-links {
  display: flex;
  gap: 6px;
  margin-left: auto;
  list-style: none;
  padding: 0;
  margin-top: 0;
  margin-bottom: 0;
}

:where(.blk-header) .nav-links li {
  position: relative;
}

:where(.blk-header) .nav-links a,
:where(.blk-header) .mega-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  font-size: 15px;
  transition: color .2s,background .2s;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

:where(.blk-header) .nav-links a:hover,
:where(.blk-header) .mega-toggle:hover {
  color: var(--text);
  background: rgba(255,255,255,.06);
}

:where(.blk-header) .mega-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: max-content;
  min-width: 300px;
  max-width: 800px;
  background: color-mix(in srgb, var(--surface) 95%, transparent);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transition: 0.2s;
  pointer-events: none;
  z-index: 100;
}

:where(.blk-header) .has-mega:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

:where(.blk-header) .mega-menu ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

:where(.blk-header) .mega-menu a.mega-sub {
  align-items: flex-start;
  flex-direction: column;
  padding: 12px 16px;
  border-radius: 12px;
}

:where(.blk-header) .mega-menu a.mega-sub:hover {
  background: rgba(255,255,255,0.05);
}

:where(.blk-header) .nav-toggle-btn {
  display: none;
  margin-left: auto;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  color: var(--text);
  width: 42px;
  height: 42px;
  border-radius: 12px;
  cursor: pointer;
  place-items: center;
}

@media(max-width:900px) {
  :where(.blk-header) .nav-cta {
    display: none !important;
  }
  :where(.blk-header) .nav-toggle-btn {
    display: grid;
  }
  :where(.blk-header) .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    flex-direction: column;
    margin: 0;
    padding: 10px;
    border-radius: 18px;
    background: color-mix(in srgb,var(--bg) 94%,transparent);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border);
  }
  :where(.blk-header) .nav.open .nav-links {
    display: flex;
  }
  :where(.blk-header) .nav-links a,
  :where(.blk-header) .mega-toggle {
    padding: 14px 16px;
  }
  :where(.blk-header) .mega-menu {
    position: static;
    transform: none;
    width: 100%;
    box-shadow: none;
    border: none;
    padding: 0 0 0 16px;
    background: transparent;
    display: none;
  }
  :where(.blk-header) .has-mega:hover .mega-menu {
    display: block;
  }
  :where(.blk-header) .mega-menu ul {
    grid-template-columns: 1fr;
  }
}

:where(.blk-header) .lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
}

:where(.blk-header) .lang-switch:hover,
:where(.blk-header) .lang-switch:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

/* ── układy z motywu (theme.layouts.header): menu na całą szerokość, zajmuje miejsce zamiast pływać nad stroną ── */
.blk-header[class*="ly-"] {
  height: auto;
}

:where(.blk-header[class*="ly-"]) .nav-wrap {
  padding: 0;
}

:where(.blk-header[class*="ly-"]) .nav {
  max-width: none;
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid var(--border);
  box-shadow: none;
  background: var(--bg);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  padding: 14px max(32px,calc((100vw - var(--maxw)) / 2 + 32px));
}

:where(.blk-header.ly-pasek) .hd-strip {
  background: var(--text);
  color: var(--bg);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

:where(.blk-header.ly-pasek) .hd-strip .container {
  padding-block: 8px;
}

@media(min-width:901px) {
  /* dwa rzędy: logo i przyciski, pod nimi menu na pasku w kolorze akcentu przez całą szerokość */
  :where(.blk-header.ly-dwa-rzedy) .nav {
    flex-wrap: wrap;
    row-gap: 0;
    padding-bottom: 0;
    border-bottom: 0;
  }
  :where(.blk-header.ly-dwa-rzedy) .nav-cta {
    margin-left: auto;
  }
  :where(.blk-header.ly-dwa-rzedy) .nav-links {
    order: 3;
    flex-basis: 100%;
    gap: 0;
    margin: 14px 0 0;
    background: var(--accent);
    box-shadow: 0 0 0 100vmax var(--accent);
    clip-path: inset(0 -100vmax);
  }
  :where(.blk-header.ly-dwa-rzedy) .nav-links > li > a,
  :where(.blk-header.ly-dwa-rzedy) .mega-toggle {
    padding: 13px 20px;
    border-radius: 0;
    color: var(--bg);
  }
  :where(.blk-header.ly-dwa-rzedy) .nav-links > li > a:hover,
  :where(.blk-header.ly-dwa-rzedy) .mega-toggle:hover {
    color: var(--bg);
    background: rgba(0,0,0,.18);
  }
  /* środek: logo wyśrodkowane, menu pod nim, przyciski po prawej */
  :where(.blk-header.ly-srodek) .nav {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 12px;
    padding-top: 22px;
    padding-bottom: 10px;
  }
  :where(.blk-header.ly-srodek) .brand {
    flex-basis: 100%;
    justify-content: center;
  }
  :where(.blk-header.ly-srodek) .nav-links {
    margin: 0;
  }
  :where(.blk-header.ly-srodek) .nav-cta {
    position: absolute;
    top: 18px;
    right: max(32px,calc((100vw - var(--maxw)) / 2 + 32px));
  }
}

@media(max-width:900px) {
  :where(.blk-header[class*="ly-"]) .nav {
    padding: 12px 16px;
  }
}

/* nagłówek w układzie z motywu zajmuje miejsce, więc zwykłe hero pod nim nie potrzebuje odstępu pod pływające menu */
.blk-header[class*="ly-"] ~ main > .blk-hero:first-of-type:not([class*="ly-"]) {
  padding-top: clamp(48px,6vw,88px);
}

/* ===== hero ===== */
.blk-hero {
  padding-top: clamp(120px,14vw,180px);
  overflow: hidden;
}

.blk-hero::before {
  content: "";
  position: absolute;
  inset: -10% -10% auto auto;
  width: 60vw;
  height: 60vw;
  max-width: 800px;
  max-height: 800px;
  background: radial-gradient(circle,color-mix(in srgb,var(--accent) 30%,transparent),transparent 65%);
  filter: blur(30px);
  pointer-events: none;
  z-index: 0;
}

:where(.blk-hero) .hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px,5vw,72px);
  align-items: center;
}

:where(.blk-hero) .hero-grid.reverse {
  grid-template-columns: 1fr 1.05fr;
}

:where(.blk-hero) .hero-grid.reverse .hero-copy {
  order: 2;
}

:where(.blk-hero) .hero-grid.reverse .hero-visual {
  order: 1;
}

:where(.blk-hero) .hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

:where(.blk-hero) .hero-title {
  font-size: clamp(38px,5.6vw,68px);
  line-height: 1.04;
  letter-spacing: -.035em;
}

:where(.blk-hero) .hero-text {
  color: var(--muted);
  font-size: clamp(16px,1.5vw,19px);
  max-width: 520px;
}

:where(.blk-hero) .hero-visual {
  position: relative;
}

:where(.blk-hero) .hero-img-wrap {
  position: relative;
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.7);
}

:where(.blk-hero) .hero-img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,transparent 55%,rgba(20,22,23,.55));
  pointer-events: none;
}

:where(.blk-hero) .hero-img {
  width: 100%;
  aspect-ratio: 1.06;
  object-fit: cover;
}

:where(.blk-hero) .hero-cards {
  position: absolute;
  left: -28px;
  bottom: 28px;
  display: flex;
  gap: 14px;
  z-index: 2;
}

:where(.blk-hero) .glass-card {
  min-width: 150px;
  padding: 18px 20px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: color-mix(in srgb,var(--surface) 62%,transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.7);
  animation: floaty 6s ease-in-out infinite;
}

:where(.blk-hero) .glass-card:nth-child(2) {
  animation-delay: -3s;
}

:where(.blk-hero) .glass-card strong {
  font-family: var(--font-head);
  font-size: 30px;
  line-height: 1.1;
  color: var(--accent-2);
}

:where(.blk-hero) .glass-card span {
  font-size: 13.5px;
  color: var(--muted);
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media(max-width:960px) {
  :where(.blk-hero) .hero-grid {
    grid-template-columns: 1fr;
  }
  :where(.blk-hero) .hero-cards {
    left: 16px;
    bottom: 16px;
  }
  :where(.blk-hero) .glass-card {
    min-width: 0;
    padding: 14px 16px;
  }
  :where(.blk-hero) .glass-card strong {
    font-size: 24px;
  }
}

/* ── układy z motywu (theme.layouts.hero) ── */
.blk-hero[class*="ly-"] {
  padding-top: 0;
  padding-bottom: 0;
}

.blk-hero[class*="ly-"]::before {
  display: none;
}

:where(.blk-hero[class*="ly-"]) .hl-media {
  position: relative;
}

:where(.blk-hero[class*="ly-"]) .hl-img {
  display: block;
  width: 100%;
  object-fit: cover;
}

:where(.blk-hero[class*="ly-"]) .hero-cards {
  position: static;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

:where(.blk-hero[class*="ly-"]) .glass-card {
  animation: none;
}

/* baner: zdjęcie na całą szerokość, przez środek półprzezroczysty pas z tekstem po prawej */
:where(.blk-hero.ly-baner) .hl-img {
  height: clamp(340px,40vw,560px);
}

:where(.blk-hero.ly-baner) .hl-band {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: color-mix(in srgb,var(--bg) 82%,transparent);
  padding-block: clamp(20px,3vw,36px);
}

:where(.blk-hero.ly-baner) .hero-copy {
  margin-left: auto;
  max-width: 560px;
  align-items: flex-end;
  text-align: right;
  gap: 14px;
}

:where(.blk-hero.ly-baner) .hero-title {
  font-size: clamp(30px,3.6vw,48px);
}

:where(.blk-hero.ly-baner) .hero-text {
  font-size: 16px;
}

/* okładka: zdjęcie pod całą sekcją, przyciemnione, tekst na środku */
.blk-hero.ly-okladka {
  min-height: min(88vh,820px);
  display: grid;
  align-items: center;
}

:where(.blk-hero.ly-okladka) .hl-media {
  position: absolute;
  inset: 0;
}

:where(.blk-hero.ly-okladka) .hl-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,rgba(0,0,0,.25),rgba(0,0,0,.65));
}

:where(.blk-hero.ly-okladka) .hl-img {
  height: 100%;
}

:where(.blk-hero.ly-okladka) .container {
  position: relative;
  z-index: 1;
  padding-block: clamp(96px,12vw,160px);
}

:where(.blk-hero.ly-okladka) .hero-copy {
  max-width: 820px;
  margin-inline: auto;
  align-items: center;
  text-align: center;
  color: #fff;
}

:where(.blk-hero.ly-okladka) .hero-text {
  color: rgba(255,255,255,.82);
  max-width: 620px;
}

:where(.blk-hero.ly-okladka) .hero-cards {
  justify-content: center;
}

/* zdjęcie: pełna szerokość u góry, pod nim wyśrodkowany tekst i karty w rzędzie */
:where(.blk-hero.ly-zdjecie) .hl-img {
  height: clamp(260px,34vw,480px);
}

:where(.blk-hero.ly-zdjecie) .container {
  padding-block: clamp(40px,6vw,80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

:where(.blk-hero.ly-zdjecie) .hero-copy {
  max-width: 760px;
  align-items: center;
  text-align: center;
}

:where(.blk-hero.ly-zdjecie) .hero-cards {
  justify-content: center;
}

@media(max-width:700px) {
  :where(.blk-hero.ly-baner) .hl-band {
    position: static;
    transform: none;
    background: var(--surface);
  }
  :where(.blk-hero.ly-baner) .hero-copy {
    align-items: flex-start;
    text-align: left;
  }
  :where(.blk-hero.ly-baner) .hl-img {
    height: 260px;
  }
}

:where(.blk-hero.ly-zdjecie, .blk-hero.ly-okladka) .btn-row {
  justify-content: center;
}

/* ===== locations ===== */
:where(.blk-locations) .loc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

:where(.blk-locations) .loc-card {
  display: flex;
  flex-direction: column;
  gap: 12px; /* tło, ramka i zaokrąglenie z .card motywu */
}

:where(.blk-locations) .loc-name {
  font-size: 21px;
  margin-bottom: 4px;
}

:where(.blk-locations) .loc-line {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text);
}

:where(.blk-locations) .loc-line svg {
  flex: none;
  margin-top: 3px;
  color: var(--accent);
}

:where(.blk-locations) .loc-line a {
  color: inherit;
}

:where(.blk-locations) .loc-hours {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin-top: 6px;
}

:where(.blk-locations) .loc-hours caption {
  display: flex;
  gap: 8px;
  align-items: center;
  font-weight: 600;
  text-align: left;
  margin-bottom: 6px;
}

:where(.blk-locations) .loc-hours th,
:where(.blk-locations) .loc-hours td {
  padding: 6px 0;
  border-top: 1px solid var(--border);
  text-align: left;
  font-weight: 400;
}

:where(.blk-locations) .loc-hours th {
  color: var(--muted);
}

:where(.blk-locations) .loc-note {
  color: var(--muted);
  font-size: 14.5px;
}

:where(.blk-locations) .loc-route {
  align-self: flex-start;
  margin-top: auto;
}

/* ===== logos ===== */
.blk-logos {
  border-block: 1px solid var(--border);
}

:where(.blk-logos) .logos-title {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: .04em;
  margin-bottom: 28px;
}

:where(.blk-logos) .marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);
  mask-image: linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);
  padding-block: 10px;
}

:where(.blk-logos) .marquee-track {
  display: flex;
  gap: 72px;
  width: max-content;
  animation: marquee 32s linear infinite;
  padding-right: 72px;
  align-items: center;
}

:where(.blk-logos) .marquee-track.speed-slow {
  animation-duration: 50s;
}

:where(.blk-logos) .marquee-track.speed-normal {
  animation-duration: 32s;
}

:where(.blk-logos) .marquee-track.speed-fast {
  animation-duration: 18s;
}

:where(.blk-logos) .marquee:hover .marquee-track {
  animation-play-state: paused;
}

:where(.blk-logos) .logos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 36px 64px;
  align-items: center;
  padding-inline: 16px;
}

:where(.blk-logos) .logo-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  color: var(--muted);
  transition: opacity .3s,color .3s,transform .3s;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}

:where(.blk-logos) .logo-item:hover {
  color: var(--accent-2);
  transform: translateY(-2px);
}

:where(.blk-logos) .logo-img {
  width: auto;
  object-fit: contain;
  display: block;
  transition: filter .35s var(--ease),opacity .35s,transform .35s var(--ease);
}

:where(.blk-logos) .is-grayscale .logo-img {
  filter: grayscale(1) brightness(0.85);
  opacity: .65;
}

:where(.blk-logos) .is-grayscale .logo-item:hover .logo-img {
  filter: grayscale(0) brightness(1);
  opacity: 1;
  transform: scale(1.06);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media(prefers-reduced-motion:reduce) {
  :where(.blk-logos) .marquee-track {
    animation: none;
  }
}

/* ===== map ===== */
.blk-map .mp-box { position: relative; max-width: 1100px; margin: 32px auto 0; min-height: 360px; border-radius: var(--radius); overflow: hidden; background: var(--surface); display: flex; flex-direction: column; gap: 10px; align-items: center; justify-content: center; text-align: center; padding: 24px; }
.blk-map .mp-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.blk-map .mp-note { color: var(--muted); }
.blk-map .mp-addr { margin: 0; font-weight: 600; }

/* ===== menu ===== */
.blk-menu .mn-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px 48px; margin-top: 40px; }
.blk-menu .mn-cat-t { font-family: var(--font-head); font-size: 1.3rem; margin: 0 0 12px; color: var(--accent-2); }
.blk-menu .mn-row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--border, rgba(127,127,127,.3)); }
.blk-menu .mn-name { font-size: 1.05rem; }
.blk-menu .mn-desc { margin: 4px 0 0; color: var(--muted); font-size: .92rem; }
.blk-menu .mn-price { white-space: nowrap; font-weight: 700; }
.blk-menu .mn-tag { display: inline-block; font-size: .72rem; padding: 2px 8px; border-radius: 99px; background: var(--accent); color: #fff; vertical-align: middle; }

/* ===== newsletter ===== */
/* pole e-mail, zgoda i pułapka na boty: wspólne style .f-input / .f-check / .hp w assets/site.css */
.blk-newsletter .nl-wrap { max-width: 680px; }
.blk-newsletter .nl-form { margin-top: 24px; }
.blk-newsletter .nl-row { display: flex; gap: 10px; }
.blk-newsletter .nl-row .f-input { flex: 1; min-width: 0; }
.blk-newsletter .nl-consent { margin-top: 12px; font-size: .85rem; color: var(--muted); }
.blk-newsletter .form-status { margin-top: 8px; }
@media (max-width: 520px) { .blk-newsletter .nl-row { flex-direction: column; } }

/* ===== offers ===== */
:where(.blk-offers) .of-filter { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 28px 0 0; }
:where(.blk-offers) .of-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 32px; }
:where(.blk-offers) .of-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
:where(.blk-offers) .of-card[hidden] { display: none; }
:where(.blk-offers) .of-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
:where(.blk-offers) .of-body { padding: 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
:where(.blk-offers) .of-place { color: var(--muted); }
:where(.blk-offers) .of-title { margin: 0; font-size: 1.15rem; }
:where(.blk-offers) .of-price { color: var(--accent-2); font-size: 1.2rem; }
:where(.blk-offers) .of-text { margin: 0 0 8px; color: var(--muted); }
:where(.blk-offers) .of-body .btn { margin-top: auto; align-self: flex-start; }

/* ── układy z motywu (theme.layouts.offers) ── */
/* sklep: siatka 4 kolumn, kwadratowe zdjęcie, nazwa i cena wyśrodkowane, bez ramek i tła kart */
:where(.blk-offers.ly-sklep) .of-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 40px 28px; }
:where(.blk-offers.ly-sklep) .of-card { background: none; border: 0; box-shadow: none; border-radius: 0; text-align: center; }
:where(.blk-offers.ly-sklep) .of-card:hover { transform: none; box-shadow: none; }
:where(.blk-offers.ly-sklep) .of-img { aspect-ratio: 1; background: var(--surface); transition: transform .4s; }
:where(.blk-offers.ly-sklep) .of-card:hover .of-img { transform: scale(1.03); }
:where(.blk-offers.ly-sklep) .of-body { padding: 16px 0 0; align-items: center; gap: 4px; }
:where(.blk-offers.ly-sklep) .of-title { font-size: 15px; font-weight: 500; order: 1; }
:where(.blk-offers.ly-sklep) .of-place { font-size: 12.5px; order: 2; }
:where(.blk-offers.ly-sklep) .of-price { font-size: 18px; color: var(--text); order: 3; }
:where(.blk-offers.ly-sklep) .of-text { display: none; }
:where(.blk-offers.ly-sklep) .of-body .btn { order: 4; align-self: center; margin-top: 8px; }
/* galeria: dwie kolumny dużych zdjęć, nazwa i cena na zdjęciu, opis i przycisk pokazują się po najechaniu */
:where(.blk-offers.ly-galeria) .of-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 16px; }
:where(.blk-offers.ly-galeria) .of-card { position: relative; border-radius: var(--radius); }
:where(.blk-offers.ly-galeria) .of-img { aspect-ratio: 4 / 3; background: var(--surface); }
:where(.blk-offers.ly-galeria) .of-body { position: absolute; inset: auto 0 0; padding: 60px 28px 24px; color: #fff; background: linear-gradient(180deg, transparent, rgba(0,0,0,.72)); }
:where(.blk-offers.ly-galeria) .of-place, :where(.blk-offers.ly-galeria) .of-text { color: rgba(255,255,255,.75); }
:where(.blk-offers.ly-galeria) .of-title { font-size: clamp(20px, 2vw, 28px); }
:where(.blk-offers.ly-galeria) .of-price { color: #fff; }
:where(.blk-offers.ly-galeria) .of-text, :where(.blk-offers.ly-galeria) .of-body .btn { display: none; }
:where(.blk-offers.ly-galeria) .of-card:hover .of-text { display: block; }
:where(.blk-offers.ly-galeria) .of-card:hover .of-body .btn { display: inline-flex; }

/* szybki podgląd (szablony motywów z katalogiem produktów) */
:where(.blk-offers) .of-qv { display: none; }

:where(.blk-offers) dialog.qv {
  width: min(880px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .5);
}

:where(.blk-offers) dialog.qv::backdrop { background: rgba(0, 0, 0, .55); }

:where(.blk-offers) .qv-body { display: grid; grid-template-columns: 1fr 1fr; }
:where(.blk-offers) .qv-body > img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; background: var(--surface); }
:where(.blk-offers) .qv-info { padding: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
:where(.blk-offers) .qv-info h3 { margin: 0; font: 700 24px/1.2 var(--font-head); }
:where(.blk-offers) .qv-info p { margin: 0; color: var(--muted); }
:where(.blk-offers) .qv-info .btn { margin-top: 12px; }

:where(.blk-offers) .qv-close {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 1;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  color: #222;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 700px) {
  :where(.blk-offers) .qv-body { grid-template-columns: 1fr; }
  :where(.blk-offers) .qv-body > img { min-height: 220px; max-height: 300px; }
}

/* ===== pricing ===== */
:where(.blk-pricing) .plans {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(270px,1fr));
  gap: 24px;
  align-items: stretch;
}

:where(.blk-pricing) .plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 34px 30px;
  border-radius: calc(var(--radius) + 2px);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform .35s var(--ease),border-color .35s;
}

:where(.blk-pricing) .plan:hover {
  transform: translateY(-4px);
}

:where(.blk-pricing) .plan.featured {
  background: linear-gradient(180deg,color-mix(in srgb,var(--accent) 24%,var(--surface)),var(--surface) 70%);
  border-color: color-mix(in srgb,var(--accent) 60%,transparent);
  box-shadow: 0 30px 70px -30px color-mix(in srgb,var(--accent) 70%,transparent);
}

:where(.blk-pricing) .plan-flag {
  position: absolute;
  top: -13px;
  left: 30px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}

:where(.blk-pricing) .plan-name {
  font-size: 20px;
}

:where(.blk-pricing) .plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

:where(.blk-pricing) .plan-price strong {
  font-family: var(--font-head);
  font-size: 44px;
  letter-spacing: -.03em;
  line-height: 1;
}

:where(.blk-pricing) .plan-price span {
  color: var(--muted);
  font-size: 15px;
}

:where(.blk-pricing) .plan-desc {
  color: var(--muted);
  font-size: 15px;
}

:where(.blk-pricing) .plan-feats {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  padding-block: 8px 6px;
  border-top: 1px solid var(--border);
  padding-top: 22px;
}

:where(.blk-pricing) .plan-feats li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
}

:where(.blk-pricing) .plan-feats .ic {
  color: var(--accent-2);
  margin-top: 3px;
}

:where(.blk-pricing) .plan .btn {
  width: 100%;
}

/* ===== rating ===== */
.blk-rating .rt-wrap { display: flex; justify-content: center; }
.blk-rating .rt-card { text-align: center; padding: 28px 40px; }
.blk-rating .rt-stars { font-size: 2rem; letter-spacing: 4px; background: linear-gradient(90deg, #f5b301 var(--v), rgba(127,127,127,.35) var(--v)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.blk-rating .rt-line { margin: 8px 0 14px; color: var(--muted); }
.blk-rating .rt-val { color: var(--text); font-size: 1.3rem; }

/* ===== richtext ===== */
:where(.blk-richtext) .rt {
  max-width: 780px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

:where(.blk-richtext) .rt.center {
  margin-inline: auto;
  align-items: center;
  text-align: center;
}

:where(.blk-richtext) .rt.center .eyebrow {
  align-self: center;
}

:where(.blk-richtext) .rt-body {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

/* ===== search ===== */
.blk-search .sr-wrap { max-width: 760px; text-align: center; }
.blk-search .sr-input { width: 100%; margin-top: 20px; padding: 14px 18px; border-radius: var(--radius); border: 1px solid var(--border, rgba(127,127,127,.35)); background: var(--surface); color: var(--text); font: inherit; }
.blk-search .sr-list { list-style: none; padding: 0; margin: 16px 0 0; text-align: left; display: grid; gap: 8px; }
.blk-search .sr-list a { display: block; padding: 12px 16px; border-radius: var(--radius); background: var(--surface); color: inherit; text-decoration: none; }
.blk-search .sr-list a:hover b { color: var(--accent-2); }
.blk-search .sr-list span { display: block; color: var(--muted); font-size: .88rem; margin-top: 2px; }
.blk-search .sr-empty { color: var(--muted); text-align: center; }

/* ===== services ===== */
:where(.blk-services) .svc-grid {
  display: grid;
  gap: 24px;
}

:where(.blk-services) .svc-grid.cols-2 {
  grid-template-columns: repeat(2,1fr);
}

:where(.blk-services) .svc-grid.cols-3 {
  grid-template-columns: repeat(3,1fr);
}

:where(.blk-services) .svc-grid.cols-4 {
  grid-template-columns: repeat(4,1fr);
}

:where(.blk-services) .svc-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

:where(.blk-services) .svc-title {
  font-size: 21px;
}

:where(.blk-services) .svc-text {
  color: var(--muted);
  font-size: 15.5px;
}

:where(.blk-services) .svc-bullets {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-block: 8px 16px;
  width: 100%;
  list-style: none;
  padding: 0;
  flex: 1;
}

:where(.blk-services) .svc-bullets li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 14.5px;
  color: var(--text);
  font-weight: 500;
  line-height: 1.4;
}

:where(.blk-services) .svc-bullets .tick {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-2);
  border: 1px solid color-mix(in srgb,var(--accent) 45%,transparent);
  flex: none;
}

@media(max-width:1000px) {
  :where(.blk-services) .svc-grid.cols-3,
  :where(.blk-services) .svc-grid.cols-4 {
    grid-template-columns: repeat(2,1fr);
  }
}

@media(max-width:640px) {
  :where(.blk-services) .svc-grid.cols-2,
  :where(.blk-services) .svc-grid.cols-3,
  :where(.blk-services) .svc-grid.cols-4 {
    grid-template-columns: 1fr;
  }
}

/* ===== slider ===== */
.blk-slider.pad-sm, .blk-slider.pad-md, .blk-slider.pad-lg { padding-block: 0; }

:where(.blk-slider) .sl { position: relative; }

:where(.blk-slider) .sl-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

:where(.blk-slider) .sl-track::-webkit-scrollbar { display: none; }

:where(.blk-slider) .sl-slide {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: flex;
  align-items: flex-end;
  min-height: clamp(380px, 44vw, 580px);
  background: var(--surface);
  color: #fff;
}

:where(.blk-slider) .sl-sm .sl-slide { min-height: clamp(280px, 30vw, 400px); }
:where(.blk-slider) .sl-lg .sl-slide { min-height: clamp(460px, 60vw, 760px); }

:where(.blk-slider) .sl-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

:where(.blk-slider) .sl-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .6), rgba(0, 0, 0, .05) 70%);
  pointer-events: none;
}

:where(.blk-slider) .sl-slide .container {
  position: relative;
  z-index: 1;
  padding-block: clamp(48px, 7vw, 96px);
}

:where(.blk-slider) .sl-copy {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

:where(.blk-slider) .sl-kicker { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
:where(.blk-slider) .sl-title { margin: 0; font: 700 clamp(30px, 4.2vw, 54px)/1.08 var(--font-head); }
:where(.blk-slider) .sl-text { margin: 0; color: rgba(255, 255, 255, .88); }

:where(.blk-slider) .sl-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .85);
  color: #222;
  cursor: pointer;
  transform: translateY(-50%);
}

:where(.blk-slider) .sl-prev { left: 16px; }
:where(.blk-slider) .sl-prev .ic { transform: scaleX(-1); }
:where(.blk-slider) .sl-next { right: 16px; }

:where(.blk-slider) .sl-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 8px;
}

:where(.blk-slider) .sl-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .5);
  cursor: pointer;
}

:where(.blk-slider) .sl-dots button[aria-current="true"] { background: #fff; }

@media (max-width: 700px) {
  :where(.blk-slider) .sl-arrow { display: none; }
}

/* ===== split ===== */
:where(.blk-split) .split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px,6vw,88px);
  align-items: center;
}

:where(.blk-split) .split-grid.reverse .split-copy {
  order: 2;
}

:where(.blk-split) .split-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

:where(.blk-split) .split-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-block: 6px 10px;
}

:where(.blk-split) .split-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 500;
}

:where(.blk-split) .tick {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-2);
  border: 1px solid color-mix(in srgb,var(--accent) 40%,transparent);
  flex: none;
}

:where(.blk-split) .split-grid.ratio-text-large {
  grid-template-columns: 1.6fr 1fr;
}

:where(.blk-split) .split-grid.ratio-text-large.reverse {
  grid-template-columns: 1fr 1.6fr;
}

:where(.blk-split) .split-grid.ratio-text-wide {
  grid-template-columns: 2.2fr 1fr;
}

:where(.blk-split) .split-grid.ratio-text-wide.reverse {
  grid-template-columns: 1fr 2.2fr;
}

:where(.blk-split) .split-media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

:where(.blk-split) .split-img {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 1.18;
  object-fit: cover;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--border);
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.7);
  transition: transform .4s var(--ease),box-shadow .4s;
}

:where(.blk-split) .split-media .img-empty {
  position: relative;
  z-index: 2;
  width: 100%;
}

:where(.blk-split) .split-backdrop {
  position: absolute;
  z-index: 1;
  inset: -12px -16px 12px 16px;
  border-radius: calc(var(--radius) + 8px);
  transform: rotate(3deg);
  box-shadow: 0 20px 45px -15px rgba(0,0,0,0.5);
  transition: transform .4s var(--ease);
}

:where(.blk-split) .split-grid.reverse .split-backdrop {
  inset: -12px 16px 12px -16px;
  transform: rotate(-3deg);
}

:where(.blk-split) .split-media:hover .split-backdrop {
  transform: rotate(0deg) scale(1.02);
}

:where(.blk-split) .split-media:hover .split-img {
  transform: translateY(-4px);
}

:where(.blk-split) .split-backdrop.card-col-accent {
  background: var(--accent);
  opacity: .9;
}

:where(.blk-split) .split-backdrop.card-col-accent2 {
  background: var(--accent-2);
  opacity: .85;
}

:where(.blk-split) .split-backdrop.card-col-surface {
  background: var(--surface);
  border: 1px solid var(--border);
}

:where(.blk-split) .split-backdrop.card-col-light {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.12);
  box-shadow: 0 24px 50px -15px rgba(0,0,0,0.35);
}

:where(.blk-split) .split-backdrop.card-col-gold {
  background: #d4a359;
  opacity: .9;
}

:where(.blk-split) .split-backdrop.card-col-dark {
  background: #181c1a;
  border: 1px solid rgba(255,255,255,0.1);
}

:where(.blk-split) .img-style-shadow-3d .split-img {
  box-shadow: 0 40px 90px -25px rgba(0,0,0,0.85),0 15px 40px -10px rgba(0,0,0,0.5);
  transform: perspective(1000px) rotateY(-3deg) rotateX(2deg);
}

:where(.blk-split) .img-style-shadow-3d.reverse .split-img {
  transform: perspective(1000px) rotateY(3deg) rotateX(2deg);
}

:where(.blk-split) .img-style-shadow-3d .split-media:hover .split-img {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-6px);
}

:where(.blk-split) .img-style-circle .split-img {
  border-radius: 50% !important;
  aspect-ratio: 1 !important;
  max-width: 340px;
  box-shadow: 0 25px 60px -20px rgba(0,0,0,0.75);
}

:where(.blk-split) .img-style-clean .split-backdrop {
  display: none;
}

@media(max-width:900px) {
  :where(.blk-split) .split-grid,
  :where(.blk-split) .split-grid.ratio-text-large,
  :where(.blk-split) .split-grid.ratio-text-wide {
    grid-template-columns: 1fr !important;
  }
  :where(.blk-split) .split-grid.reverse .split-copy {
    order: 0;
  }
  :where(.blk-split) .split-backdrop {
    inset: -8px -8px 8px 8px;
  }
}

/* ===== stats ===== */
:where(.blk-stats) .stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  background: var(--surface);
  overflow: hidden;
}

:where(.blk-stats) .stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 36px 32px;
  border-right: 1px solid var(--border);
}

:where(.blk-stats) .stat:last-child {
  border-right: 0;
}

:where(.blk-stats) .stat-value {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(36px,4.4vw,56px);
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--accent-2);
}

:where(.blk-stats) .stat-label {
  color: var(--muted);
  font-size: 15px;
}

@media(max-width:700px) {
  :where(.blk-stats) .stat {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  :where(.blk-stats) .stat:last-child {
    border-bottom: 0;
  }
}

/* ===== steps ===== */
:where(.blk-steps) .steps-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(230px,1fr));
  gap: 24px;
  counter-reset: s;
  position: relative;
}

:where(.blk-steps) .step {
  position: relative;
  padding: 28px 26px 30px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}

:where(.blk-steps) .step::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 3px;
  width: 42%;
  background: linear-gradient(90deg,var(--accent),transparent);
}

:where(.blk-steps) .step-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 46px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px color-mix(in srgb,var(--accent-2) 70%,transparent);
  letter-spacing: -.03em;
}

:where(.blk-steps) .step-title {
  font-size: 20px;
}

:where(.blk-steps) .step-text {
  color: var(--muted);
  font-size: 15px;
}

/* ===== team ===== */
:where(.blk-team) .team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
  gap: 24px;
}

:where(.blk-team) .member {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

:where(.blk-team) .member-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 3/4;
  background: var(--surface);
}

:where(.blk-team) .member-photo img,
:where(.blk-team) .member-photo .img-empty {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(.55) contrast(1.03);
  transition: filter .5s,transform .7s var(--ease);
}

:where(.blk-team) .member-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,transparent 60%,color-mix(in srgb,var(--accent) 35%,transparent));
  opacity: 0;
  transition: opacity .5s;
  pointer-events: none;
}

:where(.blk-team) .member:hover .member-photo img {
  filter: grayscale(0);
  transform: scale(1.04);
}

:where(.blk-team) .member:hover .member-photo::after {
  opacity: 1;
}

:where(.blk-team) .member-name {
  font-size: 19px;
}

:where(.blk-team) .member-role {
  color: var(--muted);
  font-size: 14.5px;
}

/* ===== testimonials ===== */
:where(.blk-testimonials) .quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(290px,1fr));
  gap: 24px;
}

:where(.blk-testimonials) .quote {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

:where(.blk-testimonials) .quote-mark {
  color: var(--accent-2);
  opacity: .9;
}

:where(.blk-testimonials) .quote-text {
  margin: 0;
  flex: 1;
  font-size: 17px;
  line-height: 1.7;
}

:where(.blk-testimonials) .quote figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
}

:where(.blk-testimonials) .quote figcaption>span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

:where(.blk-testimonials) .quote figcaption small {
  color: var(--muted);
  font-size: 13.5px;
}

:where(.blk-testimonials) .avatar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-2);
  border: 1px solid color-mix(in srgb,var(--accent) 40%,transparent);
  font-weight: 700;
  font-family: var(--font-head);
  font-size: 15px;
}

:where(.blk-testimonials) .quote.card-text-dark .quote-text {
  color: #181c1a !important;
}

:where(.blk-testimonials) .quote.card-text-dark figcaption strong {
  color: #121514 !important;
}

:where(.blk-testimonials) .quote.card-text-dark figcaption small {
  color: #535c57 !important;
}

:where(.blk-testimonials) .quote.card-text-light .quote-text {
  color: #ffffff !important;
}

:where(.blk-testimonials) .quote.card-text-light figcaption strong {
  color: #ffffff !important;
}

:where(.blk-testimonials) .quote.card-text-muted .quote-text {
  color: var(--muted) !important;
}

:where(.blk-testimonials) .quote.card-text-accent .quote-text {
  color: var(--accent-2) !important;
}

:where(.blk-testimonials) .testimonials-marquee {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);
  mask-image: linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);
  padding-block: 12px 18px;
}

:where(.blk-testimonials) .testimonials-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: testimonialsMarquee 35s linear infinite;
  padding-inline: 24px;
}

:where(.blk-testimonials) .testimonials-track.speed-slow {
  animation-duration: 50s;
}

:where(.blk-testimonials) .testimonials-track.speed-normal {
  animation-duration: 35s;
}

:where(.blk-testimonials) .testimonials-track.speed-fast {
  animation-duration: 20s;
}

:where(.blk-testimonials) .testimonials-marquee:hover .testimonials-track {
  animation-play-state: paused;
}

:where(.blk-testimonials) .testimonials-track .quote {
  width: 380px;
  max-width: 85vw;
  flex: none;
}

@keyframes testimonialsMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media(prefers-reduced-motion:reduce) {
  :where(.blk-testimonials) .testimonials-track {
    animation: none;
  }
}

/* ===== video ===== */
.blk-video .vd-box { position: relative; max-width: 960px; margin: 32px auto 0; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; display: grid; place-items: center; }
.blk-video .vd-box img, .blk-video .vd-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.blk-video .vd-play { position: relative; width: 84px; height: 84px; border-radius: 50%; border: 0; background: var(--accent); color: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: 0 8px 30px rgba(0,0,0,.4); }
.blk-video .vd-note { position: absolute; bottom: 10px; left: 0; right: 0; text-align: center; color: #fff; font-size: .8rem; text-shadow: 0 1px 3px #000; }
