.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}
/* Bazowy rem: mobilka 16px, desktop (lg+) 18px — minimalny tekst zgodny z ustawieniami typografii */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
@media (min-width: 1024px) {
  html {
    font-size: 18px;
  }
}
body {
  overflow-x: clip;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .motion-safe-transition {
    transition: none !important;
  }
}
/* Karty oferty — spokojniejszy, „cieplejszy” cień (premium stolarstwo, bez twardego czerni) */
.artisan-card-hover {
  border-radius: 0.875rem;
  outline: 2px solid transparent;
  outline-offset: 2px;
  box-shadow:
    0 1px 2px rgb(40 38 36 / 0.04),
    0 10px 28px -10px rgb(62 48 38 / 0.12),
    0 0 0 1px rgb(120 113 108 / 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease, outline-color 0.2s ease;
}
.artisan-card-hover:hover {
  box-shadow:
    0 4px 8px -2px rgb(40 38 36 / 0.06),
    0 28px 56px -16px rgb(62 48 38 / 0.2),
    0 0 0 1px rgb(125 82 49 / 0.14);
}
.artisan-card-hover:focus-visible {
  outline-color: var(--tw-ring-color, #7d5231);
  z-index: 1;
}
@media (prefers-reduced-motion: no-preference) {
  .artisan-card-hover:hover {
    transform: translateY(-1px);
  }
}
#site-header.is-scrolled {
  box-shadow:
    0 4px 28px -6px rgb(40 38 36 / 0.07),
    0 0 0 1px rgb(231 229 228 / 0.65);
}

/* Pas CTA pod ofertą */
.ps-offer-cta {
  box-shadow:
    0 1px 2px rgb(40 38 36 / 0.04),
    0 14px 36px -14px rgb(62 48 38 / 0.1),
    inset 0 1px 0 rgb(255 255 255 / 0.65);
  border-color: rgb(231 229 228 / 0.95);
}

/* Karty gatunków drewna */
.ps-wood-spec-card {
  border: 1px solid rgb(231 229 228 / 0.92);
  box-shadow:
    0 1px 2px rgb(40 38 36 / 0.03),
    0 16px 40px -18px rgb(62 48 38 / 0.09);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.ps-wood-spec-card:hover {
  border-color: rgb(214 211 209 / 0.98);
  box-shadow:
    0 4px 12px -4px rgb(40 38 36 / 0.05),
    0 22px 48px -18px rgb(62 48 38 / 0.11);
}

/* Panel formularza kontakt */
.ps-contact-panel {
  box-shadow:
    0 1px 2px rgb(40 38 36 / 0.04),
    0 20px 48px -20px rgb(62 48 38 / 0.1),
    inset 0 1px 0 rgb(255 255 255 / 0.9);
  border-color: rgb(231 229 228 / 0.9);
}

/* Przycisk wysyłki — cień jak reszta, nie „twardy” lg */
.ps-form-submit:hover:not(:disabled) {
  box-shadow: 0 10px 28px -8px rgb(62 48 38 / 0.35);
}
.faq-details summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-details summary::-webkit-details-marker {
  display: none;
}
.faq-details summary::after {
  content: "expand_more";
  font-family: "Material Symbols Outlined";
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  flex-shrink: 0;
  font-size: 1.35rem;
  color: #78716c;
  transition: transform 0.2s ease;
}
.faq-details[open] summary::after {
  transform: rotate(180deg);
}
@media (prefers-reduced-motion: reduce) {
  .faq-details summary::after {
    transition: none;
  }
}
/* Proces: prostokąt deski (w stylu ~100×30 — z numerem w środku lekko wyższy), faktura boku deski */
.proces-stair-visual {
  width: fit-content;
  max-width: 100%;
  filter: drop-shadow(0 6px 16px rgba(62, 48, 38, 0.14));
  transition: transform 0.3s ease, filter 0.3s ease;
}
.proces-step-plank {
  display: block;
}
.proces-step-plank__body {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  width: max-content;
  padding: 0 0.65rem;
  height: 40px;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(45, 32, 22, 0.14);
}
@media (min-width: 640px) {
  .proces-step-plank__body {
    height: 44px;
    padding: 0 0.75rem;
  }
}
.proces-step-plank__texture {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.04) 0%, transparent 18%, transparent 82%, rgba(0, 0, 0, 0.05) 100%),
    linear-gradient(180deg, rgba(255, 248, 238, 0.45) 0%, transparent 35%, rgba(0, 0, 0, 0.08) 100%),
    repeating-linear-gradient(
      180deg,
      transparent 0,
      transparent 2px,
      rgba(62, 40, 26, 0.07) 2px,
      rgba(62, 40, 26, 0.07) 3px,
      transparent 3px,
      transparent 7px,
      rgba(45, 28, 16, 0.05) 7px,
      rgba(45, 28, 16, 0.05) 7.5px
    ),
    linear-gradient(95deg, #deb892 0%, #b0784a 32%, #7d4e32 68%, #4a301f 100%);
}
.proces-step-plank__num {
  position: relative;
  z-index: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.06em;
  line-height: 1;
  color: #fff9f0;
  text-shadow:
    0 0 1px rgba(0, 0, 0, 0.85),
    0 1px 0 rgba(255, 255, 255, 0.2),
    0 1px 3px rgba(0, 0, 0, 0.45);
}
.proces-step:nth-child(2) .proces-step-plank__texture {
  filter: hue-rotate(-5deg) saturate(1.06);
}
.proces-step:nth-child(3) .proces-step-plank__texture {
  filter: hue-rotate(6deg) saturate(0.98);
}
.proces-step:nth-child(4) .proces-step-plank__texture {
  filter: hue-rotate(-6deg) saturate(1.05);
}
@media (prefers-reduced-motion: reduce) {
  .proces-step:nth-child(2) .proces-step-plank__texture,
  .proces-step:nth-child(3) .proces-step-plank__texture,
  .proces-step:nth-child(4) .proces-step-plank__texture {
    filter: none;
  }
}
.proces-step:hover .proces-stair-visual {
  transform: translateY(-3px);
  filter: drop-shadow(0 12px 28px rgba(62, 48, 38, 0.22));
}
@media (prefers-reduced-motion: reduce) {
  .proces-stair-visual {
    transition: none;
  }
  .proces-step:hover .proces-stair-visual {
    transform: none;
  }
}
.section-drewno-bg {
  --drewno-base: #e8dfd3;
  background-color: var(--drewno-base);
  background-image:
    radial-gradient(ellipse 125% 95% at 100% -5%, rgba(125, 82, 49, 0.22), transparent 58%),
    radial-gradient(ellipse 100% 80% at -8% 105%, rgba(74, 50, 37, 0.14), transparent 54%),
    radial-gradient(ellipse 65% 55% at 68% 38%, rgba(255, 205, 168, 0.42), transparent 52%),
    radial-gradient(circle at 18% 28%, rgba(255, 255, 255, 0.55), transparent 28%),
    repeating-linear-gradient(
      -22deg,
      transparent,
      transparent 44px,
      rgba(125, 82, 49, 0.045) 44px,
      rgba(125, 82, 49, 0.045) 45px
    ),
    repeating-linear-gradient(
      68deg,
      transparent,
      transparent 32px,
      rgba(255, 255, 255, 0.07) 32px,
      rgba(255, 255, 255, 0.07) 33px
    );
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
#mobile-panel:not(.hidden) {
  animation: panel-in 0.2s ease-out;
}
@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  #mobile-panel:not(.hidden) {
    animation: none;
  }
}
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0.75rem 1rem;
  overflow: visible;
  clip: auto;
  white-space: normal;
  background-color: #7d5231;
  color: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.2);
  outline: 2px solid #7d5231;
  outline-offset: 2px;
}

/* Realizacje — filtry */
.realizacje-filter-btn {
  border: 2px solid rgb(231 229 228 / 0.95);
  background-color: #fff;
  color: #44403c;
  border-radius: 9999px;
  padding: 0.5rem 0.875rem;
  font-family: Inter, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.realizacje-filter-btn:hover {
  border-color: rgb(125 82 49 / 0.45);
  color: #1c1917;
}
.realizacje-filter-btn:focus-visible {
  outline: 2px solid #7d5231;
  outline-offset: 2px;
}
.realizacje-filter-btn[aria-pressed="true"] {
  background-color: #7d5231;
  border-color: #7d5231;
  color: #fff;
  box-shadow: 0 1px 2px rgb(40 38 36 / 0.08);
}
.realizacje-filter-btn[aria-pressed="true"]:hover {
  border-color: #6a4529;
  background-color: #6a4529;
  color: #fff;
}
