/*
 * Biblioteka sekcji (TREJKA Bricks Toolkit).
 * Wygląd sekcji tbt-s*. Kolory, odstępy i zaokrąglenia ze Stylu Bricks (--tbt-kolor-*, --tbt-odstep-*, --tbt-promien),
 * z wartościami zapasowymi, gdy moduł Styl Bricks nie jest włączony. Rozmiary w px (Bricks: html { font-size: 62.5% }).
 */

.tbt-s {
	--_akcent: var(--tbt-kolor-akcent, var(--tbt-akcent, #bc0000));
	--_ciemny: var(--tbt-kolor-ciemny, #1a1a18);
	--_tekst: var(--tbt-kolor-tekst, #3d3a38);
	--_tekst-2: var(--tbt-kolor-tekst-2, #6b6564);
	--_naglowki: var(--tbt-kolor-naglowki, #1a1a18);
	--_ramka: var(--tbt-kolor-ramka, #ececec);
	--_tlo: var(--tbt-s-tlo-alt, var(--tbt-kolor-tlo, #f6f5f3));
	--_promien: var(--tbt-promien, 8px);
	--_odstep: var(--tbt-odstep-xxl, 96px);
	padding-block: clamp(56px, 8vw, var(--_odstep));
	color: var(--_tekst);
}
.tbt-s--alt { background: var(--_tlo); }
.tbt-s--ciemna { --_tekst: rgba(255, 255, 255, .78); --_tekst-2: rgba(255, 255, 255, .62); --_naglowki: #fff; background: var(--_ciemny); color: var(--_tekst); }
.tbt-s .tbt-s__kontener { gap: 40px; }

/* Wspólne */
.tbt-s .tbt-s__glowa { max-width: 720px; gap: 12px; }
.tbt-s__nadtytul { color: var(--_akcent); font-size: 13px; font-weight: 700; letter-spacing: .08em; line-height: 1.4; text-transform: uppercase; }
.tbt-s--ciemna .tbt-s__nadtytul { color: #fff; opacity: .7; }
.tbt-s .tbt-s__tytul { margin: 0; color: var(--_naglowki); }
.tbt-s .tbt-s__lead { margin: 0; color: var(--_tekst-2); font-size: 18px; line-height: 1.6; }
.tbt-s .tbt-s__przyciski { flex-direction: row; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.tbt-s .tbt-s__siatka { display: grid; gap: 30px; width: 100%; }
.tbt-s .tbt-s__siatka--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tbt-s .tbt-s__siatka--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 991px) {
	.tbt-s .tbt-s__siatka--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tbt-s .tbt-s__siatka--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	.tbt-s .tbt-s__siatka--3 { grid-template-columns: minmax(0, 1fr); }
}
.tbt-s-lista { margin: 16px 0 0; padding: 0; list-style: none; }
.tbt-s-lista li { position: relative; margin: 0 0 10px; padding-left: 30px; }
.tbt-s-lista li::before {
	content: "";
	position: absolute;
	top: .3em;
	left: 0;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--_akcent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.tbt-s img { border-radius: var(--_promien); }

/* Przycisk z obrysem: Bricks daje mu kolor tekstu ze Stylu motywu (często biały). */
.tbt-s .bricks-button.outline { border: 1px solid currentColor; background: transparent; color: var(--_akcent); }
.tbt-s .bricks-button.outline:hover { background: var(--_akcent); border-color: var(--_akcent); color: #fff; }
.tbt-s--ciemna .bricks-button.outline { color: #fff; }

/* Hero */
.tbt-s--hero .tbt-s__kontener { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: clamp(30px, 5vw, 70px); }
.tbt-s .tbt-s-hero__tekst { gap: 16px; }
.tbt-s .tbt-s-hero__tytul { margin: 0; color: var(--_naglowki); font-size: clamp(34px, 5vw, 56px); line-height: 1.1; }
/* Bricks daje klasy elementu „Obraz” samemu <img> (bez opakowania), a z podpisem albo linkiem – opakowaniu. */
.tbt-s .tbt-s-hero__obraz,
.tbt-s .tbt-s-hero__obraz img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 991px) { .tbt-s--hero .tbt-s__kontener { grid-template-columns: minmax(0, 1fr); } }
.tbt-s--hero-srodek .tbt-s__kontener { align-items: center; gap: 16px; text-align: center; }
.tbt-s--hero-srodek .tbt-s__lead { max-width: 640px; }
.tbt-s--hero-srodek .tbt-s__przyciski { justify-content: center; }

/* Usługi */
.tbt-s .tbt-s-karta { gap: 12px; padding: 32px; border: 1px solid var(--_ramka); border-radius: var(--_promien); background: #fff; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.tbt-s .tbt-s-karta:hover { border-color: transparent; box-shadow: 0 16px 34px rgba(26, 26, 24, .08); transform: translateY(-4px); }
.tbt-s .tbt-s-karta__ikona { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 12px; background: color-mix(in srgb, var(--_akcent) 10%, transparent); color: var(--_akcent); font-size: 24px; }
.tbt-s .tbt-s-karta__tytul { margin: 8px 0 0; color: var(--_naglowki); font-size: 20px; line-height: 1.3; }
.tbt-s .tbt-s-karta__tekst { margin: 0; color: var(--_tekst-2); line-height: 1.6; }
.tbt-s .tbt-s-karta__link { margin-top: auto; padding-top: 4px; font-weight: 600; }
.tbt-s .tbt-s-karta__link a { color: var(--_akcent); text-decoration: none; }

/* Atuty */
.tbt-s .tbt-s-liczba { gap: 6px; text-align: center; }
.tbt-s-liczba__wartosc { color: var(--_naglowki); font-size: clamp(32px, 4vw, 48px); font-weight: 700; line-height: 1.1; }
.tbt-s-liczba__opis { color: var(--_tekst-2); font-size: 15px; }

/* O nas */
.tbt-s--o-nas .tbt-s__kontener { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: clamp(30px, 5vw, 70px); }
.tbt-s .tbt-s-o-nas__obraz,
.tbt-s .tbt-s-o-nas__obraz img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.tbt-s .tbt-s-o-nas__tekst { align-items: flex-start; gap: 14px; }
.tbt-s .tbt-s__tresc p { margin: 0; }
@media (max-width: 991px) {
	.tbt-s--o-nas .tbt-s__kontener { grid-template-columns: minmax(0, 1fr); }
	.tbt-s .tbt-s-o-nas__obraz,
	.tbt-s .tbt-s-o-nas__obraz img { aspect-ratio: 4 / 3; }
}

/* Opinie */
.tbt-s .tbt-s-opinia { gap: 14px; margin: 0; padding: 30px; border-radius: var(--_promien); background: #fff; box-shadow: 0 1px 2px rgba(26, 26, 24, .05); }
.tbt-s-opinia__gwiazdki { color: #f5a623; font-size: 18px; letter-spacing: 2px; }
.tbt-s-opinia__tresc { color: var(--_tekst); font-size: 16px; line-height: 1.65; }
.tbt-s-opinia__autor { margin-top: auto; color: var(--_tekst-2); font-size: 14px; }
.tbt-s-opinia__autor strong { display: block; color: var(--_naglowki); font-size: 15px; }

/* FAQ (element Bricks „Akordeon”) */
.tbt-s--faq .tbt-s__kontener { align-items: center; }
.tbt-s--faq .tbt-s__glowa { align-items: center; text-align: center; }
.tbt-s .tbt-s-faq { width: 100%; max-width: 820px; }
.tbt-s-faq .accordion-item { border-bottom: 1px solid var(--_ramka); }
.tbt-s-faq .accordion-title-wrapper { padding: 20px 0; cursor: pointer; }
.tbt-s-faq .accordion-title-wrapper .brxe-heading,
.tbt-s-faq .accordion-title { margin: 0; color: var(--_naglowki); font-size: 18px; font-weight: 600; }
.tbt-s-faq .accordion-content-wrapper { padding: 0 0 20px; color: var(--_tekst-2); line-height: 1.65; }

/* Cennik */
.tbt-s--cennik .tbt-s__kontener { align-items: center; }
.tbt-s--cennik .tbt-s__glowa { align-items: center; text-align: center; }
.tbt-s .tbt-s-pakiet { position: relative; gap: 10px; padding: 34px 30px; border: 1px solid var(--_ramka); border-radius: var(--_promien); background: #fff; }
.tbt-s .tbt-s-pakiet--wyrozniony { border: 2px solid var(--_akcent); box-shadow: 0 20px 40px rgba(26, 26, 24, .08); }
.tbt-s-pakiet__znacznik { position: absolute; top: -13px; left: 30px; padding: 4px 12px; border-radius: 999px; background: var(--_akcent); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.tbt-s .tbt-s-pakiet__nazwa { margin: 0; color: var(--_naglowki); font-size: 20px; }
.tbt-s-pakiet__cena { color: var(--_naglowki); font-size: 30px; font-weight: 700; line-height: 1.2; }
.tbt-s .tbt-s-pakiet__opis { margin: 0; color: var(--_tekst-2); }
.tbt-s .tbt-s-pakiet__lista { flex-grow: 1; }
.tbt-s .tbt-s-pakiet__przycisk { width: 100%; justify-content: center; }
@media (max-width: 991px) { .tbt-s--cennik .tbt-s__siatka--3 { grid-template-columns: minmax(0, 1fr); max-width: 480px; margin-inline: auto; } }

/* Wezwanie do działania */
.tbt-s--cta { padding-block: clamp(48px, 6vw, 72px); }
.tbt-s--cta .tbt-s__kontener { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 30px; }
.tbt-s .tbt-s-cta__tekst { gap: 8px; width: auto; max-width: 640px; }
.tbt-s .tbt-s-cta__akcje { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 24px; width: auto; }
.tbt-s-cta__telefon a { color: #fff; font-size: clamp(22px, 3vw, 30px); font-weight: 700; text-decoration: none; white-space: nowrap; }

/* Kontakt */
.tbt-s--kontakt .tbt-s__kontener { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; gap: clamp(30px, 5vw, 70px); }
.tbt-s .tbt-s-kontakt__formularz { gap: 30px; }
.tbt-s .tbt-s-kontakt__dane > * { width: 100%; }
.tbt-s-formularz input:not([type=checkbox]):not([type=radio]),
.tbt-s-formularz textarea { border: 1px solid var(--_ramka); border-radius: calc(var(--_promien) * .75); background: #fff; }
.tbt-s-formularz input:focus,
.tbt-s-formularz textarea:focus { border-color: var(--_akcent); outline: 2px solid color-mix(in srgb, var(--_akcent) 20%, transparent); }
.tbt-s-formularz textarea { min-height: 160px; }
.tbt-s-formularz .bricks-button { padding: 14px 28px; font-size: 16px; }
@media (max-width: 991px) { .tbt-s--kontakt .tbt-s__kontener { grid-template-columns: minmax(0, 1fr); } }

/* Proste strony (Dziękujemy, 404) */
.tbt-s--prosta .tbt-s__kontener { align-items: center; gap: 16px; min-height: 40vh; justify-content: center; text-align: center; }
.tbt-s--prosta .tbt-s__lead { max-width: 560px; }
.tbt-s--prosta .tbt-s__przyciski { justify-content: center; }
.tbt-s-duzy { color: var(--_akcent); font-size: clamp(72px, 12vw, 140px); font-weight: 800; line-height: 1; }

@media (prefers-reduced-motion: reduce) {
	.tbt-s .tbt-s-karta { transition: none; }
	.tbt-s .tbt-s-karta:hover { transform: none; }
}

/* ===== Sekcje biznesowe (0.11.0) ===== */

/* Hero z telefonem */
.tbt-s--hero-telefon .tbt-s__kontener { gap: 16px; }
.tbt-s--hero-telefon .tbt-s-hero__tytul { max-width: 820px; }
.tbt-s--hero-telefon .tbt-s__lead { max-width: 640px; }
.tbt-s .tbt-s-hero-telefon__atuty { flex-direction: row; flex-wrap: wrap; gap: 12px 28px; margin-top: 20px; }
.tbt-s .tbt-s-atut { flex-direction: row; align-items: center; gap: 10px; width: auto; }
.tbt-s-atut__ikona { color: var(--_akcent); font-size: 20px; }
.tbt-s--ciemna .tbt-s-atut__ikona { color: #fff; opacity: .9; }
.tbt-s-atut__tekst { font-weight: 600; }

/* Pas zaufania */
.tbt-s--zaufanie { padding-block: 22px; border-block: 1px solid var(--_ramka); }
.tbt-s .tbt-s-zaufanie { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tbt-s .tbt-s-zaufanie__el { flex-direction: row; align-items: center; justify-content: center; gap: 10px; }
.tbt-s-zaufanie__ikona { color: var(--_akcent); font-size: 20px; }
.tbt-s-zaufanie__tekst { color: var(--_tekst-2); font-size: 15px; }
.tbt-s-zaufanie__tekst strong { color: var(--_naglowki); font-size: 18px; }
@media (max-width: 767px) { .tbt-s .tbt-s-zaufanie { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tbt-s .tbt-s-zaufanie__el { justify-content: flex-start; } }

/* Kroki */
.tbt-s .tbt-s-kroki { margin: 0; padding: 0; list-style: none; counter-reset: none; }
.tbt-s .tbt-s-krok { position: relative; gap: 10px; margin: 0; padding-top: 8px; }
.tbt-s-krok__nr { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 2px solid var(--_akcent); border-radius: 50%; color: var(--_akcent); font-size: 20px; font-weight: 700; }
.tbt-s .tbt-s-krok__tytul { margin: 8px 0 0; color: var(--_naglowki); font-size: 19px; }
.tbt-s .tbt-s-krok__tekst { margin: 0; color: var(--_tekst-2); line-height: 1.6; }
@media (min-width: 992px) {
	.tbt-s .tbt-s-krok:not(:last-child)::after { content: ""; position: absolute; top: 32px; left: 60px; right: -18px; height: 2px; background: linear-gradient(90deg, var(--_ramka) 50%, transparent 0) 0 0 / 10px 2px repeat-x; }
}

/* Logotypy */
.tbt-s--logotypy { padding-block: clamp(36px, 5vw, 56px); }
.tbt-s--logotypy .tbt-s__kontener { align-items: center; gap: 24px; }
.tbt-s .tbt-s-logotypy { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); align-items: center; gap: 24px 40px; width: 100%; }
.tbt-s .tbt-s-logotypy__logo { width: 100%; max-height: 56px; border-radius: 0; object-fit: contain; filter: grayscale(1); opacity: .6; transition: filter .2s ease, opacity .2s ease; }
.tbt-s .tbt-s-logotypy__logo:hover { filter: none; opacity: 1; }
@media (max-width: 767px) { .tbt-s .tbt-s-logotypy { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Realizacje */
.tbt-s .tbt-s-realizacja { overflow: hidden; gap: 0; border: 1px solid var(--_ramka); border-radius: var(--_promien); background: #fff; }
.tbt-s .tbt-s-realizacja__obraz { width: 100%; aspect-ratio: 16 / 10; border-radius: 0; object-fit: cover; }
.tbt-s .tbt-s-realizacja__tresc { flex-grow: 1; gap: 8px; padding: 24px 26px 28px; }
.tbt-s-realizacja__branza { color: var(--_akcent); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.tbt-s .tbt-s-realizacja__tytul { margin: 0; color: var(--_naglowki); font-size: 20px; }
.tbt-s .tbt-s-realizacja__efekt { margin: 0; color: var(--_tekst); font-weight: 600; }
.tbt-s--realizacje .tbt-s__przyciski { justify-content: center; width: 100%; }

/* Zespół i osoby */
.tbt-s .tbt-s-osoba { gap: 6px; }
.tbt-s .tbt-s-osoba__zdjecie { width: 100%; aspect-ratio: 4 / 5; margin-bottom: 10px; object-fit: cover; }
.tbt-s .tbt-s-osoba__imie { margin: 0; color: var(--_naglowki); font-size: 18px; }
.tbt-s-osoba__rola { color: var(--_akcent); font-size: 14px; font-weight: 600; }
.tbt-s .tbt-s-osoba__opis { margin: 4px 0 0; color: var(--_tekst-2); font-size: 15px; }
.tbt-s .tbt-s-kontakt-osoba { flex-direction: row; align-items: center; gap: 18px; padding: 22px; border-radius: var(--_promien); background: #fff; }
.tbt-s .tbt-s-kontakt-osoba__zdjecie { flex: 0 0 auto; width: 84px; height: 84px; border-radius: 50%; object-fit: cover; }
.tbt-s .tbt-s-kontakt-osoba__dane { gap: 4px; min-width: 0; }
.tbt-s-kontakt-osoba__linki { margin-top: 6px; font-size: 15px; line-height: 1.7; overflow-wrap: anywhere; }
.tbt-s-kontakt-osoba__linki a { color: var(--_naglowki); text-decoration: none; }
.tbt-s-kontakt-osoba__linki a:hover { color: var(--_akcent); }

/* Wartości 2×2 */
.tbt-s .tbt-s-wartosci { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 48px; }
.tbt-s .tbt-s-wartosc { flex-direction: row; align-items: flex-start; gap: 18px; }
.tbt-s .tbt-s-wartosc .tbt-s-karta__ikona { flex: 0 0 auto; }
.tbt-s .tbt-s-wartosc__tresc { gap: 6px; }
.tbt-s .tbt-s-wartosc .tbt-s-karta__tytul { margin: 0; }
@media (max-width: 767px) { .tbt-s .tbt-s-wartosci { grid-template-columns: minmax(0, 1fr); } }

/* Oś czasu */
.tbt-s .tbt-s-os { position: relative; width: 100%; max-width: 760px; margin: 0; padding: 0 0 0 36px; list-style: none; }
.tbt-s .tbt-s-os::before { content: ""; position: absolute; top: 6px; bottom: 6px; left: 8px; width: 2px; background: var(--_ramka); }
.tbt-s .tbt-s-os__el { position: relative; gap: 4px; margin: 0 0 34px; }
.tbt-s .tbt-s-os__el:last-child { margin-bottom: 0; }
.tbt-s .tbt-s-os__el::before { content: ""; position: absolute; top: 5px; left: -34px; width: 14px; height: 14px; border: 3px solid var(--_akcent); border-radius: 50%; background: #fff; }
.tbt-s-os__rok { color: var(--_akcent); font-size: 14px; font-weight: 700; }
.tbt-s .tbt-s-os__tytul { margin: 0; color: var(--_naglowki); font-size: 20px; }
.tbt-s .tbt-s-os__tekst { margin: 0; color: var(--_tekst-2); }

/* List od właściciela */
.tbt-s--list .tbt-s__kontener { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(30px, 5vw, 70px); }
.tbt-s .tbt-s-list__zdjecie { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.tbt-s .tbt-s-list__tekst { gap: 16px; }
.tbt-s .tbt-s-list__tytul { font-size: clamp(30px, 4vw, 44px); line-height: 1.15; }
.tbt-s .tbt-s__tresc p { margin: 0 0 14px; font-size: 17px; line-height: 1.75; }
.tbt-s-list__podpis { margin-top: 8px; color: var(--_naglowki); font-size: 20px; font-style: italic; font-weight: 600; }
.tbt-s-list__podpis span { color: var(--_tekst-2); font-size: 14px; font-style: normal; font-weight: 400; }
@media (max-width: 991px) { .tbt-s--list .tbt-s__kontener { grid-template-columns: minmax(0, 1fr); } .tbt-s .tbt-s-list__zdjecie { aspect-ratio: 4 / 3; } }

/* Mapa i dojazd */
.tbt-s--mapa .tbt-s__kontener { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); align-items: stretch; gap: clamp(30px, 5vw, 60px); }
.tbt-s .tbt-s-mapa__dane { gap: 22px; }
.tbt-s .tbt-s-mapa__mapa { width: 100%; }
.tbt-mapa { position: relative; overflow: hidden; height: 100%; min-height: var(--tbt-mapa-h, 420px); border-radius: var(--tbt-promien, 8px); background: #eceae7 repeating-linear-gradient(45deg, transparent 0 18px, rgba(255, 255, 255, .45) 18px 36px); }
.tbt-mapa iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tbt-mapa__zaslona { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; text-align: center; }
.tbt-mapa__adres { margin: 0; color: #1a1a18; font-size: 17px; font-weight: 600; }
.tbt-mapa__pokaz { padding: 12px 24px; border: 0; border-radius: 6px; background: var(--tbt-kolor-akcent, var(--tbt-akcent, #bc0000)); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.tbt-mapa__pokaz:hover, .tbt-mapa__pokaz:focus-visible { filter: brightness(.92); }
.tbt-mapa__info { max-width: 360px; margin: 0; color: #5f5a58; font-size: 13px; }
.tbt-mapa__info a { color: inherit; }
.tbt-mapa--pusta { display: flex; align-items: center; justify-content: center; padding: 24px; }
@media (max-width: 991px) { .tbt-s--mapa .tbt-s__kontener { grid-template-columns: minmax(0, 1fr); } }

@media (prefers-reduced-motion: reduce) {
	.tbt-s .tbt-s-logotypy__logo { transition: none; }
}
