/* technicznaceramika.pl — style strony (na bazie Bootstrap 5.3) */

/* ---------- Czcionki dołączone lokalnie (licencja SIL OFL 1.1) ---------- */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/open-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/open-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/raleway-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/raleway-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Kolory i podstawy ---------- */
:root {
  --tc-blue: #00a7e7;        /* kolor firmowy ze starej strony */
  --tc-blue-ink: #007db3;    /* ciemniejszy odcień: odnośniki, przyciski, biały tekst na tle */
  --tc-blue-deep: #00608c;
  --tc-ink: #22303a;
  --tc-text: #4a5157;
  --tc-paper: #f9f8f5;       /* tło ze starej strony */
  --tc-line: #e6e4dd;
  --tc-font-head: "Raleway", "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --bs-body-font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --bs-body-color: var(--tc-text);
  --bs-body-bg: var(--tc-paper);
  --bs-body-line-height: 1.7;
  --bs-heading-color: var(--tc-ink);
  --bs-link-color: var(--tc-blue-ink);
  --bs-link-color-rgb: 0, 125, 179;
  --bs-link-hover-color: var(--tc-blue-deep);
  --bs-link-hover-color-rgb: 0, 96, 140;
  --bs-primary: var(--tc-blue-ink);
  --bs-primary-rgb: 0, 125, 179;
  --bs-border-color: var(--tc-line);
  --bs-focus-ring-color: rgba(0, 167, 231, .35);
}

html { scroll-padding-top: 6rem; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }
h1, h2, h3, h4, .h1, .h2, .h3, .h4 { font-family: var(--tc-font-head); font-weight: 700; line-height: 1.25; }
h3, h4, .h3, .h4 { font-weight: 600; }
img { max-width: 100%; height: auto; }
a { text-underline-offset: .18em; }
::selection { background: rgba(0, 167, 231, .25); }

.skip-link { position: absolute; left: .75rem; top: -4rem; z-index: 2000; background: #fff; color: var(--tc-ink); padding: .5rem .9rem; border-radius: .375rem; box-shadow: 0 4px 16px rgba(34, 48, 58, .2); }
.skip-link:focus { top: .75rem; }

.icon { width: 1em; height: 1em; fill: currentColor; vertical-align: -.125em; flex: none; }

/* ---------- Pasek górny i nagłówek ---------- */
.topbar { background: var(--tc-blue-ink); color: #fff; font-size: .875rem; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: .45rem; padding: .45rem 0; }
.topbar a:hover, .topbar a:focus-visible { text-decoration: underline; }

.site-header { background: #fff; border-bottom: 1px solid var(--tc-line); }
.site-header .navbar { --bs-navbar-padding-y: .6rem; }
.navbar-brand img { height: 58px; width: auto; display: block; }
.site-header .nav-link {
  font-family: var(--tc-font-head); font-weight: 600; font-size: .8125rem; letter-spacing: .09em; text-transform: uppercase;
  color: var(--tc-ink); padding: .6rem .95rem; position: relative;
}
.site-header .nav-link:hover, .site-header .nav-link:focus-visible { color: var(--tc-blue-ink); }
.site-header .nav-link.active { color: var(--tc-blue-ink); }
.navbar-toggler { border-color: var(--tc-line); padding: .45rem .6rem; }
.navbar-toggler:focus { box-shadow: 0 0 0 .2rem var(--bs-focus-ring-color); }
@media (min-width: 992px) {
  .site-header .nav-link::after {
    content: ""; position: absolute; left: .95rem; right: .95rem; bottom: .2rem; height: 2px;
    background: var(--tc-blue); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
  }
  .site-header .nav-link:hover::after, .site-header .nav-link.active::after { transform: scaleX(1); }
}
@media (max-width: 991.98px) {
  .navbar-brand img { height: 48px; }
  .site-header .navbar-nav { padding: .5rem 0 .25rem; }
  .site-header .nav-link { padding: .8rem .25rem; border-top: 1px solid var(--tc-line); }
}

/* ---------- Pas z tytułem podstrony ---------- */
.page-title {
  background: #eef2f8 url("../img/tla/naglowek-960.webp") center / cover no-repeat;
  border-bottom: 1px solid var(--tc-line); text-align: center; padding: clamp(2.25rem, 1.5rem + 3vw, 3.75rem) 0;
}
@media (min-width: 992px) { .page-title { background-image: url("../img/tla/naglowek.webp"); } }
.page-title h1 {
  margin: 0; color: var(--tc-blue-ink); text-transform: uppercase; letter-spacing: .08em;
  font-size: clamp(1.5rem, 1.15rem + 1.6vw, 2.25rem);
}

/* ---------- Sekcje ---------- */
.section { padding: clamp(2.75rem, 1.75rem + 4vw, 4.75rem) 0; }
.section--white { background: #fff; border-top: 1px solid var(--tc-line); border-bottom: 1px solid var(--tc-line); }
.section-title { position: relative; font-size: clamp(1.45rem, 1.2rem + 1.1vw, 2rem); padding-bottom: .8rem; margin-bottom: 1.25rem; }
.section-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 3rem; height: 3px; border-radius: 2px; background: var(--tc-blue); }
.text-center > .section-title::after, .section-title.text-center::after { left: 50%; transform: translateX(-50%); }
.lead { font-size: 1.125rem; font-weight: 400; color: var(--tc-ink); }
.measure { max-width: 46rem; }
.media-img { border-radius: .6rem; box-shadow: 0 18px 40px -22px rgba(34, 48, 58, .45); background: #fff; }

.btn-tc {
  --bs-btn-color: #fff; --bs-btn-bg: var(--tc-blue-ink); --bs-btn-border-color: var(--tc-blue-ink);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--tc-blue-deep); --bs-btn-hover-border-color: var(--tc-blue-deep);
  --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--tc-blue-deep); --bs-btn-active-border-color: var(--tc-blue-deep);
  --bs-btn-focus-shadow-rgb: 0, 167, 231;
  font-family: var(--tc-font-head); font-weight: 600; font-size: .875rem; letter-spacing: .08em; text-transform: uppercase;
  padding: .75rem 1.6rem; border-radius: .4rem;
}
.btn-tc .icon { margin-left: .35rem; }

.dot-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.dot-list li { position: relative; padding-left: 1.4rem; margin-bottom: .45rem; }
.dot-list li::before { content: ""; position: absolute; left: .15rem; top: .68em; width: .45rem; height: .45rem; border-radius: 50%; background: var(--tc-blue); }
.dot-list .sub-list { list-style: none; padding: 0; margin: .5rem 0 .25rem; }
.dot-list .sub-list li { padding-left: 1.2rem; }
.dot-list .sub-list li::before { width: .55rem; height: 2px; border-radius: 0; top: .8em; left: 0; background: #9aa5ad; }

/* ---------- Strona główna ---------- */
.hero { padding: clamp(1rem, .5rem + 2vw, 2rem) 0 0; }
.hero .carousel { border-radius: .6rem; overflow: hidden; background: #d9d9d9; box-shadow: 0 18px 40px -24px rgba(34, 48, 58, .5); }
.hero .carousel-item img { display: block; width: 100%; height: auto; }
.hero .carousel-control-prev, .hero .carousel-control-next { width: 9%; }
.hero .carousel-indicators { margin-bottom: .5rem; }
@media (max-width: 575.98px) {
  .hero .carousel-indicators { display: none; }
  .hero .carousel-control-prev-icon, .hero .carousel-control-next-icon { width: 1.25rem; height: 1.25rem; }
}

.band {
  background-color: #2a9fd8;
  background-image: linear-gradient(rgba(0, 96, 140, .42), rgba(0, 96, 140, .42)), url("../img/tla/ceramika-tlenkowa-960.webp");
  background-position: center; background-size: cover; background-repeat: no-repeat;
  color: #fff; text-align: center; padding: clamp(3.5rem, 2rem + 6vw, 6.5rem) 0;
}
@media (min-width: 992px) {
  .band { background-image: linear-gradient(rgba(0, 96, 140, .42), rgba(0, 96, 140, .42)), url("../img/tla/ceramika-tlenkowa.webp"); }
}
.band h1 { color: #fff; font-weight: 600; margin: 0; font-size: clamp(1.7rem, 1.1rem + 2.6vw, 3rem); }

.thumb { display: block; border-radius: .5rem; overflow: hidden; background: #fff; border: 1px solid var(--tc-line); }
.thumb img { display: block; width: 100%; aspect-ratio: 400 / 270; object-fit: cover; transition: transform .3s ease; }
.thumb:hover img, .thumb:focus-visible img { transform: scale(1.04); }

/* ---------- Kontakt ---------- */
.contact-card { background: #fff; border: 1px solid var(--tc-line); border-radius: .6rem; padding: clamp(1.25rem, 1rem + 1vw, 2rem); height: 100%; }
.contact-card address { margin-bottom: 1.25rem; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: .75rem; align-items: flex-start; padding: .7rem 0; border-top: 1px solid var(--tc-line); }
.contact-list .icon { color: var(--tc-blue); font-size: 1.1rem; margin-top: .3rem; }
.contact-list a { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { text-decoration: underline; }
.map { border-radius: .6rem; overflow: hidden; border: 1px solid var(--tc-line); background: #eceae4; min-height: 320px; height: 100%; }
.map iframe { display: block; width: 100%; height: 100%; min-height: 320px; border: 0; }

.map-wide .map, .map-wide .map iframe { height: 380px; }

.contact-card .section-title { font-size: 1.35rem; }
.contact-form .form-label { font-weight: 600; color: var(--tc-ink); margin-bottom: .35rem; }
.contact-form .form-control { background-color: #fff; border-color: #d5d2c9; padding: .6rem .8rem; }
.contact-form .form-control:focus, .contact-form .form-check-input:focus { border-color: var(--tc-blue); box-shadow: 0 0 0 .2rem var(--bs-focus-ring-color); }
.contact-form .form-check-input { border-color: #a9a69d; }
.contact-form .form-check-input:checked { background-color: var(--tc-blue-ink); border-color: var(--tc-blue-ink); }
.form-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 1rem; }
.form-status:empty { display: none; }

/* ---------- Produkty: kroki ---------- */
.step { background: #fff; border: 1px solid var(--tc-line); border-radius: .6rem; overflow: hidden; }
.step + .step { margin-top: 1.5rem; }
.step-img { width: 100%; height: 100%; min-height: 200px; object-fit: cover; display: block; }
.step-body { padding: clamp(1.25rem, 1rem + 1.2vw, 2.25rem); }
.step-body h2 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); margin-bottom: .9rem; }
.step-body > :last-child { margin-bottom: 0; }

.cta { background: #fff; border: 1px solid var(--tc-line); border-left: 4px solid var(--tc-blue); border-radius: .6rem; padding: 1.5rem clamp(1.25rem, 1rem + 1.5vw, 2.25rem); }
.cta h2, .cta h3 { font-size: 1.25rem; margin: 0; }

/* ---------- Zastosowanie: branże ---------- */
.industry { background: #fff; border: 1px solid var(--tc-line); border-radius: .6rem; padding: 1.5rem 1.5rem 1.1rem; height: 100%; }
.industry-icon { height: 56px; display: flex; align-items: center; margin-bottom: 1rem; }
.industry-icon img { max-height: 56px; width: auto; }
.industry h3 { font-size: .95rem; letter-spacing: .07em; text-transform: uppercase; margin-bottom: .9rem; padding-bottom: .7rem; border-bottom: 2px solid var(--tc-blue); }
.industry .dot-list { margin-bottom: 0; font-size: .95rem; }

/* ---------- Galeria ---------- */
.gallery-nav { display: flex; justify-content: center; gap: .5rem; margin-bottom: 2rem; }
.gallery-nav a {
  font-family: var(--tc-font-head); font-weight: 600; font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; color: var(--tc-ink); background: #fff; border: 1px solid var(--tc-line); border-radius: 2rem; padding: .5rem 1.3rem;
}
.gallery-nav a:hover { border-color: var(--tc-blue); color: var(--tc-blue-ink); }
.gallery-nav a.active { background: var(--tc-blue-ink); border-color: var(--tc-blue-ink); color: #fff; }

.gallery-item {
  position: relative; display: block; aspect-ratio: 1 / 1; background: #fff; border: 1px solid var(--tc-line); border-radius: .6rem; overflow: hidden;
  cursor: zoom-in; box-shadow: 0 10px 24px -20px rgba(34, 48, 58, .5);
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease, border-color .2s ease, opacity .5s ease;
}
.gallery-item img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.gallery-item::after {   /* znak "powiększ" w rogu kafla */
  content: "+"; position: absolute; right: .6rem; bottom: .6rem; width: 2.2rem; height: 2.2rem; border-radius: 50%;
  background: var(--tc-blue-ink); color: #fff; font: 400 1.5rem/2.1rem var(--tc-font-head); text-align: center;
  box-shadow: 0 6px 14px -4px rgba(0, 96, 140, .7); opacity: 0; transform: scale(.6); transition: opacity .25s ease, transform .25s ease;
}
.gallery-item:hover, .gallery-item:focus-visible { border-color: var(--tc-blue); transform: translateY(-5px); box-shadow: 0 26px 44px -22px rgba(34, 48, 58, .6), 0 8px 18px -12px rgba(0, 125, 179, .45); }
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.07); }
.gallery-item:hover::after, .gallery-item:focus-visible::after { opacity: 1; transform: none; }
.gallery-item.is-przed { opacity: 0; transform: translateY(22px); }   /* kafel czeka na pojawienie się przy przewijaniu */

.gallery-tile { position: relative; display: block; border-radius: .6rem; overflow: hidden; background: var(--tc-ink); color: #fff; text-decoration: none; box-shadow: 0 18px 40px -24px rgba(34, 48, 58, .5); }
.gallery-tile img { display: block; width: 100%; aspect-ratio: 8 / 3; object-fit: cover; transition: transform .35s ease, opacity .35s ease; }
.gallery-tile:hover img, .gallery-tile:focus-visible img { transform: scale(1.04); opacity: .9; }
.gallery-tile span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1.25rem .9rem; color: #fff;
  font-family: var(--tc-font-head); font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: linear-gradient(transparent, rgba(20, 30, 38, .78));
}

.video { border-radius: .6rem; overflow: hidden; background: #111; box-shadow: 0 18px 40px -24px rgba(34, 48, 58, .5); }

/* ---------- Przeglądarka zdjęć (okno tworzy assets/js/site.js) ---------- */
html.lb-zablokowane { overflow: hidden; }
.lb {
  --lb-tlo: 1;
  position: fixed; inset: 0; z-index: 2000; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto minmax(0, 1fr) auto;
  color: #fff; outline: 0; opacity: 0; transition: opacity .3s ease;
}
.lb[hidden] { display: none; }
.lb.is-otwarte { opacity: 1; }
.lb-tlo {
  position: absolute; inset: 0; opacity: var(--lb-tlo);
  background: radial-gradient(120% 90% at 50% 38%, rgba(0, 96, 140, .62), rgba(9, 17, 23, .93) 72%);
  -webkit-backdrop-filter: blur(16px) saturate(125%); backdrop-filter: blur(16px) saturate(125%);
}
.lb-gora { position: relative; grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem 1rem .25rem; }
.lb-licznik { font-family: var(--tc-font-head); font-weight: 600; font-size: .875rem; letter-spacing: .14em; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
.lb-przyciski { display: inline-flex; gap: .6rem; }
.lb-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; padding: 0; border-radius: 50%;
  color: #fff; background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .28);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .6);
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}
.lb-btn svg { width: 1.1rem; height: 1.1rem; fill: currentColor; }
.lb-btn:hover { background: rgba(255, 255, 255, .28); border-color: rgba(255, 255, 255, .55); transform: scale(1.08); }
.lb-btn:active { transform: scale(.96); }
.lb-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.lb-strzalka { position: relative; grid-row: 2; align-self: center; width: 3.25rem; height: 3.25rem; margin: 0 1.25rem; }
.lb-strzalka svg { width: 1.3rem; height: 1.3rem; }
.lb-poprz { grid-column: 1; }
.lb-nast { grid-column: 3; }
.lb-scena { position: relative; grid-row: 2; grid-column: 2; min-height: 0; touch-action: none; cursor: grab; }
.lb-scena.is-ciagniete { cursor: grabbing; }
.lb-slajd {
  position: absolute; inset: 0; margin: 0; display: flex; align-items: center; justify-content: center;
  transition: transform .52s cubic-bezier(.2, .7, .2, 1), opacity .42s ease, filter .42s ease; will-change: transform, opacity;
}
.lb-slajd img {
  display: block; max-width: 100%; max-height: 100%; background: #fff; border-radius: .55rem; cursor: default;
  box-shadow: 0 36px 90px -24px rgba(0, 0, 0, .78), 0 12px 32px -12px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .14);
  -webkit-user-select: none; user-select: none; -webkit-user-drag: none;
}
.lb-slajd.lb-z-prawej, .lb-slajd.lb-w-prawo { opacity: 0; transform: translateX(10%) scale(.9); filter: blur(10px); }
.lb-slajd.lb-z-lewej, .lb-slajd.lb-w-lewo { opacity: 0; transform: translateX(-10%) scale(.9); filter: blur(10px); }
.lb-slajd.lb-bez-animacji { transition: none; }
.lb-dol { position: relative; grid-column: 1 / -1; padding: .6rem 1rem 1rem; text-align: center; }
.lb-podpis { margin: 0 0 .55rem; min-height: 1.5em; font-size: .9375rem; text-shadow: 0 1px 2px rgba(0, 0, 0, .55); }
.lb-pasek { overflow-x: auto; white-space: nowrap; padding: .4rem .25rem .5rem; scrollbar-width: none; }
.lb-pasek::-webkit-scrollbar { display: none; }
.lb-mini {
  display: inline-block; vertical-align: middle; width: 3.5rem; height: 3.5rem; margin: 0 .22rem; padding: 0; overflow: hidden;
  background: #fff; border: 2px solid transparent; border-radius: .45rem; opacity: .5;
  transition: opacity .25s ease, transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.lb-mini img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lb-mini:hover, .lb-mini:focus-visible { opacity: .92; outline: 0; }
.lb-mini.is-aktywna { opacity: 1; border-color: var(--tc-blue); transform: translateY(-4px) scale(1.1); box-shadow: 0 10px 20px -8px rgba(0, 0, 0, .7); }
.lb-postep { visibility: hidden; height: 3px; max-width: 14rem; margin: .45rem auto 0; overflow: hidden; background: rgba(255, 255, 255, .22); border-radius: 2px; }
.lb.is-pokaz .lb-postep { visibility: visible; }
.lb-postep span { display: block; width: 0; height: 100%; background: var(--tc-blue); }
.lb-postep span.is-biegnie { animation: lb-postep 3.5s linear forwards; }
@keyframes lb-postep { to { width: 100%; } }
.lb.is-jedno .lb-strzalka, .lb.is-jedno .lb-pasek, .lb.is-jedno .lb-postep, .lb.is-jedno [data-lb="pokaz"], .lb.is-jedno .lb-licznik { visibility: hidden; }
@media (max-width: 767.98px) {
  .lb-scena { grid-column: 1 / -1; margin: 0 .75rem; }
  .lb-strzalka { z-index: 2; width: 2.5rem; height: 2.5rem; margin: 0 .35rem; background: rgba(9, 30, 44, .55); border-color: rgba(255, 255, 255, .45); }
  .lb-strzalka:hover { background: rgba(9, 30, 44, .75); }
  .lb-poprz { grid-column: 1; justify-self: start; }
  .lb-nast { grid-column: 3; justify-self: end; }
  .lb-mini { width: 2.9rem; height: 2.9rem; }
  .lb-podpis { font-size: .875rem; }
}

/* ---------- Stopka ---------- */
.site-footer { background: #fff; border-top: 1px solid var(--tc-line); font-size: .9375rem; }
.site-footer .footer-main { padding-top: 2.5rem; padding-bottom: 2rem; }
.site-footer .footer-logo { height: 72px; width: auto; }
.footer-nav { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .35rem 1.4rem; }
.footer-nav a, .footer-contact a { color: var(--tc-ink); text-decoration: none; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--tc-blue-ink); text-decoration: underline; }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; align-items: center; gap: .55rem; margin-bottom: .35rem; }
.footer-contact .icon { color: var(--tc-blue); }
.social { display: flex; gap: .6rem; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid var(--tc-line); color: var(--tc-blue-ink); font-size: 1.1rem; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.social a:hover, .social a:focus-visible { background: var(--tc-blue-ink); border-color: var(--tc-blue-ink); color: #fff; }
.footer-bottom { border-top: 4px solid var(--tc-blue); padding: .9rem 0; font-size: .8125rem; background: var(--tc-paper); }
.footer-bottom p { margin: 0; }

/* ---------- Katalog produktów standardowych ---------- */
.crumbs { --bs-breadcrumb-divider: "›"; font-size: .875rem; margin-bottom: 1.5rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.catalog-body { background: #fff; border: 1px solid var(--tc-line); border-radius: .6rem; padding: clamp(1.25rem, 1rem + 1.2vw, 2.25rem); }
.catalog-body > :last-child, .catalog-body > .table-responsive:last-child .table-tc { margin-bottom: 0; }
.catalog-body h2 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); margin: 1.75rem 0 .9rem; }
.catalog-body h2:first-child { margin-top: 0; }
.catalog-body hr { margin: 2rem 0; border-top: 1px solid var(--tc-blue); opacity: .55; }
.product-figures { margin-bottom: 1.5rem; }
.product-figures img { max-height: 320px; width: auto; }
.product-figures a, .article a[data-podglad-zdjecie] { display: inline-block; cursor: zoom-in; }
.table-responsive { margin-bottom: 1.5rem; }
.table-tc { --bs-table-bg: #fff; --bs-table-border-color: var(--tc-line); font-size: .9rem; text-align: center; vertical-align: middle; margin-bottom: 0; }
.table-tc thead th { background: #eaf5fa; color: var(--tc-ink); font-weight: 600; vertical-align: middle; }
.table-tc tbody tr:nth-child(even) > * { background: #faf9f6; }
.table-tc td, .table-tc th { padding: .4rem .6rem; }
.table-tc img { max-width: 180px; }

.catalog-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--tc-line); border-radius: .6rem; overflow: hidden; text-decoration: none; color: var(--tc-ink); transition: border-color .2s ease, box-shadow .2s ease; }
.catalog-card img, .catalog-card-empty { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: contain; padding: .75rem; background: #fff; }
.catalog-card > span:last-child { margin-top: auto; padding: .7rem .8rem; border-top: 1px solid var(--tc-line); font-family: var(--tc-font-head); font-weight: 600; font-size: .9rem; text-align: center; }
.catalog-card:hover, .catalog-card:focus-visible { border-color: var(--tc-blue); color: var(--tc-blue-ink); box-shadow: 0 12px 28px -18px rgba(34, 48, 58, .5); }

.catalog-box { background: #fff; border: 1px solid var(--tc-line); border-radius: .6rem; padding: 1.25rem; margin-bottom: 1.25rem; font-size: .9375rem; }
.catalog-box h2 { font-size: .95rem; letter-spacing: .07em; text-transform: uppercase; margin-bottom: .9rem; padding-bottom: .7rem; border-bottom: 2px solid var(--tc-blue); }
.catalog-box h2 a { color: inherit; text-decoration: none; }
.catalog-box h2 a:hover { color: var(--tc-blue-ink); }
.catalog-box--accent { background: var(--tc-blue-ink); border-color: var(--tc-blue-ink); color: #fff; }
.catalog-box--accent h2 { color: #fff; border-bottom-color: rgba(255, 255, 255, .45); }
.catalog-box--accent a { color: #fff; font-weight: 600; overflow-wrap: anywhere; }
.catalog-nav { list-style: none; padding: 0; margin: 0; }
.catalog-nav a { display: block; padding: .45rem 0; border-top: 1px solid var(--tc-line); text-decoration: none; color: var(--tc-ink); }
.catalog-nav li:first-child a { border-top: 0; }
.catalog-nav a:hover { color: var(--tc-blue-ink); }
.catalog-nav a.active { color: var(--tc-blue-ink); font-weight: 700; }

/* ---------- Aktualności i artykuły ---------- */
.post-list { max-width: 58rem; }
.post-card { display: flex; gap: 1.5rem; background: #fff; border: 1px solid var(--tc-line); border-radius: .6rem; padding: 1.25rem; }
.post-card + .post-card { margin-top: 1.25rem; }
.post-thumb { flex: 0 0 190px; }
.post-thumb img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: .4rem; border: 1px solid var(--tc-line); }
.post-card-body { min-width: 0; }
.post-card h2 { font-size: 1.2rem; margin-bottom: .5rem; }
.post-card h2 a { color: var(--tc-ink); text-decoration: none; }
.post-card h2 a:hover { color: var(--tc-blue-ink); }
.post-card p { margin-bottom: .6rem; }
.post-date { font-size: .8125rem; color: #6b747b; letter-spacing: .05em; text-transform: uppercase; margin-bottom: .4rem; }
.post-date a { color: inherit; }
.post-more { font-family: var(--tc-font-head); font-weight: 600; font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.post-more .icon { margin-left: .35rem; }
@media (max-width: 575.98px) {
  .post-card { flex-direction: column; gap: 1rem; }
  .post-thumb { flex-basis: auto; }
}
.article { max-width: 52rem; background: #fff; border: 1px solid var(--tc-line); border-radius: .6rem; padding: clamp(1.25rem, 1rem + 2vw, 3rem); }
.article::after { content: ""; display: block; clear: both; }
.article-title { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem); margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 3px solid var(--tc-blue); }
.article h2 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.45rem); margin: 2rem 0 .8rem; }
.article h3 { font-size: 1.1rem; margin: 1.5rem 0 .6rem; }
.article img { border-radius: .3rem; }
.article-figures { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1rem 1.75rem; margin: 1.25rem 0; }
.article-figures img { max-width: 100%; height: auto; }
.article-figures a { flex: 0 1 auto; }
.article-back { clear: both; margin: 2rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--tc-line); }
.article-back a { font-weight: 600; text-decoration: none; }

/* ---------- Pobierz ---------- */
.download-card { background: #fff; border: 1px solid var(--tc-line); border-radius: .6rem; padding: 1.5rem; }
.download-card h2 { font-size: .95rem; letter-spacing: .07em; text-transform: uppercase; margin-bottom: .6rem; padding-bottom: .7rem; border-bottom: 2px solid var(--tc-blue); }
.download-list { list-style: none; padding: 0; margin: 0; }
.download-list li { position: relative; padding: .55rem 0 .55rem 1.5rem; border-top: 1px solid var(--tc-line); }
.download-list li:first-child { border-top: 0; }
.download-list li::before { content: ""; position: absolute; left: .1rem; top: 1.1em; width: .5rem; height: .5rem; border-right: 2px solid var(--tc-blue); border-bottom: 2px solid var(--tc-blue); transform: rotate(-45deg); }
.download-list a { font-weight: 600; text-decoration: none; }
.download-list a:hover { text-decoration: underline; }
.file-size { font-size: .8rem; color: #6b747b; white-space: nowrap; }

.footer-bottom a { color: inherit; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  .lb-postep span.is-biegnie { animation: none; width: 100%; }
}
