/**
 * Kontakt, /kontakt/ — samodzielne komponenty kt-, wygląd makiety właścicielki. Wzór:
 * assets/css/opinie-hub.css (ta sama baza makiet) i <style> makiety na klasach kt-. Wszystko
 * pod .kt, tokeny --kt-*, stany is-*, haki JS wyłącznie data-kt-*; nagłówek i stopka zachowują
 * swoje arkusze. Formularz rysuje komponent kwestionariusza (klasy .kzw z kwestionariusz.css);
 * jego wygląd na tej stronie ustawia region KT:FORMULARZ. Regiony KT:* dzielą plik między
 * sekcje, każdy niesie swoje @media; KT:SCENA należy do partiala scena.php.
 */

/* ==== KT:BAZA ==== */
.kt {
    --kt-night: #0f0c16;
    --kt-bg: var(--kt-night);
    --kt-surface: #120e1a;
    --kt-ink: #f1e8d8;
    --kt-muted: #cfc4b2;
    --kt-faint: #958b7d;
    --kt-gold: #d4b05a;
    --kt-bright: #e8c978;
    --kt-wine: #7a2433;
    --kt-line: rgb(212 176 90 / 22%);
    --kt-hairline: rgb(241 232 216 / 10%);
    --kt-btn-border: rgb(241 232 216 / 45%);
    --kt-btn-accent-bg: #e8c978;
    --kt-btn-accent-fg: #1a1406;
    --kt-btn-accent-fill: #fff1c8;
    --kt-btn-accent-fill-fg: #1a1406;
    --kt-akcent: var(--kt-bright);
    --kt-heading: 'Cormorant Garamond', Georgia, serif;
    --kt-reading: 'Fraunces', Georgia, serif;
    --kt-ui: 'Inter', system-ui, sans-serif;
    --kt-ease: cubic-bezier(.2, .7, .15, 1);
    --kt-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .28 0 0 0 0 .2 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    position: relative;
    isolation: isolate;
    color: var(--kt-ink);
    font: 300 18px/1.7 var(--kt-reading);
    font-variation-settings: 'opsz' 14;
    -webkit-font-smoothing: antialiased;
}
.kt *, .kt *::before, .kt *::after { box-sizing: border-box; }
.kt [hidden] { display: none !important; }
/* Reset elementów na poziomie arkusza głównego (0,0,1 / 0,1,1): klasy komponentów wygrywają bez podbijania. */
.kt :is(h1, h2, h3, h4, figure, details, summary) { margin: 0; padding: 0; }
.kt p { margin: 0 0 18px; line-height: inherit; }
.kt :is(h1, h2, h3, h4) { color: inherit; font-family: var(--kt-heading); font-weight: 500; line-height: 1.08; letter-spacing: normal; }
:where(.kt) a, :where(.kt) a:hover { color: inherit; }
.kt :is(button, a, summary, [tabindex]):focus-visible { outline: 2px solid var(--kt-akcent); outline-offset: 4px; }
/* Rezerwa celów kotwic pod przyklejony header, jak .oh :is(section, article). */
.kt :is(section, article) { scroll-margin-top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--zoriana-header-h, 4rem) + 1rem); }
.kt-wrap { position: relative; width: min(100%, 1200px); margin-inline: auto; padding-inline: 20px; }
.kt-wrap--narrow { max-width: 900px; }
.kt-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.kt-icon { display: inline-block; flex: none; width: 20px; height: 20px; vertical-align: middle; }
.kt .kt-link { color: var(--kt-bright); text-decoration: none; background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat; transition: background-size .6s ease; }
.kt .kt-link:hover { color: var(--kt-bright); background-size: 0 1px; }
/* Nocne niebo pod treścią (płótno rysuje assets/js/strona-glowna.js po [data-sg-niebo]; księżyca brak,
   jak data-ksiezyc="brak" w makiecie). */
.kt-sky {
    position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
    background: radial-gradient(ellipse 70% 50% at 80% 8%, rgb(122 36 51 / 22%), transparent 60%), radial-gradient(ellipse 60% 50% at 10% 60%, rgb(70 52 120 / 20%), transparent 65%), radial-gradient(ellipse 80% 60% at 60% 110%, rgb(212 176 90 / 7%), transparent 60%), var(--kt-night);
}
.kt-sky canvas { position: fixed; inset: 0; width: 100%; height: 100%; }
/* Pasma: noc (domyślnie, przezroczyste nad niebem) i dzień (papier). */
.kt-band { position: relative; padding-block: 110px; }
.kt-band--paper {
    --kt-bg: #f4efe6; --kt-ink: #1c1a17; --kt-muted: #57504a; --kt-faint: #8b8175; --kt-gold: #a8853f; --kt-bright: #8e6e2f;
    --kt-line: rgb(168 133 63 / 30%); --kt-hairline: rgb(28 26 23 / 10%);
    --kt-btn-border: #1c1a17; --kt-btn-accent-bg: #7a2433; --kt-btn-accent-fg: #fff6ea; --kt-btn-accent-fill: #1c1a17; --kt-btn-accent-fill-fg: #fff6ea;
    color: var(--kt-ink);
    background: var(--kt-bg) var(--kt-grain);
}
/* Złota kreska u góry pasma, gdy zaczyna się dzień albo wraca noc. */
.kt-band--day-start::after, .kt-band--night-start::before { content: ''; position: absolute; top: 0; left: 50%; width: min(560px, 70%); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, #c9a84c, transparent); }
.kt .kt-title { max-width: 820px; margin-bottom: 24px; font-size: clamp(34px, 4.6vw, 58px); }
.kt .kt-title--center { margin-inline: auto; text-align: center; }
/* Przycisk: obrysowany (domyślny) i pełny w akcencie pasma; wypełnienie od lewej przy najechaniu. */
.kt .kt-btn {
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 15px 26px; border: 1px solid var(--kt-btn-border); border-radius: 2px;
    background: transparent; color: var(--kt-ink); font: 500 15px/1.2 var(--kt-ui);
    letter-spacing: .01em; text-decoration: none; cursor: pointer; isolation: isolate; overflow: hidden;
    transition: color .5s var(--kt-ease), border-color .5s;
}
.kt-btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--kt-ink); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--kt-ease); }
.kt .kt-btn:hover { color: var(--kt-bg); border-color: var(--kt-ink); }
.kt-btn:hover::before { transform: scaleX(1); transform-origin: left; }
.kt .kt-btn--accent { background: var(--kt-btn-accent-bg); border-color: var(--kt-btn-accent-bg); color: var(--kt-btn-accent-fg); }
.kt-btn--accent::before { background: var(--kt-btn-accent-fill); }
.kt .kt-btn--accent:hover { color: var(--kt-btn-accent-fill-fg); border-color: var(--kt-btn-accent-bg); }
/* Złoty połysk w tekście (wyróżnienie H1). */
.kt-shine { background: linear-gradient(100deg, #a8853f 0%, #e8c978 30%, #fff1c8 45%, #e8c978 60%, #a8853f 100%); background-size: 250% 100%; background-clip: text; -webkit-background-clip: text; color: transparent; animation: kt-shine 14s ease-in-out infinite; }
@keyframes kt-shine { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
/* Pojawianie się: ukrywa dopiero JS (is-enhanced), bez JS i przy reduced-motion treść widoczna od razu. */
.kt.is-enhanced [data-kt-reveal] { transition: opacity 1.6s ease, translate 1.6s ease; }
.kt.is-enhanced [data-kt-reveal].is-waiting { opacity: 0; translate: 0 10px; }
/* H1 słowo po słowie: słowo wysuwa się spod maski (JS dzieli tekst; bez JS nagłówek jest zwykły). */
.kt-title-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.kt-title-word__inner { display: inline-block; animation: kt-word 1.6s var(--kt-ease) both; }
@keyframes kt-word { from { translate: 0 105%; } to { translate: 0 0; } }
/* Słowo akcentu niesie połysk samo (JS dokłada mu .kt-shine): background-clip:text rodzica nie sięga warstw. */
.kt-title-word__inner.kt-shine { animation: kt-word 1.6s var(--kt-ease) both, kt-shine 14s ease-in-out infinite; }
@media (max-width: 860px) {
    .kt-band { padding-block: 76px; }
}
@media (max-width: 600px) {
    .kt-band { padding-block: 58px; }
    .kt .kt-title { margin-bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .kt *, .kt *::before, .kt *::after { animation: none !important; transition: none !important; }
    .kt.is-enhanced [data-kt-reveal].is-waiting { opacity: 1; translate: none; }
}
/* ==== /KT:BAZA ==== */

/* ==== KT:HERO ==== */
.kt-hero { padding-block: 34px 30px; overflow-x: clip; }
.kt-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.kt-hero__copy { min-width: 0; }
.kt .kt-hero__title { max-width: 700px; margin: 4px 0 22px; font-size: clamp(40px, 5vw, 62px); font-weight: 400; line-height: 1.04; }
.kt-hero__accent { font-style: italic; }
.kt .kt-hero__lead { max-width: 560px; margin: 0; color: var(--kt-muted); font: italic 300 21px/1.6 var(--kt-reading); }
/* Kolumna sceny: wnętrze (.kt-scena) wypełnia ją w całości; kwadrat trzyma sama scena (aspect-ratio: 1). */
.kt-hero__scene { width: 100%; max-width: 520px; min-width: 0; margin: 0 0 0 auto; }
@media (max-width: 860px) {
    .kt-hero { padding-block: 16px 20px; }
    .kt-hero__grid { grid-template-columns: 1fr; gap: 10px; }
    /* Na telefonie scena na całą szerokość ekranu (poza odstęp kontenera). */
    .kt-hero__scene { width: calc(100% + 40px); max-width: none; margin: -10px -20px 0; }
}
@media (max-width: 600px) {
    .kt .kt-hero__title { font-size: 36px; }
    .kt .kt-hero__lead { font-size: 19px; }
}
/* ==== /KT:HERO ==== */

/* ==== KT:SCENA ==== */
/* Scena w hero (template-parts/kontakt/scena.php, ruch: kontakt.js KT:SCENA).
   Kwadrat 1:1, więc nie przesuwa układu; cała warstwa bez pointer-events.
   Reguły bez klasy stanu = stan końcowy (bez JS i przy reduced-motion): koperta otwarta, list
   wysunięty i zapisany, pieczęć odbita. Skrypt dokłada `is-ready` (stan początkowy), a gdy scena
   wejdzie na ekran — `is-play` (animacja raz, `forwards`, ok. 9 s): koperta rysuje się kreską,
   klapa się otwiera, list się wysuwa, pismo pojawia się linijka po linijce, na koniec pieczęć
   i iskry. Opóźnienia linijek i iskier w `--kt-d`, jasność iskry w `--kt-o` na elemencie. */
.kt-scena { position: relative; width: 100%; aspect-ratio: 1; margin: 0; pointer-events: none; }
.kt-scena__rysunek { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.kt-scena__pierscien { transform-origin: 300px 300px; animation: kt-scena-obrot 240s linear infinite; }
.kt-scena__pierscien--wstecz { animation-duration: 170s; animation-direction: reverse; }
.kt-scena__klapa, .kt-scena__klapa-otwarta, .kt-scena__pieczec, .kt-scena__iskra { transform-box: fill-box; }
.kt-scena__klapa { transform-origin: 50% 0; transform: scaleY(0); }
.kt-scena__klapa-otwarta { transform-origin: 50% 100%; }
.kt-scena__list { transform: translateY(-180px); }
.kt-scena__pieczec, .kt-scena__iskra { transform-origin: center; }
.kt-scena__iskra { opacity: var(--kt-o, .8); }
.kt-scena.is-ready :is(.kt-scena__kreska, .kt-scena__pismo) { stroke-dasharray: 1; stroke-dashoffset: 1; }
.kt-scena.is-ready .kt-scena__tlo { opacity: 0; }
.kt-scena.is-ready .kt-scena__klapa { transform: none; }
.kt-scena.is-ready .kt-scena__klapa-otwarta { transform: scaleY(0); }
.kt-scena.is-ready .kt-scena__list { transform: none; }
.kt-scena.is-ready .kt-scena__pieczec { opacity: 0; transform: scale(1.8); }
.kt-scena.is-ready .kt-scena__iskra { opacity: 0; }
.kt-scena.is-play .kt-scena__kreska { animation: kt-scena-rysuj 1.6s .2s cubic-bezier(.45, .05, .3, 1) forwards; }
.kt-scena.is-play .kt-scena__tlo { animation: kt-scena-tlo .8s 1.4s ease forwards; }
.kt-scena.is-play .kt-scena__klapa { animation: kt-scena-zloz .5s 2.3s ease-in forwards; }
.kt-scena.is-play .kt-scena__klapa-otwarta { animation: kt-scena-rozloz .55s 2.8s ease-out forwards; }
.kt-scena.is-play .kt-scena__list { animation: kt-scena-wysun 1.5s 3.3s cubic-bezier(.2, .7, .2, 1) forwards; }
.kt-scena.is-play .kt-scena__pismo { animation: kt-scena-rysuj .7s var(--kt-d) ease-out forwards; }
.kt-scena.is-play .kt-scena__pieczec { animation: kt-scena-pieczec .6s 8.1s cubic-bezier(.3, 1.5, .5, 1) forwards; }
.kt-scena.is-play .kt-scena__iskra { animation: kt-scena-iskra 1.4s var(--kt-d) ease-out forwards; }
@keyframes kt-scena-obrot { to { transform: rotate(360deg); } }
@keyframes kt-scena-rysuj { to { stroke-dashoffset: 0; } }
@keyframes kt-scena-tlo { to { opacity: 1; } }
@keyframes kt-scena-zloz { to { transform: scaleY(0); } }
@keyframes kt-scena-rozloz { to { transform: scaleY(1); } }
@keyframes kt-scena-wysun { to { transform: translateY(-180px); } }
@keyframes kt-scena-pieczec { 0% { opacity: 0; transform: scale(1.8); } 60% { opacity: 1; } 100% { opacity: 1; transform: scale(1); } }
@keyframes kt-scena-iskra { 0% { opacity: 0; transform: scale(.2); } 50% { opacity: 1; transform: scale(1.25); } 100% { opacity: var(--kt-o, .8); transform: scale(1); } }
/* ==== /KT:SCENA ==== */

/* ==== KT:SPRAWY ==== */
/* Kafle spraw (noc, ciąg dalszy hero), forma kafla z /opinie/ i /gdzie-dziala-wrozka-zoriana/:
   cały kafel to link w kolorze akcentu; kafel prowadzący poza stronę jest fioletowy. */
.kt-cases { padding-block: 10px 84px; }
.kt-cases__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.kt .kt-tile {
    position: relative; display: grid; grid-template-columns: 54px 1fr 46px; align-items: center; gap: 18px;
    min-height: 132px; padding: 18px 18px 18px 20px;
    border: 1px solid color-mix(in srgb, var(--kt-akcent) 38%, transparent); border-radius: 8px;
    color: var(--kt-ink); text-decoration: none;
    background: linear-gradient(100deg, color-mix(in srgb, var(--kt-akcent) 10%, #140f1c) 0%, var(--kt-surface) 75%);
    transition: transform .6s var(--kt-ease), border-color .6s, box-shadow .6s; touch-action: manipulation;
}
.kt .kt-tile:hover { color: var(--kt-ink); border-color: var(--kt-akcent); box-shadow: 0 20px 44px -26px color-mix(in srgb, var(--kt-akcent) 60%, transparent); transform: translateX(3px); }
.kt-tile--away { --kt-akcent: #a99be0; }
.kt-tile__icon { width: 54px; height: 54px; color: var(--kt-akcent); }
.kt-tile__label { display: block; font: 500 clamp(21px, 1.8vw, 24px)/1.2 var(--kt-heading); text-wrap: balance; }
.kt-tile__text { display: block; margin-top: 8px; color: var(--kt-muted); font: 300 15.5px/1.5 var(--kt-reading); }
.kt-tile__arrow { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--kt-akcent); color: #1a1406; animation: kt-tile-pulse 4.2s ease-out infinite; }
.kt-tile:nth-child(2) .kt-tile__arrow { animation-delay: .8s; }
.kt-tile:nth-child(3) .kt-tile__arrow { animation-delay: 1.6s; }
.kt-tile:nth-child(4) .kt-tile__arrow { animation-delay: 2.4s; }
.kt-tile__arrow .kt-icon { width: 17px; height: 17px; }
@keyframes kt-tile-pulse { 0%, 55% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--kt-akcent) 50%, transparent); } 85%, 100% { box-shadow: 0 0 0 11px transparent; } }
@media (max-width: 860px) {
    .kt-cases__grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .kt-cases { padding-bottom: 58px; }
    .kt .kt-tile { grid-template-columns: 42px 1fr 40px; gap: 14px; min-height: 0; padding: 16px 14px 16px 16px; }
    .kt-tile__icon { width: 42px; height: 42px; }
    .kt-tile__label { font-size: 20px; }
    .kt-tile__text { font-size: 15px; }
    .kt-tile__arrow { width: 40px; height: 40px; }
}
/* ==== /KT:SPRAWY ==== */

/* ==== KT:FORMULARZ ==== */
/* Kartka formularza (papier): komponent `.kzw` z template-parts/kwestionariusz/form.php w wyglądzie
   makiety — jasna kartka ze złotą górną krawędzią, pola w ramkach z etykietą nad polem, przycisk
   w kolorze wina. Komponent mówi rolami (`--kzw-*`), więc kolory przepinamy tokenami, a resztę
   selektorami (0,2,0), które wygrywają z kwestionariusz.css i z resetem `.kt p` bez `!important`.
   Kolor błędu (`--kzw-blad`) nie jest kolorem przycisku. */
.kt .kzw {
    --kzw-ground: #fffdf8;
    --kzw-ink: #1f1a16;
    --kzw-ink-soft: #5e554a;
    --kzw-accent: #7a2433;
    --kzw-rule: #e2d8c6;
    --kzw-rule-live: #8e2b3c;
    --kzw-blad: #a3321f;
    --kzw-focus: var(--kt-gold);
    --kzw-cta: #7a2433;
    --kzw-cta-ink: #fff6ea;
    --kzw-miara: 680px;
    font-family: var(--kt-ui);
    font-weight: 400;
}
.kt .kzw__plyta { display: block; padding: 40px 46px 34px; border-top: 3px solid var(--kt-gold); border-radius: 4px; box-shadow: 0 24px 60px -30px rgb(60 40 10 / 40%); }
/* Górną linię płyty niesie tu obramowanie kartki. */
.kt .kzw__plyta::before { content: none; }
.kt .kzw__glowa, .kt .kzw__form, .kt .kzw__czesc { display: block; }
.kt .kzw__naglowek { margin: 0 0 12px; color: var(--kzw-ink); font: 500 clamp(28px, 3.4vw, 36px)/1.15 var(--kt-heading); text-wrap: balance; }
.kt .kzw__lede { max-width: none; margin: 0 0 26px; color: var(--kzw-ink-soft); font: 300 16.5px/1.55 var(--kt-reading); }
/* Legenda grupy zostaje dla czytników ekranu; makieta jej nie pokazuje (decyzja właściciela). */
.kt .kzw__legenda { position: absolute; float: none; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* Podpowiedź stoi w DOM nad polem (czytnik słyszy ją przed wpisywaniem), na ekranie pod nim. */
.kt .kzw__pole { gap: 0; margin: 0 0 18px; }
.kt .kzw__label { order: 1; margin: 0 0 6px; font: 600 15px/1.3 var(--kt-ui); letter-spacing: 0; }
.kt .kzw__input, .kt .kzw__pisanie { order: 2; min-height: 0; padding: 12px 14px; border: 1px solid #cfc3ad; border-radius: 4px; background: #fff; color: var(--kzw-ink); font: 16px/1.5 var(--kt-ui); transition: border-color .15s; }
.kt .kzw__pisanie { height: 170px; min-height: 150px; }
.kt .kzw__input:focus, .kt .kzw__pisanie:focus { outline: 2px solid var(--kt-gold); outline-offset: 1px; border-color: var(--kt-gold); box-shadow: none; }
.kt .kzw__input[aria-invalid='true'], .kt .kzw__pisanie[aria-invalid='true'] { border-color: var(--kzw-blad); box-shadow: none; }
.kt .kzw__hint { order: 3; margin: 6px 0 0; color: var(--kzw-ink-soft); font: 13.5px/1.5 var(--kt-ui); }
/* Pod polem wiadomości makieta ma większy odstęp (luka linii bazowej textarea). */
.kt .kzw__pole--dlugie .kzw__hint { margin-top: 15.6px; }
.kt .kzw__blad { order: 4; margin: 6px 0 0; color: var(--kzw-blad); font: 500 13.5px/1.5 var(--kt-ui); }
/* Przycisk jak .kt-btn w kolorze wina, na całą szerokość; strzałka znika na czas wysyłki. */
.kt .kzw__cta {
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 0; margin-top: 6px; padding: 15px 26px; border: 1px solid var(--kzw-cta); border-radius: 2px;
    font: 500 15px/1.2 var(--kt-ui); letter-spacing: .01em; isolation: isolate; overflow: hidden;
    transition: color .5s var(--kt-ease), border-color .5s;
}
.kt .kzw__cta::before { content: ''; position: absolute; inset: 0; z-index: -1; background: #1c1a17; transform: scaleX(0); transform-origin: right; transition: transform .6s var(--kt-ease); }
.kt .kzw__cta::after { content: '→'; transition: transform .5s var(--kt-ease); }
.kt .kzw__cta:hover:not(:disabled) { border-color: #1c1a17; background: var(--kzw-cta); color: #f4efe6; }
.kt .kzw__cta:hover:not(:disabled)::before { transform: scaleX(1); transform-origin: left; }
.kt .kzw__cta:hover:not(:disabled)::after { transform: translateX(5px); }
.kt .kzw__cta:disabled { opacity: .75; cursor: progress; }
.kt .kzw__cta:disabled::after { content: none; }
.kt .kzw__reassurance { margin: 12px 0 0; color: var(--kzw-ink-soft); font: 14.5px/1.5 var(--kt-ui); }
.kt .kzw__status { margin: 16px 0 0; font: 14px/1.5 var(--kt-ui); }
.kt .kzw__status[data-stan='blad'] { padding: 12px 14px; border-left: 2px solid var(--kzw-blad); background: #fbf1ec; color: var(--kzw-ink); }
.kt .kzw__dane { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--kzw-rule); color: var(--kzw-ink-soft); font: 13.5px/1.55 var(--kt-ui); }
.kt .kzw__dane .kzw__link { color: var(--kzw-accent); text-underline-offset: 3px; }
.kt .kzw__awaria { margin: 16px 0 0; font: 14px/1.5 var(--kt-ui); }
/* Po wysyłce na kartce zostaje samo potwierdzenie z pieczęcią: formularz chowa skrypt komponentu,
   nagłówek i zdanie pod nim schodzą tutaj. */
.kt .kzw__plyta:has(> .kzw__form[hidden]) .kzw__glowa { display: none; }
.kt .kzw__sukces { display: block; padding: 16px 0 6px; border-top: 0; text-align: center; }
.kt .kzw__sukces::before { content: ''; display: block; width: 62px; height: 62px; margin: 0 auto 23.6px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 62 62'%3E%3Ccircle cx='31' cy='31' r='28' fill='%237A2433'/%3E%3Ccircle cx='31' cy='31' r='21' fill='none' stroke='%23E8C978' stroke-opacity='.7'/%3E%3Cpath d='M35 18a13 13 0 1 0 0 26 10 10 0 1 1 0-26z' fill='%23E8C978'/%3E%3C/svg%3E") center / contain no-repeat; }
.kt .kzw__sukces-tytul { margin: 0 0 10px; color: var(--kzw-ink); font: 500 30px/1.2 var(--kt-heading); }
.kt .kzw__sukces-tresc { max-width: 46ch; margin: 0 auto; color: var(--kzw-ink-soft); font: 16px/1.6 var(--kt-ui); }
@media (max-width: 600px) {
    .kt .kzw__plyta { padding: 30px 18px 24px; }
}
/* ==== /KT:FORMULARZ ==== */

/* ==== KT:KONIEC ==== */
/* Messenger (noc, złota kreska u góry z KT:BAZA): tekst po lewej, jeden przycisk po prawej. */
.kt-channels { display: grid; grid-template-columns: 1fr auto; gap: 30px 50px; align-items: center; max-width: 980px; margin: 0 auto; }
.kt .kt-channels__lead { max-width: 560px; margin: 16px 0 0; color: var(--kt-muted); font: italic 300 20px/1.55 var(--kt-reading); }
.kt-channels__actions { display: flex; flex-direction: column; gap: 12px; min-width: 290px; }
.kt .kt-channels__actions .kt-btn { justify-content: flex-start; gap: 14px; }
.kt-channels__actions .kt-icon { width: 22px; height: 22px; }
/* Pytania (papier), którymi strona się kończy. */
.kt-faq { max-width: 860px; margin: 34px auto 0; border-top: 1px solid var(--kt-line); }
.kt-faq__item { border-bottom: 1px solid var(--kt-line); }
.kt .kt-faq__summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 22px 0; list-style: none; cursor: pointer; }
.kt-faq__summary::-webkit-details-marker { display: none; }
.kt-faq__question { color: var(--kt-ink); font: 500 clamp(21px, 2vw, 25px)/1.3 var(--kt-heading); }
.kt-faq__icon { position: relative; flex: none; width: 30px; height: 30px; margin-top: 2px; border: 1px solid var(--kt-line); border-radius: 50%; transition: transform .5s var(--kt-ease), border-color .5s; }
.kt-faq__icon::before, .kt-faq__icon::after { content: ''; position: absolute; top: 50%; left: 50%; width: 11px; height: 1px; margin: -.5px 0 0 -5.5px; background: var(--kt-bright); }
.kt-faq__icon::after { transform: rotate(90deg); }
.kt-faq__item[open] .kt-faq__icon { transform: rotate(45deg); border-color: var(--kt-gold); }
.kt .kt-faq__answer { max-width: 740px; margin: 0 0 24px; color: var(--kt-muted); }
@media (max-width: 860px) {
    .kt-channels { grid-template-columns: 1fr; }
    .kt-channels__actions { min-width: 0; }
}
@media (max-width: 600px) {
    .kt .kt-channels__lead { font-size: 18px; }
}
/* ==== /KT:KONIEC ==== */
