/**
 * ═══════════════════════════════════════════════════════════════════
 *  STRONA GŁÓWNA „SPRZEDAŻOWA" (2026) — page-glowna-sprzedazowa.php
 *
 *  Własny system wizualny: na tym szablonie nie ładuje się main.css ani
 *  mobile.css (zdejmuje je inc/glowna-sprzedazowa.php). Klasy „sg-".
 *  Wyjątki to haki starych skryptów: .quick-modal__feedback, .hp-field,
 *  .form-error, .form-feedback, .lead__msg.
 *
 *  MOTYWY SEKCJI
 *  Ciemne hero, dalej sekcje na zmianę: .sg-light (białe) i .sg-dark.
 *  Kolory to zmienne — komponent wygląda dobrze w obu, bo czyta tokeny sekcji.
 *  Jeden akcent marki (teal). Bursztyn i czerwień tylko dla stanów
 *  (rezerwacja, promocja, błąd formularza).
 *
 *  RUCH
 *  Bez efektów sterowanych przewijaniem. Wejścia sekcji raz (rozmycie
 *  i przesunięcie), pętle tylko tam, gdzie tłumaczą działanie wtyczki
 *  (budynek w hero, przepływ danych, lista zdarzeń) albo zwracają uwagę
 *  na zakup (połysk przycisku, światło na obrysie karty Professional).
 *  Inspiracje: Magic UI (Animated Beam, Border Beam, Shimmer Button,
 *  Animated List, Number Ticker, Blur Fade) i Aceternity UI (Aurora
 *  Background, Typewriter) — odtworzone w CSS i JS bez bibliotek.
 *  Każda animacja ma wariant dla prefers-reduced-motion (koniec pliku).
 *
 *  Promienie: karty 16px, pola i komórki 10-12px, przyciski w pigułce.
 * ═══════════════════════════════════════════════════════════════════ */

@property --sg-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

body.dcp-glowna-sprzedazowa { margin: 0; background: #070b14; color: #e9eef6; }

/* ═══════════════ TOKENY ═══════════════ */
.sg, .sg-dark {
    --sg-bg: #070b14;
    --sg-bg-2: #0a101c;
    --sg-surface: #0e1524;
    --sg-surface-2: #131c2f;
    --sg-fill: rgba(255, 255, 255, .035);
    --sg-fill-2: rgba(255, 255, 255, .07);
    --sg-line: rgba(148, 163, 184, .13);
    --sg-line-2: rgba(148, 163, 184, .24);
    --sg-text: #e9eef6;
    --sg-text-2: #a8b3c6;
    --sg-text-3: #8591a6;
    --sg-accent: #00d4aa;
    --sg-accent-text: #8ff0d9;
    --sg-accent-soft: rgba(0, 212, 170, .10);
    --sg-accent-line: rgba(0, 212, 170, .38);
    --sg-warn: #f0b458;
    --sg-sold: #5b6679;
    --sg-err: #ff8f8f;
    --sg-err-soft: rgba(255, 143, 143, .08);
    --sg-shadow: rgba(0, 0, 0, .75);
    --sg-input-bg: rgba(3, 7, 14, .55);
    --sg-placeholder: #8a95a9;
    --sg-dot: rgba(148, 163, 184, .16);
    color-scheme: dark;
}
.sg-light {
    --sg-bg: #ffffff;
    --sg-bg-2: #f4f7fb;
    --sg-surface: #ffffff;
    --sg-surface-2: #f7fafc;
    --sg-fill: #f3f6fa;
    --sg-fill-2: #e8eef5;
    --sg-line: rgba(15, 23, 42, .09);
    --sg-line-2: rgba(15, 23, 42, .16);
    --sg-text: #0b1220;
    --sg-text-2: #46546a;
    --sg-text-3: #5f6d82;
    --sg-accent: #00a283;
    --sg-accent-text: #00765f;
    --sg-accent-soft: rgba(0, 162, 131, .09);
    --sg-accent-line: rgba(0, 140, 112, .32);
    --sg-warn: #b7791f;
    --sg-sold: #94a3b8;
    --sg-err: #c0392b;
    --sg-err-soft: rgba(192, 57, 43, .06);
    --sg-shadow: rgba(15, 23, 42, .16);
    --sg-input-bg: #ffffff;
    --sg-placeholder: #7b8798;
    --sg-dot: rgba(15, 23, 42, .11);
    color-scheme: light;
}
.sg-dark, .sg-light { background-color: var(--sg-bg); color: var(--sg-text); }

.sg {
    --sg-cta: #00d4aa;
    --sg-cta-hover: #2fe0bf;
    --sg-cta-ink: #032a22;
    --sg-radius: 16px;
    --sg-ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    --sg-ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
    --sg-ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
    --sg-display: "Outfit", "Plus Jakarta Sans", system-ui, sans-serif;
    --sg-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --sg-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
    --sg-max: 1240px;
    --sg-gutter: clamp(16px, 4vw, 32px);
    --sg-nav-h: 68px;
    --sg-top-h: 68px;

    position: relative;
    background: var(--sg-bg);
    color: var(--sg-text);
    font-family: var(--sg-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.sg.has-promo { --sg-top-h: 108px; }

@media (prefers-reduced-motion: no-preference) {
    html:has(.sg) { scroll-behavior: smooth; }
}

/* ── Reset w obrębie szablonu ── */
.sg *, .sg *::before, .sg *::after { box-sizing: border-box; }
/* :where() = specyficzność jednej klasy, więc klasy komponentów zdefiniowane niżej zawsze wygrywają.
   Drugi :where() omija sekcje ze starego szablonu w page-glowna-2026.php (.ng i nagłówki .ng-head),
   bo mają własne marginesy i kroje — chyba że w środku stoi komponent „sg" (.sg-island). */
.sg :where(h1, h2, h3, h4, p, ul, ol, figure):where(:not(.ng *, .ng-head *), .sg-island *) { margin: 0; }
.sg :where(ul, ol):where(:not(.ng *, .ng-head *), .sg-island *) { padding: 0; list-style: none; }
.sg :where(img):where(:not(.ng *, .ng-head *), .sg-island *) { max-width: 100%; height: auto; display: block; }
.sg :where(a):where(:not(.ng *, .ng-head *), .sg-island *) { color: inherit; text-decoration: none; }
.sg :where(button, input, select, textarea):where(:not(.ng *, .ng-head *), .sg-island *) { font: inherit; color: inherit; }
.sg :where(button) { cursor: pointer; }
.sg :where(code):where(:not(.ng *, .ng-head *), .sg-island *) { font-family: var(--sg-mono); font-size: .9em; }
.sg [hidden] { display: none !important; }
.sg ::selection { background: rgba(0, 212, 170, .32); }
.sg :where(:focus-visible) { outline: 2px solid var(--sg-accent); outline-offset: 3px; }
.sg :where(h1, h2, h3, h4):where(:not(.ng *, .ng-head *), .sg-island *) {
    font-family: var(--sg-display); font-weight: 600; line-height: 1.12;
    letter-spacing: -0.02em; color: var(--sg-text); text-wrap: balance;
}
.sg :where(p):where(:not(.ng *, .ng-head *), .sg-island *) { text-wrap: pretty; }

.sg-wrap { width: 100%; max-width: calc(var(--sg-max) + 2 * var(--sg-gutter)); margin-inline: auto; padding-inline: var(--sg-gutter); }
.sg-ico { width: 1em; height: 1em; flex: none; display: inline-block; vertical-align: -0.14em; }
.sg-ico.is-flip { transform: scaleX(-1); }
.sg-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sg-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 24px; pointer-events: none; }
.sg-skip {
    position: fixed; left: 16px; top: 12px; z-index: 1001;
    padding: 10px 16px; border-radius: 999px;
    background: var(--sg-cta); color: var(--sg-cta-ink); font-weight: 600;
    transform: translateY(-160%); transition: transform 200ms var(--sg-ease-out);
}
.sg-skip:focus { transform: none; }

/* ═══════════════ TYPOGRAFIA SEKCJI ═══════════════ */
.sg-sec { position: relative; padding-block: clamp(76px, 9vw, 128px); scroll-margin-top: var(--sg-top-h); }
.sg-h2 { font-size: clamp(1.85rem, 1.15rem + 2.5vw, 3rem); line-height: 1.07; letter-spacing: -0.03em; }
.sg-lead { font-size: clamp(1.0313rem, .98rem + .25vw, 1.1875rem); line-height: 1.6; color: var(--sg-text-2); max-width: 60ch; }
.sg-eyebrow { margin-bottom: 14px; font-family: var(--sg-mono); font-size: .8125rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--sg-accent-text); }
.sg-note { margin-top: 22px; font-size: .9375rem; color: var(--sg-text-3); }
.sg-head { max-width: 800px; margin-bottom: clamp(36px, 5vw, 60px); }
.sg-head .sg-lead { margin-top: 18px; }
.sg-head--center { margin-inline: auto; text-align: center; }
.sg-head--center .sg-lead { margin-inline: auto; }
.sg-note a, .sg-faq__inner a, .sg-law__block a, .sg-cms__item a, .sg-lead a, .sg-terms__facts a {
    color: var(--sg-accent-text);
    text-decoration: underline; text-decoration-color: var(--sg-accent-line); text-underline-offset: 3px;
    transition: text-decoration-color 200ms ease;
}
@media (hover: hover) and (pointer: fine) {
    .sg-note a:hover, .sg-faq__inner a:hover, .sg-law__block a:hover, .sg-cms__item a:hover, .sg-lead a:hover, .sg-terms__facts a:hover { text-decoration-color: currentColor; }
}

/* Delikatny wzór kropek na części jasnych sekcji */
.sg-dots { isolation: isolate; }
.sg-dots::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background-image: radial-gradient(var(--sg-dot) 1px, transparent 1.4px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(ellipse 85% 70% at 50% 0%, #000 15%, transparent 72%);
    mask-image: radial-gradient(ellipse 85% 70% at 50% 0%, #000 15%, transparent 72%);
}

/* ═══════════════ PRZYCISKI I LINKI ═══════════════ */
.sg-btn {
    position: relative;
    display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    min-height: 48px; padding: 0 1.3em;
    border-radius: 999px; border: 1px solid transparent;
    font-family: var(--sg-body); font-size: 1rem; font-weight: 600; line-height: 1;
    white-space: nowrap; text-decoration: none; cursor: pointer;
    transition: transform 160ms var(--sg-ease-out), background-color 200ms ease, border-color 200ms ease, color 200ms ease;
    -webkit-tap-highlight-color: transparent;
}
.sg-btn:active { transform: scale(0.97); }
.sg-btn .sg-ico { width: 1.1em; height: 1.1em; transition: transform 200ms var(--sg-ease-out); }
.sg-btn--primary { background: var(--sg-cta); color: var(--sg-cta-ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 10px 26px -12px rgba(0, 190, 150, .55); }
.sg-btn--ghost { background: var(--sg-fill); color: var(--sg-text); border-color: var(--sg-line-2); }
.sg-btn--lg { min-height: 54px; padding: 0 1.55em; font-size: 1.0625rem; }
.sg-btn--sm { min-height: 40px; padding: 0 1.05em; font-size: .9375rem; }
.sg-btn--block { width: 100%; }
@media (hover: hover) and (pointer: fine) {
    .sg-btn--primary:hover { background: var(--sg-cta-hover); }
    .sg-btn--ghost:hover { background: var(--sg-fill-2); border-color: var(--sg-accent-line); }
    .sg-btn:hover .sg-ico { transform: translateX(3px); }
}
.sg-btn:disabled { cursor: default; opacity: .7; }
.sg-btn.loading { pointer-events: none; }
.sg-btn.loading::after {
    content: ""; position: absolute; left: 22%; right: 22%; bottom: 9px; height: 2px; border-radius: 2px;
    background: currentColor; transform-origin: 0 50%;
    animation: sg-loading 1100ms linear infinite;
}
@keyframes sg-loading { 0% { transform: scaleX(0); opacity: 1; } 75% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }

/* Połysk przebiegający po przycisku (Shimmer Button) */
.sg-btn--shine { overflow: hidden; }
.sg-btn--shine::before {
    content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 55%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .6), transparent);
    transform: translateX(-170%) skewX(-14deg);
    pointer-events: none;
}

.sg-link { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; color: var(--sg-accent-text); }
.sg-link .sg-ico { transition: transform 200ms var(--sg-ease-out); }
@media (hover: hover) and (pointer: fine) { .sg-link:hover .sg-ico { transform: translateX(3px); } }
.sg-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 32px; }

/* Światło biegnące po obrysie (Border Beam) */
.sg-beam::before {
    content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; padding: 1.5px; pointer-events: none;
    background: conic-gradient(from var(--sg-angle), transparent 0 70%, rgba(0, 212, 170, .3) 82%, #00d4aa 93%, #d6fff5 97%, transparent 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

/* ═══════════════ NAGŁÓWEK ═══════════════ */
.sg-top { position: fixed; top: 0; left: 0; right: 0; z-index: 900; }
.admin-bar .sg-top { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .sg-top { top: 46px; } }
.sg-nav { position: relative; border-bottom: 1px solid transparent; transition: background-color 250ms ease, border-color 250ms ease; }
.sg-top.is-stuck .sg-nav, .sg-top.is-open .sg-nav {
    background: rgba(7, 11, 20, .94);
    border-bottom-color: rgba(148, 163, 184, .13);
    -webkit-backdrop-filter: blur(16px) saturate(1.3);
    backdrop-filter: blur(16px) saturate(1.3);
}
.sg-nav__row { height: var(--sg-nav-h); display: flex; align-items: center; gap: 24px; }
.sg-logo { display: inline-flex; flex: none; }
.sg-logo img { height: 30px; width: auto; }
.sg-nav__links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.sg-nav__links a {
    display: inline-flex; padding: 8px 12px; border-radius: 999px;
    color: #b4bfd0; font-size: .9375rem; font-weight: 500; white-space: nowrap;
    transition: color 200ms ease, background-color 200ms ease;
}
.sg-nav__links a.is-active { color: #fff; background: rgba(255, 255, 255, .07); }
@media (hover: hover) and (pointer: fine) { .sg-nav__links a:hover { color: #fff; background: rgba(255, 255, 255, .07); } }
.sg-nav__cta { flex: none; }
.sg-burger {
    display: none; flex: none; position: relative; width: 44px; height: 44px; margin-right: -8px;
    border: 0; border-radius: 999px; background: transparent; color: #e9eef6; font-size: 24px;
}
.sg-burger > span { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity 200ms var(--sg-ease-out), transform 200ms var(--sg-ease-out); }
.sg-burger__close { opacity: 0; transform: rotate(-45deg) scale(.9); }
.sg-top.is-open .sg-burger__open { opacity: 0; transform: rotate(45deg) scale(.9); }
.sg-top.is-open .sg-burger__close { opacity: 1; transform: none; }
@media (max-width: 1023.98px) {
    .sg-burger { display: inline-block; }
    .sg-nav__cta { margin-left: auto; }
    .sg-nav__links {
        position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 2px; margin: 0;
        padding: 10px var(--sg-gutter) 22px;
        background: #070b14; border-bottom: 1px solid rgba(148, 163, 184, .13);
        opacity: 0; visibility: hidden; transform: translateY(-8px);
        transition: opacity 220ms var(--sg-ease-out), transform 220ms var(--sg-ease-out), visibility 0s linear 220ms;
    }
    .sg-top.is-open .sg-nav__links { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
    .sg-nav__links a { padding: 14px 12px; font-size: 1.0625rem; border-radius: 12px; }
}
@media (max-width: 420px) {
    .sg-logo img { height: 26px; }
    .sg-nav__row { gap: 12px; }
    .sg-nav__cta { padding: 0 .9em; font-size: .875rem; }
}

/* ── Pasek promocji / zapowiedzi podwyżki (inc/cennik.php, styl „sg") ── */
.sg-promo { position: relative; overflow: hidden; color: #dffcf4; font-size: .875rem; line-height: 1.45; }
.sg-promo::before {
    content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 200%;
    background: linear-gradient(90deg, #053b31 0%, #0a6b58 25%, #053b31 50%, #0a6b58 75%, #053b31 100%);
}
.sg-promo--soon::before { background: linear-gradient(90deg, #111a2c 0%, #1d3350 25%, #111a2c 50%, #1d3350 75%, #111a2c 100%); }
.sg-promo .sg-wrap { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 16px; padding-block: 9px; text-align: center; }
.sg-promo b { font-weight: 700; color: #fff; }
.sg-promo [data-countdown] { font-family: var(--sg-mono); font-weight: 500; font-variant-numeric: tabular-nums; }
.sg-promo__link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .45); }
.sg-promo__link::after {
    content: ""; width: 14px; height: 14px; background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M221.66,133.66l-72,72a8,8,0,0,1-11.32-11.32L196.69,136H40a8,8,0,0,1,0-16H196.69L138.34,61.66a8,8,0,0,1,11.32-11.32l72,72A8,8,0,0,1,221.66,133.66Z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M221.66,133.66l-72,72a8,8,0,0,1-11.32-11.32L196.69,136H40a8,8,0,0,1,0-16H196.69L138.34,61.66a8,8,0,0,1,11.32-11.32l72,72A8,8,0,0,1,221.66,133.66Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* Telefon: pasek przyklejony do góry ma zajmować jak najmniej ekranu — tekst po lewej,
   sama strzałka po prawej, a klikalny jest cały pasek (napis „Zobacz cennik" zostaje dla czytników) */
@media (max-width: 520px) {
    .sg-promo { font-size: .8125rem; line-height: 1.4; }
    .sg-promo .sg-wrap { flex-wrap: nowrap; justify-content: space-between; gap: 12px; padding-block: 7px; text-align: left; }
    .sg-promo__link { flex: none; font-size: 0; text-decoration: none; }
    .sg-promo__link::before { content: ""; position: absolute; inset: 0; }
    .sg-promo__link::after { width: 18px; height: 18px; }
}

/* ═══════════════ HERO ═══════════════ */
.sg-hero {
    position: relative; isolation: isolate; overflow: hidden;
    padding-top: calc(var(--sg-top-h) + clamp(36px, 6vh, 80px));
    padding-bottom: clamp(64px, 8vw, 112px);
    scroll-margin-top: var(--sg-top-h);
}
.sg-hero__aurora { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: linear-gradient(180deg, #080d18 0%, #070b14 100%); }
.sg-hero__aurora span { position: absolute; display: block; border-radius: 50%; will-change: transform; }
.sg-hero__aurora span:nth-child(1) { width: min(62vw, 900px); aspect-ratio: 1; right: -14vw; top: -26vw; background: radial-gradient(closest-side, rgba(0, 212, 170, .24), rgba(0, 212, 170, 0)); }
.sg-hero__aurora span:nth-child(2) { width: min(52vw, 760px); aspect-ratio: 1; left: -18vw; top: 12%; background: radial-gradient(closest-side, rgba(0, 150, 200, .15), rgba(0, 150, 200, 0)); }
.sg-hero__aurora span:nth-child(3) { width: min(40vw, 620px); aspect-ratio: 1; left: 38%; bottom: -22vw; background: radial-gradient(closest-side, rgba(0, 212, 170, .12), rgba(0, 212, 170, 0)); }

.sg-hero__grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); gap: clamp(36px, 5vw, 76px); align-items: center; }
.sg-hero__copy { container-type: inline-size; }
/* Najdłuższy wiersz („Jawność cen mieszkań") ma ok. 9,4 em — rozmiar od szerokości kolumny, zawsze 2 wiersze */
.sg-hero__title { font-size: clamp(2.1rem, 1rem + 3.4vw, 3.5rem); font-size: clamp(2.1rem, 10cqi, 3.75rem); line-height: 1.02; letter-spacing: -0.035em; font-weight: 600; }
.sg-hero__kicker { display: block; margin-bottom: 20px; font-family: var(--sg-body); font-size: 1rem; font-weight: 600; letter-spacing: 0; line-height: 1.4; color: var(--sg-accent-text); }
.sg-hero__line { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.sg-hero__line > span { display: inline-block; }
.sg-hero__line--accent { color: var(--sg-accent); }
.sg-hero__lead { margin-top: 26px; max-width: 34em; font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); line-height: 1.6; color: var(--sg-text-2); }
.sg-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.sg-hero__visual { position: relative; }
@keyframes sg-rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes sg-fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes sg-fade { from { opacity: 0; } to { opacity: 1; } }

/* ── Budynek cen ── */
.sg-bld {
    position: relative; padding: 18px 18px 16px;
    border: 1px solid var(--sg-line); border-radius: var(--sg-radius);
    background: linear-gradient(180deg, rgba(19, 28, 47, .9), rgba(11, 17, 30, .95));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 40px 90px -40px rgba(0, 0, 0, .75);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.sg-bld__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.sg-bld__title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; font-size: .8125rem; color: var(--sg-text-3); }
.sg-bld__title b { font-family: var(--sg-display); font-size: 1.0625rem; font-weight: 600; color: var(--sg-text); letter-spacing: -.01em; }
.sg-bld__tag { flex: none; padding: 4px 10px; border: 1px solid var(--sg-line-2); border-radius: 999px; font-size: .75rem; color: var(--sg-text-3); }
.sg-bld__body { position: relative; }
.sg-bld__roof { display: block; height: 5px; margin: 0 0 8px 28px; border-radius: 4px; background: rgba(148, 163, 184, .2); }
.sg-bld__floor { display: grid; grid-template-columns: 22px repeat(4, minmax(0, 1fr)); gap: 6px; }
.sg-bld__floor + .sg-bld__floor { margin-top: 6px; }
.sg-bld__lvl { align-self: center; text-align: center; font: 500 .6875rem/1 var(--sg-mono); color: var(--sg-text-3); }
.sg-bld__ground {
    display: flex; align-items: center; justify-content: center;
    height: 34px; margin: 6px 0 0 28px;
    border: 1px dashed var(--sg-line-2); border-radius: 10px;
    font: 500 .6875rem/1 var(--sg-mono); color: var(--sg-text-3);
}
.sg-unit {
    position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 6px;
    min-height: 58px; padding: 9px 10px 8px;
    border: 1px solid var(--sg-line); border-radius: 10px; background: var(--sg-fill);
    transition: border-color 250ms ease, background-color 250ms ease;
}
.sg-unit__top { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.sg-unit__no { font: 500 .6875rem/1 var(--sg-mono); color: var(--sg-text-3); }
.sg-unit__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.sg-unit__pct { font: 500 .6875rem/1 var(--sg-mono); color: var(--sg-accent); }
.sg-unit__price { font: 500 .8125rem/1.1 var(--sg-mono); color: var(--sg-text); font-variant-numeric: tabular-nums; white-space: nowrap; letter-spacing: -.01em; }
.sg-unit__top, .sg-unit__price { transition: opacity 200ms ease; }
.sg-unit.is-free { color: var(--sg-accent); }
.sg-unit.is-res { color: var(--sg-warn); }
.sg-unit.is-res .sg-unit__price { color: var(--sg-text-2); }
.sg-unit.is-sold { color: var(--sg-sold); background: transparent; border-style: dashed; }
.sg-unit.is-sold .sg-unit__price { color: var(--sg-text-3); font-family: var(--sg-body); font-size: .75rem; }
.sg-unit.is-changing { border-color: var(--sg-accent-line); background: var(--sg-accent-soft); }
.sg-unit.is-fading .sg-unit__top, .sg-unit.is-fading .sg-unit__price { opacity: 0; }
.sg-unit.is-read { animation: sg-read 700ms ease-out; }
@keyframes sg-read { from { border-color: rgba(0, 212, 170, .75); } to { border-color: var(--sg-line); } }
.sg-bld__scan {
    position: absolute; left: 28px; right: 0; top: 0; height: 48px; margin-top: -24px; pointer-events: none; opacity: 0;
    background: linear-gradient(180deg, transparent, rgba(0, 212, 170, .13) 50%, transparent);
}
.sg-bld__scan::after {
    content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 170, .9) 18%, rgba(0, 212, 170, .9) 82%, transparent);
}
.sg-bld__tip {
    position: absolute; z-index: 3; left: 0; top: 0; min-width: 168px; padding: 10px 12px;
    border: 1px solid var(--sg-line-2); border-radius: 12px; background: rgba(9, 14, 25, .96);
    box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .8);
    font-size: .8125rem; line-height: 1.45; color: var(--sg-text-2);
    pointer-events: none; opacity: 0;
    transform: translate(-50%, calc(-100% - 10px)) scale(.97); transform-origin: 50% 100%;
    transition: opacity 150ms var(--sg-ease-out), transform 150ms var(--sg-ease-out);
}
.sg-bld__tip.is-on { opacity: 1; transform: translate(-50%, calc(-100% - 10px)); }
.sg-bld__tip b { display: block; font-family: var(--sg-display); font-size: .9375rem; font-weight: 600; color: var(--sg-text); }
.sg-bld__tip span { display: block; font-family: var(--sg-mono); font-size: .75rem; }
.sg-bld__note {
    min-height: 2.9em; margin: 12px 0 0; padding-left: 28px;
    font-size: .8125rem; line-height: 1.45; color: var(--sg-text-2);
    opacity: 0; transform: translateY(4px);
    transition: opacity 250ms var(--sg-ease-out), transform 250ms var(--sg-ease-out);
}
.sg-bld__note.is-on { opacity: 1; transform: none; }
.sg-bld__note b { font-family: var(--sg-mono); font-weight: 500; color: var(--sg-accent-text); white-space: nowrap; }
.sg-bld__legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 8px 0 14px 28px; font-size: .75rem; color: var(--sg-text-3); }
.sg-bld__legend span { display: inline-flex; align-items: center; gap: 6px; }
.sg-bld__legend i { width: 7px; height: 7px; border-radius: 50%; }
.sg-bld__legend .is-free { background: var(--sg-accent); }
.sg-bld__legend .is-res { background: var(--sg-warn); }
.sg-bld__legend .is-sold { background: var(--sg-sold); }
.sg-report {
    position: relative; overflow: hidden;
    display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px 14px;
    padding: 12px 14px 14px; border: 1px solid var(--sg-line-2); border-radius: 12px; background: rgba(5, 9, 17, .7);
}
.sg-report__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--sg-accent-soft); color: var(--sg-accent); font-size: 22px; }
.sg-report__meta { min-width: 0; display: grid; gap: 2px; }
.sg-report__name { font: 500 .75rem/1.3 var(--sg-mono); color: var(--sg-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sg-report__status { font-size: .8125rem; color: var(--sg-text-3); transition: color 250ms ease; }
.sg-report__checks { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
.sg-report__checks li {
    display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px;
    border-radius: 999px; border: 1px solid var(--sg-line);
    font-size: .6875rem; font-weight: 600; color: var(--sg-text-3); white-space: nowrap;
    transition: color 250ms ease, border-color 250ms ease, background-color 250ms ease;
    transition-delay: calc(var(--i) * 140ms);
}
.sg-report__checks .sg-ico { font-size: .8125rem; opacity: .35; transition: opacity 250ms ease; transition-delay: inherit; }
.sg-report__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; }
.sg-report__bar i { position: absolute; inset: 0; background: var(--sg-accent); transform-origin: 0 50%; transform: scaleX(0); }
.sg-report[data-state="working"] .sg-report__status { color: var(--sg-accent-text); }
.sg-report[data-state="ready"] .sg-report__status { color: var(--sg-text); }
.sg-report[data-state="ready"] .sg-report__checks li { color: var(--sg-accent-text); border-color: var(--sg-accent-line); background: var(--sg-accent-soft); }
.sg-report[data-state="ready"] .sg-report__checks .sg-ico { opacity: 1; }
.sg-report[data-state="ready"] .sg-report__bar i { transform: scaleX(1); opacity: 0; transition: opacity 600ms ease 800ms; }
.sg-report[data-state="idle"] .sg-report__checks li { transition-delay: 0s; }

@media (max-width: 1023.98px) {
    .sg-hero__grid { grid-template-columns: minmax(0, 1fr); }
    .sg-hero__copy { max-width: 720px; }
    .sg-hero__visual { max-width: 600px; }
}
/* Telefon: przyciski jeden pod drugim, na całą szerokość */
@media (max-width: 520px) {
    .sg-hero__cta { display: grid; grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
    .sg-bld { padding: 14px 12px 12px; }
    .sg-bld__floor { grid-template-columns: 16px repeat(3, minmax(0, 1fr)); gap: 5px; }
    .sg-bld__floor .sg-unit:nth-child(5) { display: none; }
    .sg-bld__roof, .sg-bld__ground, .sg-bld__legend, .sg-bld__note { margin-left: 21px; }
    .sg-bld__note { padding-left: 0; }
    .sg-bld__scan { left: 21px; }
    .sg-unit { min-height: 54px; padding: 8px; }
}

/* ═══════════════ TERMINY USTAWY ═══════════════ */
.sg-tl { --gap: 32px; position: relative; }
.sg-tl__track {
    --col: calc((100% - 2 * var(--gap)) / 3 + var(--gap));
    position: absolute; left: 0; right: 0; top: 7px; height: 2px; border-radius: 2px; background: var(--sg-line-2);
}
.sg-tl__fill {
    position: absolute; inset: 0; border-radius: inherit;
    background: linear-gradient(90deg, rgba(0, 212, 170, .5), var(--sg-accent));
    clip-path: inset(0 calc(100% - (var(--seg) + var(--f)) * var(--col)) 0 0);
}
.sg-tl__today {
    position: absolute; top: 1px; left: calc((var(--seg) + var(--f)) * var(--col));
    transform: translate(-50%, calc(-100% - 12px));
    padding: 4px 10px; border-radius: 999px; background: var(--sg-cta); color: var(--sg-cta-ink);
    font: 600 .75rem/1.2 var(--sg-body); white-space: nowrap;
}
.sg-tl__today::after { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 12px; margin-left: -1px; background: var(--sg-cta); }
.sg-tl__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.sg-tl__item { position: relative; padding-top: 36px; }
.sg-tl__dot { position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--sg-line-2); background: var(--sg-bg); }
.sg-tl__item.is-past .sg-tl__dot { border-color: var(--sg-accent); background: var(--sg-accent); }
.sg-tl__item.is-next .sg-tl__dot { border-color: var(--sg-accent); box-shadow: 0 0 0 5px var(--sg-accent-soft); }
.sg-tl__date { display: block; font: 500 .875rem/1.2 var(--sg-mono); color: var(--sg-text-3); font-variant-numeric: tabular-nums; }
.sg-tl__item.is-next .sg-tl__date { color: var(--sg-accent-text); }
.sg-tl__title { margin-top: 10px; font-size: 1.25rem; }
.sg-tl__text { margin-top: 8px; font-size: .9688rem; color: var(--sg-text-2); max-width: 34ch; }
.sg-tl__count { display: inline-flex; gap: 6px; margin-top: 14px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--sg-accent-line); background: var(--sg-accent-soft); font-size: .875rem; color: var(--sg-text-2); }
.sg-tl__count b { font-family: var(--sg-mono); font-weight: 500; color: var(--sg-accent-text); }
.sg-terms__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 32px; margin-top: clamp(48px, 6vw, 72px); }
.sg-terms__facts li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; padding-top: 20px; border-top: 1px solid var(--sg-line); font-size: .9688rem; color: var(--sg-text-2); }
.sg-terms__facts .sg-ico { font-size: 22px; color: var(--sg-accent); margin-top: 1px; }
@media (max-width: 767.98px) {
    .sg-tl__track { display: none; }
    .sg-tl__list { grid-template-columns: minmax(0, 1fr); gap: 28px; position: relative; }
    .sg-tl__list::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--sg-line-2); }
    .sg-tl__item { padding: 0 0 0 36px; }
    .sg-tl__dot { top: 2px; }
    .sg-tl__title { margin-top: 6px; }
    .sg-terms__facts { grid-template-columns: minmax(0, 1fr); }
}

/* ═══════════════ JAK DZIAŁA — przepływ danych (Animated Beam) ═══════════════ */
.sg-flow {
    position: relative; isolation: isolate;
    display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto; align-items: center;
    gap: clamp(28px, 5vw, 76px);
    padding: clamp(24px, 4vw, 48px);
    border: 1px solid var(--sg-line); border-radius: var(--sg-radius);
    background: radial-gradient(55% 90% at 42% 50%, rgba(0, 212, 170, .08), transparent 70%), var(--sg-surface);
}
.sg-flow__svg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.sg-flow__line { fill: none; stroke: var(--sg-line-2); stroke-width: 1.5; }
.sg-flow__beam {
    fill: none; stroke: var(--sg-cta); stroke-width: 2.4; stroke-linecap: round;
    stroke-dasharray: .16 1.84; stroke-dashoffset: .16; opacity: 0;
    filter: drop-shadow(0 0 3px rgba(0, 212, 170, .7));
}
.sg-flow__col { position: relative; z-index: 1; display: grid; gap: 14px; }
.sg-node {
    display: flex; align-items: center; gap: 12px; min-width: 0;
    padding: 10px 16px 10px 10px;
    border: 1px solid var(--sg-line-2); border-radius: 14px; background: var(--sg-bg-2);
}
.sg-node__icon { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--sg-accent-soft); color: var(--sg-accent); font-size: 22px; }
.sg-node__txt { display: grid; gap: 1px; min-width: 0; }
.sg-node__txt b { font-size: .9375rem; font-weight: 600; line-height: 1.3; color: var(--sg-text); }
.sg-node__txt span { font-size: .8125rem; line-height: 1.35; color: var(--sg-text-3); }
.sg-node--hub {
    flex-direction: column; gap: 10px; padding: 20px 22px; text-align: center;
    border-color: var(--sg-accent-line);
    background: linear-gradient(180deg, rgba(0, 212, 170, .14), rgba(0, 212, 170, .03)), var(--sg-surface-2);
    box-shadow: 0 0 0 7px rgba(0, 212, 170, .06), 0 24px 50px -24px rgba(0, 212, 170, .45);
}
.sg-node__icon--hub { width: auto; height: auto; padding: 4px; background: none; }
.sg-node__icon--hub img { height: 30px; width: auto; }
.sg-node--gov { flex-direction: column; gap: 10px; padding: 16px 18px; text-align: center; }
.sg-node__icon--gov { width: 132px; height: 52px; padding: 0; overflow: hidden; border-radius: 10px; background: #fff; }
/* Plik logo ma szerokie białe marginesy — kadrujemy do znaku */
.sg-node__icon--gov img { width: 100%; height: 100%; object-fit: cover; object-position: 48% 50%; transform: scale(1.16); }
@media (max-width: 1023.98px) {
    .sg-flow { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 40px; }
    .sg-flow__col { width: 100%; }
    .sg-flow__col--in, .sg-flow__col--out { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; max-width: 640px; }
    .sg-flow__col--hub, .sg-flow__col--gov { justify-items: center; }
}
@media (max-width: 520px) {
    .sg-flow { padding: 18px 12px; }
    .sg-flow__col--in, .sg-flow__col--out { gap: 10px; }
    .sg-node { flex-direction: column; align-items: flex-start; gap: 8px; padding: 10px; }
    .sg-node__icon { width: 36px; height: 36px; font-size: 19px; }
    /* Logo wtyczki i Otwartych Danych zachowują własne proporcje */
    .sg-node__icon--hub { width: auto; height: auto; }
    .sg-node__icon--gov { width: 116px; height: 46px; }
    .sg-node__txt b { font-size: .875rem; }
    .sg-node__txt span { font-size: .75rem; }
    .sg-node--hub, .sg-node--gov { align-items: center; }
}

.sg-steps4 { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: clamp(48px, 6vw, 72px); }
.sg-steps4::before { content: ""; position: absolute; left: 22px; right: 22px; top: 22px; height: 1px; background: var(--sg-line-2); }
.sg-steps4__item { position: relative; }
.sg-steps4__icon {
    position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px;
    border-radius: 50%; border: 1px solid var(--sg-accent-line); background: var(--sg-bg); color: var(--sg-accent); font-size: 20px;
    box-shadow: 0 0 0 8px var(--sg-bg);
}
.sg-steps4__item h3 { margin-top: 18px; font-size: 1.125rem; }
.sg-steps4__item p { margin-top: 8px; font-size: .9375rem; color: var(--sg-text-2); }
.sg-steps4__item code { padding: 1px 6px; border-radius: 6px; background: var(--sg-accent-soft); color: var(--sg-accent-text); font-size: .85em; }
@media (max-width: 899.98px) { .sg-steps4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sg-steps4::before { display: none; } }
@media (max-width: 520px) {
    .sg-steps4 { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    /* Ikona obok tekstu zamiast nad nim: krótsza sekcja na telefonie */
    .sg-steps4__item { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; align-items: start; }
    .sg-steps4__icon { grid-row: span 2; }
    .sg-steps4__item h3 { margin-top: 11px; }
}

/* ═══════════════ FUNKCJE — BENTO ═══════════════ */
.sg-bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.sg-tile {
    position: relative; isolation: isolate; overflow: hidden;
    display: flex; flex-direction: column; gap: 22px; padding: 26px;
    border: 1px solid var(--sg-line); border-radius: var(--sg-radius); background: var(--sg-surface);
}
.sg-light .sg-tile { box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 12px 32px -18px rgba(15, 23, 42, .18); }
.sg-tile__copy { display: grid; gap: 10px; }
.sg-tile__icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 6px; border-radius: 11px; background: var(--sg-accent-soft); color: var(--sg-accent); font-size: 22px; }
.sg-tile h3 { font-size: 1.25rem; letter-spacing: -.015em; }
.sg-tile p { font-size: .9688rem; line-height: 1.55; color: var(--sg-text-2); }
.sg-tile--report { grid-column: 1 / span 7; grid-row: 1 / span 2; background: radial-gradient(90% 70% at 100% 0%, var(--sg-accent-soft), transparent 62%), var(--sg-surface); }
.sg-tile--history { grid-column: 8 / span 5; grid-row: 1; }
.sg-tile--site { grid-column: 8 / span 5; grid-row: 2; padding-bottom: 0; }
.sg-tile--checks { grid-column: 1 / span 5; grid-row: 3; }
.sg-tile--order { grid-column: 6 / span 4; grid-row: 3; }
.sg-tile--addons { grid-column: 10 / span 3; grid-row: 3; background: linear-gradient(160deg, var(--sg-accent-soft), transparent 55%), var(--sg-surface); }
.sg-tile--styles { grid-column: 1 / span 4; grid-row: 4; }
.sg-tile--mobile { grid-column: 5 / span 4; grid-row: 4; }
.sg-tile--filters { grid-column: 9 / span 4; grid-row: 4; }
.sg-tile--columns { grid-column: 1 / span 5; grid-row: 5; }
.sg-tile--hidden { grid-column: 6 / span 3; grid-row: 5; }
.sg-tile--cleanup { grid-column: 9 / span 4; grid-row: 5; }

/* Poświata krawędzi pod kursorem (tylko mysz) */
.sg-tile::after {
    content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; padding: 1px;
    background: radial-gradient(260px circle at var(--mx, 50%) var(--my, -200px), rgba(0, 212, 170, .55), transparent 65%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0; pointer-events: none; transition: opacity 250ms ease;
}
@media (hover: hover) and (pointer: fine) { .sg-tile:hover::after { opacity: 1; } }

.sg-cols {
    position: relative; flex: 1 1 0; min-height: 260px; overflow: hidden;
    border-radius: 12px; border: 1px solid var(--sg-line); background: var(--sg-fill);
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 84%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 84%, transparent 100%);
}
.sg-cols__list li { display: block; padding: 7px 16px; font-size: .8125rem; line-height: 1.45; color: var(--sg-text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sg-cols__list li > span { display: inline-block; width: 30px; font: 500 .6875rem/1 var(--sg-mono); color: var(--sg-accent-text); }
.sg-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sg-chips li { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--sg-accent-line); background: var(--sg-accent-soft); font: 500 .75rem/1 var(--sg-mono); color: var(--sg-accent-text); }

.sg-chart { margin-top: auto; display: grid; gap: 14px; }
.sg-chart__plot { position: relative; aspect-ratio: 332 / 124; margin-bottom: 18px; }
.sg-chart__plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sg-chart__area { fill: var(--sg-accent-soft); }
.sg-chart__line { fill: none; stroke: var(--sg-accent); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.sg-chart__omni { stroke: var(--sg-text-3); stroke-width: 1.5; stroke-dasharray: 5 5; }
.sg-chart__dot { position: absolute; left: 98.19%; top: 74.35%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--sg-accent); box-shadow: 0 0 0 4px var(--sg-accent-soft); }
.sg-chart__x { position: absolute; top: 100%; left: calc(var(--x) * 1%); margin-top: 6px; font: 500 .6875rem/1 var(--sg-mono); color: var(--sg-text-3); }
.sg-chart__legend { display: grid; gap: 6px; font-size: .8125rem; color: var(--sg-text-3); }
.sg-chart__legend span { display: flex; align-items: center; gap: 8px; }
.sg-chart__legend span::before { content: ""; width: 18px; flex: none; border-top: 2px solid var(--sg-accent); }
.sg-chart__legend .is-omni::before { border-top: 2px dashed var(--sg-text-3); }
.sg-chart__legend b { margin-left: auto; font-family: var(--sg-mono); font-weight: 500; color: var(--sg-text); }

.sg-tile__shot { position: relative; margin: 0 -26px; height: 190px; overflow: hidden; border-top: 1px solid var(--sg-line); background: #fff; }
/* Zbliżenie na listę lokali (bez paska filtrów), żeby dało się przeczytać ceny */
.sg-tile__shot img { position: absolute; left: 0; top: 0; width: 175%; max-width: none; height: auto; transform: translateY(-19%); transform-origin: 0 0; transition: transform 700ms var(--sg-ease-out); }
@media (hover: hover) and (pointer: fine) { .sg-tile--site:hover .sg-tile__shot img { transform: translateY(-19%) scale(1.04); } }

.sg-checklist { display: grid; gap: 9px; }
.sg-checklist li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: center; font-size: .875rem; color: var(--sg-text-2); }
.sg-checklist__ico { display: grid; place-items: center; width: 20px; height: 20px; font-size: 20px; color: var(--sg-accent); }
.sg-checklist .sg-checklist__more { display: block; padding-left: 30px; font-size: .8125rem; color: var(--sg-text-3); }

/* Kolejność lokali: pole „Kolejność w tabeli" w panelu (mniejsza liczba = wyżej na liście).
   Pokaz: numer M.03 zmienia się z 30 na 5 i lokal wskakuje na górę. Wiersz 44px + odstęp 8px = 52px. */
.sg-order { position: relative; display: grid; gap: 8px; margin-top: auto; }
.sg-order li {
    display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: center; gap: 12px;
    height: 44px; padding: 0 12px 0 8px; border: 1px solid var(--sg-line); border-radius: 10px; background: var(--sg-fill);
    font-size: .875rem; color: var(--sg-text-2);
    transition: transform 650ms var(--sg-ease-in-out), border-color 300ms ease, background-color 300ms ease;
}
.sg-order__nr {
    display: grid; place-items: center; min-width: 38px; height: 28px; padding: 0 6px;
    border: 1px solid var(--sg-line-2); border-radius: 7px; background: var(--sg-surface);
    font: 500 .75rem/1 var(--sg-mono); font-style: normal; color: var(--sg-text-2); font-variant-numeric: tabular-nums;
    transition: border-color 250ms ease, box-shadow 250ms ease, color 250ms ease;
}
.sg-order li b { font-family: var(--sg-mono); font-weight: 500; color: var(--sg-text); }
.sg-order li span { justify-self: end; font-family: var(--sg-mono); font-size: .8125rem; }
.sg-order li.is-edit { position: relative; z-index: 1; border-color: var(--sg-accent-line); background: var(--sg-surface-2); }
.sg-order li.is-edit .sg-order__nr { border-color: var(--sg-accent); box-shadow: 0 0 0 3px var(--sg-accent-soft); color: var(--sg-text); }
.sg-order.is-sorted li:nth-child(3) { transform: translateY(-104px); }
.sg-order.is-sorted li:nth-child(1), .sg-order.is-sorted li:nth-child(2) { transform: translateY(52px); }

.sg-addons { display: grid; gap: 8px; margin-top: auto; }
.sg-addons li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 2px 10px; align-items: center; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--sg-line); background: var(--sg-fill); font-size: .8125rem; color: var(--sg-text-2); }
.sg-addons .sg-ico { grid-row: span 2; font-size: 20px; color: var(--sg-accent); }
.sg-addons b { font-family: var(--sg-mono); font-weight: 500; color: var(--sg-text); }

/* ── Style tabeli: Klasyczny / Minimalny / Nowoczesny (warianty z panelu wtyczki). Podgląd to kawałek
      strony klienta, więc ma stałe, jasne kolory niezależne od motywu sekcji. ── */
.sg-style { display: grid; gap: 12px; margin-top: auto; }
.sg-style__names { display: flex; flex-wrap: wrap; gap: 6px; }
.sg-style__names span { padding: 5px 10px; border-radius: 999px; border: 1px solid var(--sg-line); font-size: .75rem; font-weight: 600; color: var(--sg-text-3); transition: color 250ms ease, border-color 250ms ease, background-color 250ms ease; }
.sg-style__names .is-on { color: var(--sg-accent-text); border-color: var(--sg-accent-line); background: var(--sg-accent-soft); }
.sg-style__table { overflow: hidden; border: 1px solid #e3e8ef; border-radius: 10px; background: #fff; color: #334155; font-size: .75rem; transition: border-color 300ms ease; }
.sg-style__row { display: grid; grid-template-columns: .9fr .8fr 1.2fr 1.3fr; align-items: center; gap: 6px; padding: 8px 10px; border-top: 1px solid #edf1f5; font-variant-numeric: tabular-nums; transition: background-color 300ms ease, color 300ms ease, border-color 300ms ease; }
.sg-style__row:first-child { border-top: 0; }
.sg-style__row span:first-child { font-weight: 600; color: #0f172a; transition: color 300ms ease; }
.sg-style__row--head { font-size: .6875rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #64748b; background: #f3f6f9; }
.sg-style__row--head span:first-child { color: #64748b; }
.sg-style__row i { justify-self: start; padding: 3px 8px; border-radius: 999px; font-size: .6875rem; font-style: normal; font-weight: 600; transition: background-color 300ms ease, color 300ms ease, box-shadow 300ms ease; }
.sg-style__row i.is-free { background: #dcfce7; color: #166534; }
.sg-style__row i.is-res { background: #fef3c7; color: #92400e; }
.sg-style__row i.is-sold { background: #eef2f6; color: #64748b; }
.sg-style__table[data-variant="1"] { border-color: transparent; }
.sg-style__table[data-variant="1"] .sg-style__row--head { background: transparent; }
.sg-style__table[data-variant="1"] .sg-style__row i { background: transparent; }
.sg-style__table[data-variant="2"] { border-color: #1f2a44; }
.sg-style__table[data-variant="2"] .sg-style__row--head { background: #1f2a44; color: #e2e8f0; }
.sg-style__table[data-variant="2"] .sg-style__row--head span:first-child { color: #e2e8f0; }
.sg-style__table[data-variant="2"] .sg-style__row:nth-child(odd):not(.sg-style__row--head) { background: #fbf6ec; }
.sg-style__table[data-variant="2"] .sg-style__row i { background: transparent; box-shadow: inset 0 0 0 1px currentColor; }
/* Elegancki (wtyczka 2.22): wiersze jako karty na jasnym tle. Wysokość tabeli jak w pozostałych
   stylach (mniejsze odstępy w wierszach równoważą marginesy i ramki), więc kafelek nie skacze */
.sg-style__table[data-variant="3"] { border-color: #dfe8e3; background: #f2f6f3; }
.sg-style__table[data-variant="3"] .sg-style__row--head { padding-bottom: 5px; background: transparent; color: #5f7068; font-family: var(--sg-mono); font-weight: 500; letter-spacing: .06em; }
.sg-style__table[data-variant="3"] .sg-style__row--head span:first-child { color: #5f7068; }
.sg-style__table[data-variant="3"] .sg-style__row:not(.sg-style__row--head) { margin: 3px 4px 0; padding-top: 6px; padding-bottom: 6px; border: 1px solid #dfe8e3; border-radius: 8px; background: #fff; }
.sg-style__table[data-variant="3"] .sg-style__row:last-child { margin-bottom: 3px; }
.sg-style__table[data-variant="3"] .sg-style__row:not(.sg-style__row--head) span:first-child { justify-self: start; padding: 1px 6px; border-radius: 5px; background: #e3f1ea; color: #14513c; font-weight: 700; }
.sg-style__table[data-variant="3"] .sg-style__row i { padding: 3px 7px 3px 6px; white-space: nowrap; }
.sg-style__table[data-variant="3"] .sg-style__row i::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 4px; border-radius: 50%; background: currentColor; vertical-align: 1px; }
.sg-style__table[data-variant="3"] .sg-style__row i.is-free { background: rgba(29, 138, 93, .1); color: #157049; }
.sg-style__table[data-variant="3"] .sg-style__row i.is-res { background: rgba(196, 128, 28, .12); color: #93580b; }
.sg-style__table[data-variant="3"] .sg-style__row i.is-sold { background: rgba(111, 128, 120, .12); color: #5d6c65; }

/* ── Tabela na telefonie: przewijanie w bok / dopasowanie do szerokości / kafelki ── */
.sg-phone { display: grid; justify-items: center; gap: 14px; margin: auto 0 -26px; }
.sg-phone__modes { order: -1; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.sg-phone__modes span { padding: 5px 10px; border-radius: 999px; border: 1px solid var(--sg-line); font-size: .75rem; font-weight: 600; color: var(--sg-text-3); transition: color 250ms ease, border-color 250ms ease, background-color 250ms ease; }
.sg-phone__modes .is-on { color: var(--sg-accent-text); border-color: var(--sg-accent-line); background: var(--sg-accent-soft); }
.sg-phone__device { width: 184px; height: 148px; padding: 10px 8px 0; border: 1px solid var(--sg-line-2); border-bottom: 0; border-radius: 24px 24px 0 0; background: var(--sg-surface-2); }
.sg-phone__screen { position: relative; height: 100%; overflow: hidden; border-radius: 15px 15px 0 0; background: #fff; }
.sg-phone__screen::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 22px; background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(15, 23, 42, .12)); transition: opacity 300ms ease; }
.sg-phone__table { position: absolute; top: 12px; left: 0; width: 158%; font-size: 10px; line-height: 1.2; color: #334155; transition: width 450ms var(--sg-ease-in-out), opacity 300ms ease, transform 450ms var(--sg-ease-in-out); }
.sg-phone__row { display: grid; grid-template-columns: 1fr .8fr .8fr 1.1fr 1.3fr; gap: 4px; padding: 6px 8px; border-top: 1px solid #edf1f5; white-space: nowrap; }
.sg-phone__row span { overflow: hidden; text-overflow: ellipsis; }
.sg-phone__row span:first-child { font-weight: 700; color: #0f172a; }
.sg-phone__row--head { border-top: 0; background: #f3f6f9; color: #64748b; font-weight: 600; }
.sg-phone__row--head span:first-child { color: #64748b; }
.sg-phone__cards { position: absolute; top: 10px; left: 8px; right: 8px; display: grid; gap: 6px; opacity: 0; transform: translateY(10px); transition: opacity 300ms ease, transform 450ms var(--sg-ease-out); }
.sg-phone__card { display: grid; gap: 2px; padding: 7px 9px; border: 1px solid #e3e8ef; border-radius: 9px; font-size: 10px; line-height: 1.25; color: #475569; }
.sg-phone__card b { color: #0f172a; }
.sg-phone__card em { font-style: normal; font-weight: 700; color: #047857; }
.sg-phone[data-mode="1"] .sg-phone__table { width: 100%; }
.sg-phone[data-mode="1"] .sg-phone__row { grid-template-columns: 1fr .9fr 0fr 1.2fr 0fr; gap: 3px; }
.sg-phone[data-mode="1"] .sg-phone__row .is-extra { opacity: 0; }
.sg-phone[data-mode="1"] .sg-phone__screen::after, .sg-phone[data-mode="2"] .sg-phone__screen::after { opacity: 0; }
.sg-phone[data-mode="2"] .sg-phone__table { opacity: 0; transform: translateY(-8px); }
.sg-phone[data-mode="2"] .sg-phone__cards { opacity: 1; transform: none; }

/* ── Filtry i karta mieszkania ── */
.sg-filters { display: grid; gap: 12px; margin-top: auto; }
.sg-filters__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sg-filters__chips span { padding: 6px 10px; border-radius: 999px; border: 1px solid var(--sg-accent-line); background: var(--sg-accent-soft); font-size: .75rem; font-weight: 600; color: var(--sg-accent-text); transition: color 250ms ease, border-color 250ms ease, background-color 250ms ease; transition-delay: calc(500ms + var(--i) * 450ms); }
.sg-js .sg-tile--filters:not(.is-in) .sg-filters__chips span { border-color: var(--sg-line-2); background: var(--sg-surface); color: var(--sg-text-2); transition-delay: 0s; }
.sg-filters__count { font: 600 1rem/1.2 var(--sg-display); color: var(--sg-text); font-variant-numeric: tabular-nums; }
.sg-filters__btns { display: flex; flex-wrap: wrap; gap: 6px; }
.sg-filters__btns span { padding: 6px 10px; border-radius: 8px; background: var(--sg-fill-2); font-size: .75rem; font-weight: 600; color: var(--sg-text-2); }

/* ── Kolumny tabeli do wyboru (przełączniki) ── */
.sg-switches { display: grid; gap: 6px; margin-top: auto; }
.sg-switches li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 12px; border: 1px solid var(--sg-line); border-radius: 10px; background: var(--sg-fill); font-size: .8125rem; color: var(--sg-text-2); }
.sg-switches i { position: relative; flex: none; width: 34px; height: 20px; border-radius: 999px; background: var(--sg-line-2); transition: background-color 250ms ease; }
.sg-switches i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(15, 23, 42, .25); transition: transform 250ms var(--sg-ease-out); }
.sg-switches .is-on i, .sg-switches .is-flip i { background: var(--sg-accent); }
.sg-switches .is-on i::after, .sg-switches .is-flip i::after { transform: translateX(14px); }
.sg-switches .is-flip i, .sg-switches .is-flip i::after { transition-delay: calc(700ms + var(--i) * 500ms); }
.sg-js .sg-tile--columns:not(.is-in) .is-flip i { background: var(--sg-line-2); transition-delay: 0s; }
.sg-js .sg-tile--columns:not(.is-in) .is-flip i::after { transform: none; transition-delay: 0s; }

/* ── Ukryte ceny sprzedanych lokali ── */
.sg-hide { display: grid; gap: 8px; margin-top: auto; }
.sg-hide__row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--sg-line); border-radius: 10px; background: var(--sg-fill); font-size: .8125rem; }
.sg-hide__row.is-sold { border-style: dashed; border-color: var(--sg-line-2); background: transparent; }
.sg-hide__row b { font-family: var(--sg-mono); font-weight: 500; color: var(--sg-text); }
.sg-hide__status { color: var(--sg-accent-text); }
.sg-hide__row.is-sold .sg-hide__status { color: var(--sg-text-3); }
.sg-hide__price { display: grid; justify-items: end; font-family: var(--sg-mono); }
.sg-hide__price s, .sg-hide__price em { grid-area: 1 / 1; font-style: normal; white-space: nowrap; }
.sg-hide__price em { color: var(--sg-text); }
.sg-hide__row.is-sold s, .sg-hide__row.is-sold em { transition: opacity 400ms ease 900ms, transform 400ms var(--sg-ease-out) 900ms; }
.sg-hide__row.is-sold s { color: var(--sg-text-3); opacity: 0; transform: translateY(-4px); }
.sg-js .sg-tile--hidden:not(.is-in) .sg-hide__row.is-sold s { opacity: 1; transform: none; transition-delay: 0s; }
.sg-js .sg-tile--hidden:not(.is-in) .sg-hide__row.is-sold em { opacity: 0; transform: translateY(4px); transition-delay: 0s; }

/* ── Porządki w historii: fraza potwierdzająca i cofnięcie ── */
.sg-clean { display: grid; gap: 8px; margin-top: auto; }
.sg-clean__label { font-size: .75rem; font-weight: 600; color: var(--sg-text-3); }
.sg-clean__input { display: flex; align-items: center; height: 40px; padding: 0 12px; border: 1px solid var(--sg-line-2); border-radius: 10px; background: var(--sg-surface); font: 500 .8125rem/1 var(--sg-mono); color: var(--sg-text); }
.sg-clean__text { display: inline-block; width: 15ch; overflow: hidden; white-space: nowrap; transition: width 1200ms steps(15, end) 600ms; }
.sg-js .sg-tile--cleanup:not(.is-in) .sg-clean__text { width: 0; transition-delay: 0s; }
.sg-clean__undo { justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid var(--sg-accent-line); border-radius: 999px; background: var(--sg-accent-soft); font-size: .75rem; font-weight: 600; color: var(--sg-accent-text); transition: opacity 400ms ease 1900ms, transform 400ms var(--sg-ease-out) 1900ms; }
.sg-clean__undo .sg-ico { font-size: 14px; }
.sg-js .sg-tile--cleanup:not(.is-in) .sg-clean__undo { opacity: 0; transform: translateY(6px); transition-delay: 0s; }

@media (max-width: 1023.98px) {
    .sg-tile--report { grid-column: 1 / -1; grid-row: auto; }
    .sg-tile--history, .sg-tile--site, .sg-tile--checks, .sg-tile--order,
    .sg-tile--styles, .sg-tile--mobile, .sg-tile--filters, .sg-tile--columns, .sg-tile--hidden, .sg-tile--cleanup { grid-column: span 6; grid-row: auto; }
    .sg-tile--addons { grid-column: 1 / -1; grid-row: auto; }
    .sg-tile--addons .sg-addons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sg-cols { flex: none; height: 300px; }
}
@media (max-width: 719.98px) {
    .sg-bento { grid-template-columns: minmax(0, 1fr); }
    .sg-tile--history, .sg-tile--site, .sg-tile--checks, .sg-tile--order, .sg-tile--addons,
    .sg-tile--styles, .sg-tile--mobile, .sg-tile--filters, .sg-tile--columns, .sg-tile--hidden, .sg-tile--cleanup { grid-column: 1 / -1; }
    .sg-tile { padding: 22px; }
    .sg-tile__shot { margin: 0 -22px; }
    .sg-phone { margin-bottom: -22px; }
    .sg-tile--addons .sg-addons { grid-template-columns: minmax(0, 1fr); }
}

/* ═══════════════ DLA KOGO ═══════════════ */
.sg-who { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.sg-who__card { position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--sg-line); border-radius: var(--sg-radius); background: var(--sg-surface); }
.sg-who__card--mieszkania { grid-column: span 7; }
.sg-who__card--domy { grid-column: span 5; }
.sg-who__card--inwestycje { grid-column: span 5; }
.sg-who__card--agencje { grid-column: span 7; }
.sg-who__img { height: clamp(190px, 21vw, 270px); overflow: hidden; background: #0b1120; }
/* Zdjęcia to kadry bez menu i napisów stron (portfolio/*-kadr.jpg), więc wystarczy object-fit */
.sg-who__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transform: scale(1.02); transition: transform 900ms var(--sg-ease-out); }
.sg-who__card--domy .sg-who__img img { object-position: 30% 60%; }
@media (hover: hover) and (pointer: fine) { .sg-who__card:hover .sg-who__img img { transform: scale(1.06); } }
.sg-who__body { display: grid; align-content: start; gap: 10px; padding: 24px 26px 26px; }
.sg-who__icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 4px; border-radius: 11px; background: var(--sg-accent-soft); color: var(--sg-accent); font-size: 22px; }
.sg-who__body h3 { font-size: 1.3125rem; }
.sg-who__body p { font-size: .9688rem; color: var(--sg-text-2); }
.sg-who__body .sg-link { margin-top: 4px; }
.sg-who__body .sg-who__proof { display: flex; align-items: flex-start; gap: 8px; margin-top: 4px; font-size: .875rem; color: var(--sg-accent-text); }
.sg-who__proof .sg-ico { margin-top: 2px; font-size: 18px; }

/* Animowana lista zdarzeń (Animated List) */
.sg-alist {
    position: relative; margin: auto 26px 26px; height: 214px; overflow: hidden;
    -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent);
    mask-image: linear-gradient(180deg, #000 72%, transparent);
}
.sg-alist__list { display: grid; gap: 8px; }
.sg-alist__item { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--sg-line); border-radius: 12px; background: var(--sg-fill); }
.sg-alist__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--sg-accent-soft); color: var(--sg-accent); font-size: 19px; }
.sg-alist__txt { min-width: 0; }
.sg-alist__txt b { display: block; font-size: .875rem; font-weight: 600; color: var(--sg-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sg-alist__txt span { display: block; font-size: .8125rem; color: var(--sg-text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sg-alist__item.is-new { animation: sg-alist-in 480ms var(--sg-ease-out) both; }
@keyframes sg-alist-in { from { opacity: 0; transform: translateY(-12px) scale(.96); } to { opacity: 1; transform: none; } }

/* Pisanie kodu (Typewriter) */
.sg-who__chips { margin: auto 26px 12px; }
.sg-type { margin: 0 26px 26px; padding: 14px 16px; border: 1px solid var(--sg-line-2); border-radius: 12px; background: #050912; }
.sg-type__label { display: block; margin-bottom: 8px; font-size: .75rem; font-weight: 600; color: #8591a6; }
.sg-type__line { display: block; min-height: 1.6em; font-size: .9375rem; line-height: 1.6; color: #8ff0d9; word-break: break-all; }
.sg-type__caret { display: inline-block; width: 2px; height: 1.15em; margin-left: 2px; vertical-align: -0.2em; background: #00d4aa; }

.sg-who__www { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: 16px; padding: 22px 26px; border: 1px solid var(--sg-line); border-radius: var(--sg-radius); background: var(--sg-fill); }
.sg-who__www p { max-width: 62ch; color: var(--sg-text-2); }
.sg-who__www b { color: var(--sg-text); }
@media (max-width: 1023.98px) {
    .sg-who__card--mieszkania, .sg-who__card--domy, .sg-who__card--inwestycje, .sg-who__card--agencje { grid-column: span 6; }
}
@media (max-width: 719.98px) {
    .sg-who { grid-template-columns: minmax(0, 1fr); }
    .sg-who__card--mieszkania, .sg-who__card--domy, .sg-who__card--inwestycje, .sg-who__card--agencje { grid-column: 1 / -1; }
    .sg-who__body { padding: 22px; }
    .sg-alist, .sg-type { margin: 0 22px 22px; }
    .sg-who__chips { margin: 0 22px 12px; }
}

/* ═══════════════ DEMO ═══════════════ */
.sg-demo__tabs { display: flex; justify-content: center; }
.sg-seg {
    --n: 3; --idx: 0;
    position: relative; isolation: isolate; display: inline-grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr);
    padding: 4px; border-radius: 999px; border: 1px solid var(--sg-line-2); background: var(--sg-fill);
}
.sg-seg__btn { position: relative; z-index: 1; min-height: 42px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--sg-text-2); font-size: .9375rem; font-weight: 600; white-space: nowrap; transition: color 200ms ease; }
.sg-seg__btn[aria-selected="true"] { color: var(--sg-text); }
@media (hover: hover) and (pointer: fine) { .sg-seg__btn:hover { color: var(--sg-text); } }
.sg-seg__thumb {
    position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / var(--n));
    border-radius: 999px; border: 1px solid var(--sg-accent-line); background: var(--sg-surface);
    box-shadow: 0 2px 8px -2px var(--sg-shadow);
    transform: translateX(calc(var(--idx) * 100%)); transition: transform 280ms var(--sg-ease-in-out);
}
.sg-dark .sg-seg__thumb { background: var(--sg-surface-2); }

.sg-shots { display: grid; margin-top: 40px; }
.sg-shot {
    grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1fr); align-content: start;
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: opacity 260ms var(--sg-ease-out), transform 260ms var(--sg-ease-out), visibility 0s linear 260ms;
}
.sg-shot.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.sg-frame {
    position: relative; display: block; width: 100%; margin: 0; padding: 10px;
    border: 1px solid var(--sg-line-2); border-radius: var(--sg-radius); background: var(--sg-surface-2);
    box-shadow: 0 40px 90px -45px var(--sg-shadow); cursor: zoom-in; text-align: left;
    transition: transform 400ms var(--sg-ease-out);
}
.sg-frame img { width: 100%; height: auto; border-radius: 9px; background: #fff; }
.sg-frame__zoom {
    position: absolute; right: 22px; bottom: 22px; display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 12px; border-radius: 999px; background: rgba(7, 11, 20, .86); color: #e9eef6; font-size: .8125rem; font-weight: 600;
    opacity: 0; transform: translateY(4px); transition: opacity 200ms var(--sg-ease-out), transform 200ms var(--sg-ease-out);
}
.sg-frame:focus-visible .sg-frame__zoom { opacity: 1; transform: none; }
@media (hover: hover) and (pointer: fine) {
    .sg-frame:hover { transform: translateY(-4px); }
    .sg-frame:hover .sg-frame__zoom { opacity: 1; transform: none; }
}
.sg-shot__side { position: relative; z-index: 1; justify-self: end; width: min(46%, 520px); margin: -9% 3% 0 0; }
.sg-shot__cap { margin-top: 12px; font-size: .875rem; color: var(--sg-text-3); text-align: right; }
.sg-demo__live { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: clamp(40px, 5vw, 64px); padding: 22px 26px; border: 1px solid var(--sg-line); border-radius: var(--sg-radius); background: var(--sg-fill); }
.sg-demo__live p { max-width: 62ch; color: var(--sg-text-2); }
.sg-demo__live b { color: var(--sg-text); }
@media (max-width: 719.98px) {
    .sg-shot__side { width: 78%; margin: -12% 0 0 0; }
    .sg-frame { padding: 6px; }
    .sg-frame img { border-radius: 7px; }
    .sg-seg__btn { padding: 0 12px; font-size: .875rem; }
}
/* Telefon: przełączniki na całą szerokość, równe kolumny */
@media (max-width: 520px) {
    .sg-seg { display: grid; width: 100%; }
}
@media (max-width: 400px) {
    .sg-seg__btn { padding: 0 8px; font-size: .8125rem; }
}
/* Ekrany dotykowe nie mają hovera: znak „Powiększ" widać stale na głównym zrzucie */
@media (hover: none) {
    .sg-frame--main .sg-frame__zoom { top: 14px; right: 14px; bottom: auto; padding: 5px 10px; font-size: .75rem; opacity: 1; transform: none; }
}

.sg-lightbox { width: min(1440px, 94vw); max-width: none; max-height: 94vh; margin: auto; padding: 0; border: 0; background: transparent; color: #e9eef6; overflow: visible; }
.sg-lightbox::backdrop { background: rgba(3, 6, 12, .86); }
.sg-lightbox[open] { animation: sg-dialog-in 250ms var(--sg-ease-out); }
.sg-lightbox[open]::backdrop { animation: sg-fade 250ms var(--sg-ease-out); }
.sg-lightbox.is-closing { animation: sg-dialog-out 160ms var(--sg-ease-out) forwards; }
.sg-lightbox.is-closing::backdrop { animation: sg-fade-out 160ms var(--sg-ease-out) forwards; }
@keyframes sg-dialog-in { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@keyframes sg-dialog-out { to { opacity: 0; transform: scale(.97); } }
@keyframes sg-fade-out { to { opacity: 0; } }
.sg-lightbox__fig { display: grid; gap: 10px; justify-items: center; }
.sg-lightbox__img { max-width: 100%; max-height: calc(94vh - 110px); width: auto; height: auto; border-radius: 12px; background: #fff; }
.sg-lightbox__cap { font-size: .9375rem; color: #a8b3c6; text-align: center; }
.sg-lightbox__bar { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 12px; }
.sg-lightbox__btn { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(148, 163, 184, .24); border-radius: 999px; background: rgba(14, 21, 36, .9); color: #e9eef6; font-size: 20px; transition: transform 160ms var(--sg-ease-out), border-color 200ms ease; }
.sg-lightbox__btn:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { .sg-lightbox__btn:hover { border-color: rgba(0, 212, 170, .5); } }
.sg-lightbox__close { margin-left: 18px; }

/* ═══════════════ UKŁAD TEKST + WIZUAL ═══════════════ */
.sg-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.sg-split--rev .sg-split__visual { order: -1; }
.sg-split__copy .sg-lead { margin-top: 18px; }
.sg-ticks { display: grid; gap: 12px; margin-top: 28px; }
.sg-ticks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; color: var(--sg-text-2); }
.sg-ticks .sg-ico { font-size: 18px; margin-top: 3px; color: var(--sg-accent); }
@media (max-width: 899.98px) { .sg-split { grid-template-columns: minmax(0, 1fr); } .sg-split--rev .sg-split__visual { order: 0; } }

.sg-map { padding: 22px; border: 1px solid var(--sg-line); border-radius: var(--sg-radius); background: var(--sg-surface); box-shadow: 0 40px 80px -48px var(--sg-shadow); }
.sg-map__file { display: flex; align-items: center; gap: 10px; padding-bottom: 16px; margin-bottom: 14px; border-bottom: 1px solid var(--sg-line); font: 500 .8125rem/1.2 var(--sg-mono); color: var(--sg-text); }
.sg-map__file .sg-ico { font-size: 22px; color: var(--sg-accent); }
.sg-map__head, .sg-map__row { display: grid; grid-template-columns: minmax(0, 1fr) 60px minmax(0, 1fr); align-items: center; gap: 10px; }
.sg-map__head { margin-bottom: 8px; font-size: .75rem; font-weight: 600; color: var(--sg-text-3); }
.sg-map__head span:last-child { grid-column: 3; }
.sg-map__row + .sg-map__row { margin-top: 8px; }
.sg-map__from, .sg-map__to { padding: 9px 12px; border-radius: 10px; border: 1px solid var(--sg-line-2); font-size: .875rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sg-map__from { font-family: var(--sg-mono); font-size: .8125rem; color: var(--sg-text-2); background: var(--sg-fill); }
.sg-map__to { color: var(--sg-text); background: var(--sg-fill); transition: border-color 300ms ease; transition-delay: calc(720ms + var(--i) * 150ms); }
.sg-map__wire { width: 60px; height: 12px; overflow: visible; }
.sg-map__wire path { fill: none; stroke: var(--sg-accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 480ms var(--sg-ease-in-out) calc(300ms + var(--i) * 150ms); }
.sg-map__wire .sg-map__tip { transition: opacity 200ms ease calc(700ms + var(--i) * 150ms); }
.sg-map__result { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding: 11px 14px; border-radius: 10px; background: var(--sg-accent-soft); color: var(--sg-accent-text); font-size: .875rem; font-weight: 600; transition: opacity 400ms var(--sg-ease-out) 1500ms, transform 400ms var(--sg-ease-out) 1500ms; }
.sg-map__result .sg-ico { font-size: 20px; }
.sg-map__actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }
.sg-map__actions span { padding: 9px 14px; border-radius: 999px; border: 1px solid var(--sg-line-2); font-size: .8125rem; font-weight: 600; color: var(--sg-text-2); }
.sg-map__actions .is-solid { background: var(--sg-cta); border-color: transparent; color: var(--sg-cta-ink); }
.sg-js .sg-split__visual:not(.is-in) .sg-map__wire path { stroke-dashoffset: 1; }
.sg-js .sg-split__visual:not(.is-in) .sg-map__wire .sg-map__tip { opacity: 0; }
.sg-js .sg-split__visual:not(.is-in) .sg-map__result { opacity: 0; transform: translateY(6px); }
.sg-js .sg-split__visual.is-in .sg-map__to { border-color: var(--sg-accent-line); }
@media (max-width: 460px) {
    .sg-map { padding: 16px; }
    .sg-map__head, .sg-map__row { grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1fr); gap: 6px; }
    .sg-map__wire { width: 36px; }
    .sg-map__from, .sg-map__to { padding: 8px; font-size: .75rem; }
}

/* ═══════════════ LISTA KONTROLNA ═══════════════ */
.sg-magnet-sec { padding-block: clamp(56px, 7vw, 96px); }
.sg-magnet {
    position: relative; overflow: hidden;
    display: grid; grid-template-columns: 132px minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: clamp(20px, 3vw, 40px);
    padding: clamp(24px, 3vw, 34px) clamp(22px, 3vw, 40px);
    border: 1px solid var(--sg-accent-line); border-radius: var(--sg-radius);
    background: linear-gradient(115deg, var(--sg-accent-soft), transparent 60%), var(--sg-surface);
    box-shadow: 0 24px 60px -36px var(--sg-shadow);
}
.sg-magnet__cover { width: 132px; height: auto; border-radius: 6px; transform: rotate(-4deg); box-shadow: 0 22px 40px -18px rgba(15, 23, 42, .45); transition: transform 420ms var(--sg-ease-out); }
@media (hover: hover) and (pointer: fine) { .sg-magnet:hover .sg-magnet__cover { transform: rotate(-1deg) translateY(-4px); } }
.sg-magnet__title { font-size: clamp(1.25rem, 1rem + .8vw, 1.625rem); line-height: 1.2; }
.sg-magnet__text p { margin-top: 10px; color: var(--sg-text-2); }
.sg-magnet__form { display: grid; gap: 10px; }
.sg-magnet__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.sg-magnet__msg { min-height: 1.4em; font-size: .875rem; color: var(--sg-text-2); }
.sg-magnet__msg.is-ok { color: var(--sg-accent-text); }
.sg-magnet__msg.is-err { color: var(--sg-err); }
.sg-magnet__msg a { color: var(--sg-accent-text); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1023.98px) {
    .sg-magnet { grid-template-columns: 104px minmax(0, 1fr); }
    .sg-magnet__cover { width: 104px; }
    .sg-magnet__form { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
    .sg-magnet { grid-template-columns: 72px minmax(0, 1fr); gap: 16px; }
    .sg-magnet__cover { width: 72px; }
    .sg-magnet__row { grid-template-columns: minmax(0, 1fr); }
}

/* ═══════════════ FORMULARZE ═══════════════ */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.sg-label { display: block; font-size: .875rem; font-weight: 600; color: var(--sg-text); }
.sg-label .req, .sg-check .req, .sg-form__hint .req { color: var(--sg-accent); }
.sg-label .opt { font-weight: 400; color: var(--sg-text-3); }
.sg-input {
    width: 100%; min-height: 50px; padding: 0 16px;
    border: 1px solid var(--sg-line-2); border-radius: 12px; background: var(--sg-input-bg); color: var(--sg-text);
    font-size: 1rem; line-height: 1.4;
    transition: border-color 150ms ease, box-shadow 150ms ease;
    -webkit-appearance: none; appearance: none;
}
.sg-input::placeholder { color: var(--sg-placeholder); opacity: 1; }
.sg-input:focus { outline: none; border-color: var(--sg-accent); box-shadow: 0 0 0 3px var(--sg-accent-soft); }
.sg-input.invalid { border-color: var(--sg-err); }
.sg-input.valid { border-color: var(--sg-accent-line); }
.sg-textarea { min-height: 132px; padding: 13px 16px; resize: vertical; }
.sg-textarea--sm { min-height: 92px; }
.sg-select {
    padding-right: 44px; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%238591a6'%3E%3Cpath d='M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 16px center; background-size: 16px;
}
.sg-dark .sg-select option { background: #0e1524; color: #e9eef6; }
.sg-check { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; font-size: .8438rem; line-height: 1.5; color: var(--sg-text-2); cursor: pointer; }
.sg-check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--sg-cta); cursor: pointer; }
.sg-check a { color: var(--sg-accent-text); text-decoration: underline; text-underline-offset: 3px; }
.form-error, .sg-qm__err { display: block; font-size: .8125rem; line-height: 1.4; color: var(--sg-err); }
.form-error:empty, .sg-qm__err:empty { display: none; }

/* Komputer: nagłówek i dane kontaktowe po lewej, formularz po prawej na dwa wiersze.
   Telefon: kolejność z HTML — nagłówek, formularz, dane kontaktowe. */
.sg-contact {
    display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); grid-template-rows: auto 1fr;
    gap: 32px clamp(36px, 6vw, 88px); align-items: start;
}
.sg-contact__head { grid-column: 1; grid-row: 1; }
.sg-contact__head .sg-lead { margin-top: 18px; }
.sg-contact .sg-form { grid-column: 2; grid-row: 1 / span 2; }
.sg-contact__more { grid-column: 1; grid-row: 2; }
.sg-contact__list { display: grid; gap: 14px; margin: 0 0 28px; }
.sg-contact__list li { display: grid; grid-template-columns: 40px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 14px; align-items: center; }
.sg-contact__list .sg-ico { grid-row: span 2; width: 40px; height: 40px; padding: 10px; border-radius: 11px; background: var(--sg-accent-soft); color: var(--sg-accent); }
.sg-contact__list span { font-size: .8125rem; color: var(--sg-text-3); }
.sg-contact__list a, .sg-contact__list b { font-weight: 600; color: var(--sg-text); }
@media (hover: hover) and (pointer: fine) { .sg-contact__list a:hover { color: var(--sg-accent-text); } }
.sg-form { display: grid; gap: 18px; padding: clamp(22px, 3vw, 36px); border: 1px solid var(--sg-line); border-radius: var(--sg-radius); background: var(--sg-surface); }
.sg-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.sg-field { display: grid; gap: 8px; align-content: start; }
.sg-form__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.sg-form__hint { font-size: .8125rem; color: var(--sg-text-3); }
.form-feedback { display: none; padding: 13px 16px; border-radius: 12px; font-size: .9375rem; }
.form-feedback.show { display: block; animation: sg-fade-up 250ms var(--sg-ease-out); }
.form-feedback.success { border: 1px solid var(--sg-accent-line); background: var(--sg-accent-soft); color: var(--sg-text); }
.form-feedback.error { border: 1px solid var(--sg-err); background: var(--sg-err-soft); color: var(--sg-text); }
@media (max-width: 899.98px) {
    .sg-contact { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
    .sg-contact__head, .sg-contact .sg-form, .sg-contact__more { grid-column: 1; grid-row: auto; }
    .sg-contact__more { margin-top: 8px; }
}
@media (max-width: 600px) { .sg-form__row { grid-template-columns: minmax(0, 1fr); } }

/* ═══════════════ API ═══════════════ */
.sg-code { border: 1px solid var(--sg-line-2); border-radius: var(--sg-radius); background: #050912; overflow: hidden; box-shadow: 0 40px 80px -48px rgba(0, 0, 0, .9); }
.sg-code__bar { display: flex; gap: 4px; padding: 8px; border-bottom: 1px solid rgba(148, 163, 184, .13); overflow-x: auto; }
.sg-code__tab { display: inline-flex; align-items: center; gap: 8px; flex: none; min-height: 36px; padding: 0 12px; border: 1px solid transparent; border-radius: 999px; background: transparent; font: 500 .8125rem/1 var(--sg-mono); color: #8591a6; white-space: nowrap; transition: color 200ms ease, background-color 200ms ease, border-color 200ms ease; }
.sg-code__tab span { color: #00d4aa; }
.sg-code__tab[aria-selected="true"] { color: #e9eef6; border-color: rgba(148, 163, 184, .24); background: rgba(255, 255, 255, .05); }
@media (hover: hover) and (pointer: fine) { .sg-code__tab:hover { color: #e9eef6; } }
.sg-code__panels { display: grid; }
.sg-code__body { grid-area: 1 / 1; margin: 0; padding: 20px 22px; font: 400 .8125rem/1.75 var(--sg-mono); color: #c6d0e0; tab-size: 2; overflow-x: auto; white-space: pre; opacity: 0; visibility: hidden; transition: opacity 220ms var(--sg-ease-out), visibility 0s linear 220ms; }
.sg-code__body.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
.sg-code__body code { font-size: inherit; }
/* inline-block: znaki nowej linii w <pre> łamią wiersze, a transform nadal działa */
.sg-code__body .l { display: inline-block; transition: opacity 320ms var(--sg-ease-out), transform 320ms var(--sg-ease-out); }
.sg-code__body i { font-style: normal; color: #8ff0d9; }
.sg-code__body em { font-style: normal; color: #eef2f8; }
.sg-code__body u { text-decoration: none; color: #b7c3d6; }
.sg-code__foot { padding: 12px 22px; border-top: 1px solid rgba(148, 163, 184, .13); font-size: .8125rem; color: #8591a6; }
.sg-code__bar, .sg-code__body { scrollbar-width: thin; scrollbar-color: rgba(148, 163, 184, .3) transparent; }
/* Telefon: zakładki w dwóch wierszach zamiast paska przewijania */
@media (max-width: 520px) {
    .sg-code__bar { flex-wrap: wrap; overflow-x: visible; }
    .sg-code__body { padding: 16px; }
}
.sg-js .sg-split__visual:not(.is-in) .sg-code__body.is-active .l { opacity: 0; transform: translateX(-6px); }

/* ═══════════════ KORZYŚCI ═══════════════ */
.sg-facts { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 40px); }
.sg-fact { padding-top: 22px; border-top: 1px solid var(--sg-line-2); }
.sg-fact--w5 { grid-column: span 5; }
.sg-fact--w4 { grid-column: span 4; }
.sg-fact--w3 { grid-column: span 3; }
.sg-fact__num { display: flex; align-items: baseline; gap: 8px; font-family: var(--sg-display); font-size: clamp(3rem, 2rem + 3.2vw, 4.75rem); font-weight: 600; line-height: 1; letter-spacing: -0.04em; color: var(--sg-text); font-variant-numeric: tabular-nums; }
.sg-fact__num small { font-size: .38em; font-weight: 600; letter-spacing: 0; color: var(--sg-accent-text); }
.sg-fact h3 { margin-top: 14px; font-size: 1.125rem; }
.sg-fact p:not(.sg-fact__num) { margin-top: 6px; font-size: .9375rem; color: var(--sg-text-2); max-width: 36ch; }
@media (max-width: 1023.98px) { .sg-fact--w5, .sg-fact--w4, .sg-fact--w3 { grid-column: span 6; } }
@media (max-width: 560px) { .sg-fact--w5, .sg-fact--w4, .sg-fact--w3 { grid-column: 1 / -1; } }

/* ═══════════════ CENNIK ═══════════════ */
.sg-pricing__switch { display: flex; justify-content: center; }
.sg-plans-stack { display: grid; margin-top: 44px; }
.sg-plans {
    grid-area: 1 / 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch;
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: opacity 260ms var(--sg-ease-out), transform 260ms var(--sg-ease-out), visibility 0s linear 260ms;
}
.sg-plans.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.sg-plan { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 30px 26px 28px; border: 1px solid var(--sg-line); border-radius: var(--sg-radius); background: var(--sg-surface); }
.sg-plan--featured {
    border-color: var(--sg-accent-line);
    background: linear-gradient(180deg, rgba(0, 212, 170, .11), rgba(0, 212, 170, .02) 42%), var(--sg-surface-2);
    box-shadow: 0 40px 80px -48px rgba(0, 212, 170, .4);
}
.sg-plan__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 28px; }
.sg-plan__name { font-size: 1.375rem; }
.sg-plan__badge { flex: none; padding: 5px 11px; border-radius: 999px; background: var(--sg-cta); color: var(--sg-cta-ink); font-size: .75rem; font-weight: 700; }
.sg-plan__desc { min-height: 3em; font-size: .9375rem; color: var(--sg-text-2); }
.sg-plan__note { min-height: 2.9em; font-size: .875rem; color: var(--sg-text-3); }
.sg-plan__note b { color: var(--sg-text); font-weight: 600; }
.sg-plan .sg-btn { margin-top: 4px; }
.sg-plan__list { display: grid; gap: 10px; margin-top: 10px; padding-top: 20px; border-top: 1px solid var(--sg-line); }
.sg-plan__list li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; font-size: .9063rem; line-height: 1.45; color: var(--sg-text-2); }
.sg-plan__list .sg-ico { font-size: 16px; margin-top: 2px; color: var(--sg-accent); }
.sg-plan__list li.is-hl { color: var(--sg-text); font-weight: 600; }
.sg-plan__list li.is-off, .sg-plan__list li.is-off .sg-ico { color: var(--sg-text-3); }

.sg-price__amount { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.sg-price__val { order: 1; font-family: var(--sg-display); font-size: clamp(2.5rem, 2.1rem + 1.3vw, 3.25rem); font-weight: 600; line-height: 1; letter-spacing: -0.035em; color: var(--sg-text); font-variant-numeric: tabular-nums; }
.sg-price__val--txt { font-size: clamp(2.1rem, 1.8rem + 1vw, 2.6rem); }
.sg-price__cur { order: 2; font-size: 1rem; font-weight: 700; color: var(--sg-text-2); }
.sg-price__per { order: 3; flex-basis: 100%; font-size: .875rem; color: var(--sg-text-3); }
.sg-price__old { order: 0; flex-basis: 100%; font: 500 .9375rem/1.2 var(--sg-mono); color: var(--sg-text-3); text-decoration: line-through; }
.sg-price__amount.is-promo .sg-price__val { color: var(--sg-accent); }
.sg-price__ribbon { position: absolute; z-index: 2; top: -13px; left: 24px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: #f0b458; color: #2a1a00; font-size: .75rem; font-weight: 700; }
.sg-price__omnibus { font-size: .8125rem; line-height: 1.45; color: var(--sg-text-2); }
.sg-price__omnibus b { color: var(--sg-text); }
.sg-price__timer, .sg-price__soon { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--sg-accent-line); background: var(--sg-accent-soft); font-size: .8125rem; line-height: 1.4; color: var(--sg-text-2); }
.sg-price__timer b, .sg-price__soon b { color: var(--sg-text); }
.sg-price__timer [data-countdown], .sg-price__soon [data-countdown] { font-family: var(--sg-mono); font-weight: 500; color: var(--sg-accent-text); font-variant-numeric: tabular-nums; }
.sg-price__soon .is-timer { margin-left: auto; }

.sg-guar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 32px; margin-top: clamp(48px, 6vw, 72px); padding-top: 32px; border-top: 1px solid var(--sg-line); }
.sg-guar li { display: grid; grid-template-columns: 26px minmax(0, 1fr); column-gap: 12px; align-content: start; }
.sg-guar .sg-ico { grid-row: span 2; font-size: 24px; color: var(--sg-accent); }
.sg-guar b { font-weight: 600; line-height: 1.35; color: var(--sg-text); }
.sg-guar span { margin-top: 4px; font-size: .875rem; line-height: 1.5; color: var(--sg-text-3); }
.sg-pricing__foot { margin-top: 32px; font-size: .8125rem; color: var(--sg-text-3); text-align: center; }
@media (max-width: 1023.98px) {
    .sg-plans { grid-template-columns: minmax(0, 1fr); width: 100%; max-width: 560px; margin-inline: auto; }
    .sg-plan--featured { order: -1; }
    .sg-plan__desc, .sg-plan__note { min-height: 0; }
    .sg-guar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) { .sg-guar { grid-template-columns: minmax(0, 1fr); } }

/* ═══════════════ O NAS ═══════════════ */
.sg-about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.sg-about__main .sg-lead { margin-top: 18px; }
.sg-gov { display: grid; gap: 14px; margin-top: 32px; padding: 20px; border: 1px solid var(--sg-line); border-radius: var(--sg-radius); background: var(--sg-fill); }
.sg-gov__logos { display: flex; flex-wrap: wrap; gap: 10px; }
.sg-gov__logo { display: grid; place-items: center; height: 64px; padding: 10px 16px; border-radius: 10px; border: 1px solid var(--sg-line); background: #fff; }
.sg-gov__logo img { max-height: 44px; width: auto; }
.sg-gov__logo--od { padding: 0 6px; overflow: hidden; }
.sg-gov__logo--od img { width: 150px; height: 62px; max-height: none; object-fit: cover; transform: scale(1.12); }
.sg-gov p { font-size: .9375rem; color: var(--sg-text-2); }
.sg-gov__links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.sg-gov__links a { display: inline-flex; align-items: center; gap: 4px; font-size: .875rem; font-weight: 600; color: var(--sg-accent-text); }
.sg-about__points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 32px; }
.sg-about__points .sg-ico { width: 40px; height: 40px; padding: 10px; border-radius: 11px; background: var(--sg-accent-soft); color: var(--sg-accent); }
.sg-about__points h3 { margin-top: 16px; font-size: 1.1875rem; }
.sg-about__points p { margin-top: 8px; font-size: .9375rem; color: var(--sg-text-2); }
@media (max-width: 899.98px) { .sg-about { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .sg-about__points { grid-template-columns: minmax(0, 1fr); } }

/* ═══════════════ FAQ ═══════════════ */
.sg-faq-wrap { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.sg-faq-wrap__head .sg-lead { margin-top: 18px; }
.sg-faq__item { border-bottom: 1px solid var(--sg-line-2); }
.sg-faq__item:first-child { border-top: 1px solid var(--sg-line-2); }
.sg .sg-faq__h { font-family: var(--sg-body); font-size: inherit; line-height: inherit; letter-spacing: 0; }
.sg-faq__q { width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 20px 0; border: 0; background: transparent; text-align: left; font-size: 1.0625rem; font-weight: 600; line-height: 1.45; color: var(--sg-text); }
.sg-faq__icon { flex: none; display: grid; place-items: center; width: 30px; height: 30px; margin-top: -2px; border: 1px solid var(--sg-line-2); border-radius: 999px; color: var(--sg-text-2); font-size: 16px; transition: transform 250ms var(--sg-ease-out), border-color 200ms ease, background-color 200ms ease, color 200ms ease; }
.sg-faq__item.is-open .sg-faq__icon { transform: rotate(45deg); border-color: var(--sg-accent-line); background: var(--sg-accent-soft); color: var(--sg-accent); }
@media (hover: hover) and (pointer: fine) { .sg-faq__q:hover .sg-faq__icon { border-color: var(--sg-accent-line); color: var(--sg-accent); } }
.sg-faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 250ms var(--sg-ease-out); }
.sg-faq__item.is-open .sg-faq__a { grid-template-rows: 1fr; }
.sg-faq__inner { overflow: hidden; visibility: hidden; transition: visibility 0s linear 250ms; }
.sg-faq__item.is-open .sg-faq__inner { visibility: visible; transition-delay: 0s; }
.sg-faq__inner p { padding-right: 50px; color: var(--sg-text-2); }
.sg-faq__inner p + p { margin-top: 12px; }
.sg-faq__inner p:last-child { padding-bottom: 24px; }
.sg-faq__inner strong { color: var(--sg-text); }
.sg:not(.sg-js) .sg-faq__a { grid-template-rows: 1fr; }
.sg:not(.sg-js) .sg-faq__inner { visibility: visible; }
@media (max-width: 899.98px) { .sg-faq-wrap { grid-template-columns: minmax(0, 1fr); } .sg-faq__inner p { padding-right: 0; } }

/* ═══════════════ PORÓWNANIE PLATFORM ═══════════════ */
.sg-cms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 4vw, 56px) clamp(32px, 5vw, 72px); }
.sg-cms__item { padding-top: 24px; border-top: 1px solid var(--sg-line-2); }
.sg-cms__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--sg-accent-soft); color: var(--sg-accent); font-size: 22px; }
.sg-cms__item h3 { margin-top: 16px; font-size: 1.3125rem; }
.sg-cms__item p { margin-top: 12px; color: var(--sg-text-2); }
.sg-cms__item strong { color: var(--sg-text); }
@media (max-width: 767.98px) { .sg-cms { grid-template-columns: minmax(0, 1fr); } }

/* ═══════════════ USTAWA ═══════════════ */
.sg-law__toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(36px, 5vw, 56px); }
.sg-law__toc a { padding: 8px 14px; border: 1px solid var(--sg-line-2); border-radius: 999px; font-size: .875rem; font-weight: 500; color: var(--sg-text-2); transition: border-color 200ms ease, color 200ms ease, background-color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .sg-law__toc a:hover { border-color: var(--sg-accent-line); color: var(--sg-accent-text); background: var(--sg-accent-soft); } }
/* Telefon: dłuższy tytuł łamie się na dwa wiersze, więc wszystkie odnośniki mają ten sam, mniejszy promień */
@media (max-width: 520px) { .sg-law__toc a { border-radius: 12px; } }
.sg-law { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 4vw, 52px) clamp(32px, 5vw, 72px); }
.sg-law__block { padding-top: 24px; border-top: 1px solid var(--sg-line-2); scroll-margin-top: calc(var(--sg-top-h) + 24px); }
.sg-law__block h3 { font-size: clamp(1.3rem, 1.1rem + .6vw, 1.625rem); }
.sg-law__block p { margin-top: 14px; font-size: 1rem; color: var(--sg-text-2); }
.sg-law__block strong { color: var(--sg-text); }
.sg-law__block ul { display: grid; gap: 8px; margin-top: 14px; }
.sg-law__block li { position: relative; padding-left: 22px; color: var(--sg-text-2); }
.sg-law__block li::before { content: ""; position: absolute; left: 2px; top: .75em; width: 8px; height: 2px; border-radius: 2px; background: var(--sg-accent); }
@media (max-width: 899.98px) { .sg-law { grid-template-columns: minmax(0, 1fr); } }

/* ═══════════════ CTA KOŃCOWE ═══════════════ */
.sg-final { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(100px, 13vw, 180px); text-align: center; scroll-margin-top: var(--sg-top-h); }
.sg-hero__aurora--final span:nth-child(1) { right: auto; left: 50%; top: auto; bottom: -40vw; margin-left: -31vw; }
.sg-final__title { font-size: clamp(2.4rem, 1.2rem + 4.6vw, 4.75rem); line-height: 1.04; letter-spacing: -0.04em; }
.sg-final__line { display: block; padding-bottom: .1em; }
.sg-final__line--accent { color: var(--sg-accent); }
.sg-final__lead { max-width: 46ch; margin: 22px auto 0; font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); color: var(--sg-text-2); }
.sg-final__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
@media (max-width: 520px) { .sg-final__cta { display: grid; grid-template-columns: minmax(0, 1fr); } }

/* ═══════════════ STOPKA ═══════════════ */
.sg-footer { padding-block: 64px 32px; border-top: 1px solid var(--sg-line); background: #04070d; }
.sg-footer__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.sg-footer__brand p { margin: 18px 0 20px; max-width: 38ch; font-size: .9375rem; color: var(--sg-text-3); }
.sg-footer__cs { display: inline-block; margin-bottom: 20px; }
.sg-footer__cs img { height: 32px; width: auto; opacity: .75; transition: opacity 200ms ease; }
@media (hover: hover) and (pointer: fine) { .sg-footer__cs:hover img { opacity: 1; } }
.sg-footer__col { display: grid; align-content: start; gap: 10px; }
.sg .sg-footer__col h4 { margin-bottom: 6px; font-family: var(--sg-body); font-size: .875rem; font-weight: 700; letter-spacing: 0; color: var(--sg-text); }
.sg-footer__col a { font-size: .9375rem; color: var(--sg-text-3); transition: color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .sg-footer__col a:hover, .sg-footer__bottom a:hover { color: var(--sg-text); } }
.sg-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--sg-line); font-size: .8125rem; color: var(--sg-text-3); }
.sg-footer__bottom a { color: var(--sg-text-2); }
@media (max-width: 1023.98px) { .sg-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .sg-footer__grid { grid-template-columns: minmax(0, 1fr); } }

/* ═══════════════ PŁYWAJĄCE CTA + OKNO „ODDZWONIMY" ═══════════════ */
.sg .sg-float {
    position: fixed; z-index: 800; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
    opacity: 0; transform: translateY(calc(100% + 24px)); pointer-events: none;
    transition: transform 520ms var(--sg-ease-drawer), opacity 300ms var(--sg-ease-out);
}
.sg .sg-float.visible { opacity: 1; transform: none; pointer-events: auto; }
/* Chowamy się, gdy na ekranie jest formularz kontaktowy (klasa z glowna-sprzedazowa.js) */
.sg .sg-float.sg-float-off { opacity: 0; transform: translateY(calc(100% + 24px)); pointer-events: none; }
.sg .sg-float.hidden { display: none; }
.sg .sg-float__btn {
    display: flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px;
    border: 1px solid rgba(0, 212, 170, .38); border-radius: 999px; background: rgba(14, 21, 36, .94); color: #e9eef6; text-align: left;
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    box-shadow: 0 20px 44px -18px rgba(0, 0, 0, .85);
    transition: transform 160ms var(--sg-ease-out), border-color 200ms ease;
}
.sg .sg-float__btn:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .sg .sg-float__btn:hover { border-color: #00d4aa; } }
.sg .sg-float__icon { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--sg-cta); color: var(--sg-cta-ink); font-size: 20px; }
.sg .sg-float__title { display: block; font-size: .9375rem; font-weight: 700; line-height: 1.25; }
.sg .sg-float__subtitle { display: block; font-size: .8125rem; line-height: 1.3; color: #8591a6; }
.sg .sg-float__close { position: absolute; z-index: 1; top: -8px; right: -6px; display: grid; place-items: center; width: 26px; height: 26px; padding: 0; border: 1px solid rgba(148, 163, 184, .24); border-radius: 50%; background: #131c2f; color: #a8b3c6; font-size: 13px; }
@media (max-width: 560px) {
    .sg .sg-float__subtitle { display: none; }
    .sg .sg-float__btn { padding: 6px 14px 6px 6px; }
    .sg .sg-float__icon { width: 36px; height: 36px; }
}
.sg .sg-qm { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; visibility: hidden; transition: visibility 0s linear 250ms; }
.sg .sg-qm.open { visibility: visible; transition-delay: 0s; }
.sg .sg-qm__backdrop { position: absolute; inset: 0; background: rgba(3, 6, 12, .8); opacity: 0; transition: opacity 250ms var(--sg-ease-out); }
.sg .sg-qm.open .sg-qm__backdrop { opacity: 1; }
.sg .sg-qm__dialog {
    position: relative; width: min(460px, 100%); max-height: calc(100dvh - 32px); overflow: auto;
    padding: 28px; border: 1px solid var(--sg-line-2); border-radius: var(--sg-radius); background: var(--sg-surface);
    box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9);
    opacity: 0; transform: scale(.96); transition: opacity 250ms var(--sg-ease-out), transform 250ms var(--sg-ease-out);
}
.sg .sg-qm.open .sg-qm__dialog { opacity: 1; transform: none; }
.sg .sg-qm__close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid var(--sg-line-2); border-radius: 50%; background: transparent; color: var(--sg-text-2); font-size: 18px; }
.sg .sg-qm__head { display: grid; gap: 10px; margin-bottom: 22px; padding-right: 40px; }
.sg .sg-qm__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--sg-accent-soft); color: var(--sg-accent); font-size: 22px; }
.sg .sg-qm__head h3 { font-size: 1.5rem; }
.sg .sg-qm__head p { font-size: .9375rem; color: var(--sg-text-2); }
.sg .sg-qm__form { display: grid; gap: 16px; }
.sg .quick-modal__feedback { display: none; margin: 0; padding: 12px 14px; border-radius: 12px; font-size: .9375rem; }
.sg .quick-modal__feedback.show { display: block; }
.sg .quick-modal__feedback.success { border: 1px solid var(--sg-accent-line); background: var(--sg-accent-soft); color: var(--sg-text); }
.sg .quick-modal__feedback.error { border: 1px solid var(--sg-err); background: var(--sg-err-soft); color: var(--sg-text); }

/* ═══════════════ WEJŚCIA SEKCJI (Blur Fade) ═══════════════ */
.sg-js [data-reveal] {
    transition: opacity 800ms var(--sg-ease-out), transform 800ms var(--sg-ease-out), filter 800ms var(--sg-ease-out);
    transition-delay: calc(var(--d, 0) * 90ms);
}
.sg-js [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(18px); filter: blur(6px); }
/* Duże bloki bez rozmycia — tańsze w renderowaniu */
.sg-js .sg-faq[data-reveal]:not(.is-in), .sg-js .sg-plans-stack[data-reveal]:not(.is-in), .sg-js .sg-shots[data-reveal]:not(.is-in), .sg-js .sg-flow[data-reveal]:not(.is-in) { filter: none; }
@media (max-width: 767.98px) { .sg-js [data-reveal]:not(.is-in) { filter: none; } }

/* Nagłówek końcowy: przycinamy wewnętrzny span (IntersectionObserver liczy clip-path obserwowanego elementu) */
.sg-js [data-reveal="clip"], .sg-js [data-reveal="clip"]:not(.is-in) { opacity: 1; transform: none; filter: none; transition: none; }
.sg-js [data-reveal="clip"] > span { display: block; transition: clip-path 800ms var(--sg-ease-in-out); transition-delay: calc(var(--d, 0) * 80ms); }
.sg-js [data-reveal="clip"]:not(.is-in) > span { clip-path: inset(0 0 100% 0); }
.sg-js [data-reveal="clip"].is-in > span { clip-path: inset(-10% -2% -14% -2%); }

/* Oś terminów: cała oś bez zanikania, punkty i wypełnienie po kolei */
.sg-js .sg-tl[data-reveal]:not(.is-in) { opacity: 1; transform: none; filter: none; }
.sg-js .sg-tl:not(.is-in) .sg-tl__fill { clip-path: inset(0 100% 0 0); }
.sg-js .sg-tl .sg-tl__fill { transition: clip-path 1400ms var(--sg-ease-in-out) 250ms; }
.sg-js .sg-tl:not(.is-in) .sg-tl__today { opacity: 0; }
.sg-js .sg-tl .sg-tl__today { transition: opacity 300ms var(--sg-ease-out) 1500ms; }
.sg-js .sg-tl:not(.is-in) .sg-tl__item { opacity: 0; transform: translateY(12px); }
.sg-js .sg-tl .sg-tl__item { transition: opacity 600ms var(--sg-ease-out), transform 600ms var(--sg-ease-out); transition-delay: calc(200ms + var(--d) * 260ms); }

/* Przepływ: linie widać od razu, światła ruszają po wejściu */
.sg-flow.is-in .sg-flow__beam { opacity: 1; }

/* Bento: wykres rysuje się, kontrole odhaczają się po kolei */
.sg-chart__line { transition: stroke-dashoffset 1500ms var(--sg-ease-in-out) 350ms; }
.sg-js .sg-tile--history:not(.is-in) .sg-chart__line { stroke-dashoffset: 1; }
.sg-chart__area { transition: opacity 600ms ease 1200ms; }
.sg-chart__omni, .sg-chart__dot { transition: opacity 300ms ease 1700ms; }
.sg-chart__legend { transition: opacity 400ms ease 1800ms; }
.sg-js .sg-tile--history:not(.is-in) .sg-chart__area, .sg-js .sg-tile--history:not(.is-in) .sg-chart__omni, .sg-js .sg-tile--history:not(.is-in) .sg-chart__dot, .sg-js .sg-tile--history:not(.is-in) .sg-chart__legend { opacity: 0; }
.sg-checklist li { transition: opacity 300ms ease calc(400ms + var(--i) * 170ms); }
.sg-checklist__ico { transition: opacity 250ms var(--sg-ease-out) calc(400ms + var(--i) * 170ms), transform 250ms var(--sg-ease-out) calc(400ms + var(--i) * 170ms); }
.sg-js .sg-tile--checks:not(.is-in) .sg-checklist li { opacity: .35; }
.sg-js .sg-tile--checks:not(.is-in) .sg-checklist__ico { opacity: 0; transform: scale(.7); }

/* ═══════════════ PĘTLE (tylko bez ograniczenia ruchu) ═══════════════ */
@media (prefers-reduced-motion: no-preference) {
    .sg-hero__kicker { animation: sg-fade-up 700ms var(--sg-ease-out) both; }
    .sg-hero__line > span { animation: sg-rise 900ms var(--sg-ease-out) both; }
    .sg-hero__line:nth-child(2) > span { animation-delay: 70ms; }
    .sg-hero__line:nth-child(3) > span { animation-delay: 150ms; }
    .sg-hero__lead { animation: sg-fade-up 800ms var(--sg-ease-out) 240ms both; }
    .sg-hero__cta { animation: sg-fade-up 800ms var(--sg-ease-out) 320ms both; }
    .sg-hero__visual { animation: sg-fade 900ms var(--sg-ease-out) 200ms both; }
    .sg-bld__roof, .sg-bld__floor, .sg-bld__ground { animation: sg-fade-up 600ms var(--sg-ease-out) both; }
    .sg-bld__ground { animation-delay: 300ms; }
    .sg-bld__floor { animation-delay: calc(360ms + (3 - var(--i)) * 80ms); }
    .sg-bld__roof { animation-delay: 700ms; }

    .sg-hero__aurora span:nth-child(1) { animation: sg-aurora-a 26s ease-in-out infinite alternate; }
    .sg-hero__aurora span:nth-child(2) { animation: sg-aurora-b 32s ease-in-out infinite alternate; }
    .sg-hero__aurora span:nth-child(3) { animation: sg-aurora-c 22s ease-in-out infinite alternate; }
    .is-paused .sg-hero__aurora span { animation-play-state: paused; }

    .sg-promo::before { animation: sg-promo-flow 14s linear infinite; }
    .sg-btn--shine::before { animation: sg-shine 4.6s var(--sg-ease-in-out) 1.6s infinite; }
    .sg-beam::before { animation: sg-spin 6s linear infinite; }
    .sg-cols__track { animation: sg-cols 95s linear infinite; }
    .sg-cols:hover .sg-cols__track, .sg-cols.is-paused .sg-cols__track { animation-play-state: paused; }
    .sg-flow.is-in .sg-flow__beam { animation: sg-beam 3s linear infinite; animation-delay: var(--delay, 0s); }
    .sg-flow.is-paused .sg-flow__beam { animation-play-state: paused; }
    .sg-type__caret { animation: sg-caret 1s steps(1) infinite; }
    .sg-phone[data-mode="0"] .sg-phone__table { animation: sg-phone-scroll 4200ms var(--sg-ease-in-out) infinite; }
}
@keyframes sg-phone-scroll { 0%, 18% { transform: none; } 48%, 70% { transform: translateX(-36%); } 96%, 100% { transform: none; } }
@keyframes sg-aurora-a { to { transform: translate3d(-8vw, 6vw, 0) scale(1.15); } }
@keyframes sg-aurora-b { to { transform: translate3d(10vw, -4vw, 0) scale(.9); } }
@keyframes sg-aurora-c { to { transform: translate3d(-6vw, -8vw, 0) scale(1.2); } }
@keyframes sg-promo-flow { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes sg-shine { 0% { transform: translateX(-170%) skewX(-14deg); } 28%, 100% { transform: translateX(260%) skewX(-14deg); } }
@keyframes sg-spin { to { --sg-angle: 360deg; } }
@keyframes sg-cols { to { transform: translateY(-50%); } }
@keyframes sg-beam { from { stroke-dashoffset: .16; } to { stroke-dashoffset: -1; } }
@keyframes sg-caret { 50% { opacity: 0; } }

/* ═══════════════ OGRANICZONY RUCH ═══════════════ */
@media (prefers-reduced-motion: reduce) {
    .sg-js [data-reveal] { transition: opacity 300ms ease; transition-delay: 0s; }
    .sg-js [data-reveal]:not(.is-in) { transform: none; filter: none; }
    .sg-js [data-reveal="clip"] > span, .sg-js [data-reveal="clip"]:not(.is-in) > span { clip-path: none; transition: none; }
    .sg-js .sg-tl:not(.is-in) .sg-tl__item, .sg-js .sg-tl .sg-tl__item { transform: none; transition: opacity 300ms ease; }
    .sg-js .sg-tl .sg-tl__fill, .sg-js .sg-tl .sg-tl__today { transition: none; }
    .sg-flow__beam { display: none; }
    .sg-plans, .sg-shot { transform: none !important; }
    .sg-order li, .sg-seg__thumb, .sg-chart__line, .sg-map__wire path { transition: none; }
    .sg-phone__table, .sg-phone__cards, .sg-switches i, .sg-switches i::after, .sg-hide__row.is-sold s, .sg-hide__row.is-sold em, .sg-clean__text, .sg-clean__undo { transition: none; }
    .sg .sg-float, .sg .sg-float.sg-float-off { transition: opacity 200ms ease; transform: none; }
    .sg .sg-qm__dialog { transform: none; }
    .sg-lightbox[open], .sg-lightbox.is-closing { animation: none; }
    .sg-btn.loading::after { animation: none; transform: none; }
    .sg-frame, .sg-who__img img, .sg-tile__shot img { transition: none; }
}

/* Link do Facebooka w kontakcie (inc/social.php, wariant „cms": style inline pod ciemne tło).
   W jasnej sekcji kontaktu (/demo/, wpisy bazy wiedzy) biały napis był niewidoczny. */
.sg-light .sg-contact__more a[href*="facebook.com"] { background: var(--sg-fill) !important; border-color: var(--sg-line-2) !important; color: var(--sg-text) !important; }
