/*
 * KyroHUB.PL — motyw lokalny dla licencjonowanego szablonu SpaceIs.
 * Oznaczenie SpaceIs w stopce jest elementem wymaganym i nie może być usuwane.
 */
:root {
    color-scheme: dark;
    --bg: #080704;
    --bg-soft: #0e0c07;
    --surface: #15120b;
    --surface-2: #1c180e;
    --surface-3: #242013;
    --gold: #ffc400;
    --gold-2: #e9a900;
    --gold-soft: rgba(255, 196, 0, .13);
    --text: #f7f5ef;
    --muted: #aaa596;
    --line: rgba(255, 255, 255, .10);
    --danger: #ff6868;
    --success: #54d49d;
    --shadow: 0 24px 70px rgba(0, 0, 0, .38);
    --radius: 18px;
    --container: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 16% -10%, rgba(255, 196, 0, .10), transparent 30%),
        var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 500;
    line-height: 1.65;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { border: 0; }
::selection { background: var(--gold); color: #171000; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #050503; }
::-webkit-scrollbar-thumb { background: #665112; border: 2px solid #050503; border-radius: 999px; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; padding-inline: 0; }
.site-main { min-height: 54vh; }
.skip-link { position: fixed; left: 14px; top: -100px; z-index: 9999; padding: 12px 18px; background: var(--gold); color: #171000; font-weight: 900; }
.skip-link:focus { top: 14px; }

.site-header {
    position: relative;
    z-index: 20;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background: rgba(8, 7, 4, .94);
}
.site-header__glow { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(255,196,0,.04), transparent); }
.site-nav { position: relative; z-index: 2; min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.site-brand { display: inline-flex; align-items: center; gap: 13px; min-width: 0; }
.site-brand img { width: 62px; height: 62px; object-fit: contain; flex: 0 0 auto; }
.site-brand span { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.site-brand strong { font-size: 1.05rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site-brand small { margin-top: 5px; color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.site-nav__panel { display: flex; align-items: center; gap: 28px; }
.site-nav__links { display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.site-nav__links a { display: block; padding: 13px 15px; border-radius: 10px; color: #c6c1b4; font-size: .91rem; font-weight: 750; transition: .2s ease; }
.site-nav__links a:hover, .site-nav__links a.active { color: var(--gold); background: var(--gold-soft); }
.nav-toggle { display: none; width: 46px; height: 46px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; }
.nav-toggle span:not(.visually-hidden) { width: 20px; height: 2px; background: var(--text); transition: .2s ease; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 13px 24px; border: 1px solid transparent; border-radius: 12px; font-weight: 900; line-height: 1.1; cursor: pointer; transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button--gold { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #181100; box-shadow: 0 12px 32px rgba(255, 196, 0, .18); }
.button--gold:hover { color: #181100; box-shadow: 0 16px 40px rgba(255, 196, 0, .27); }
.button--ghost { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.05); color: var(--text); }
.button--ghost:hover { border-color: var(--gold); color: var(--gold); background: rgba(255,196,0,.07); }
.button--dark { background: var(--surface); }
.button--compact { min-height: 44px; padding: 10px 17px; font-size: .86rem; }
.button small { opacity: .7; font-weight: 800; }
.button.is-copied { background: var(--success); color: #04150e; }

.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--gold); font-size: .76rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow i { width: 22px; height: 2px; background: var(--gold); box-shadow: 0 0 12px rgba(255,196,0,.55); }

.site-footer { margin-top: 110px; padding: 70px 0 28px; border-top: 1px solid var(--line); background: #050503; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr .75fr .75fr 1fr; gap: 48px; }
.site-footer__brand p, .site-footer__spaceis p { max-width: 440px; margin: 20px 0 0; color: var(--muted); font-size: .9rem; }
.site-brand--footer img { width: 74px; height: 74px; }
.site-footer__column h2 { margin: 0 0 18px; color: #fff; font-size: .86rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.site-footer__column ul { margin: 0; padding: 0; list-style: none; }
.site-footer__column li + li { margin-top: 10px; }
.site-footer__column a { color: var(--muted); font-size: .9rem; transition: color .2s ease; }
.site-footer__column a:hover { color: var(--gold); }
.spaceis-credit { display: inline-flex; align-items: center; gap: 12px; padding: 13px 15px; border: 1px solid rgba(255,196,0,.22); border-radius: 14px; background: var(--gold-soft); }
.spaceis-credit img { width: 48px; height: 48px; object-fit: contain; }
.spaceis-credit span { display: flex; flex-direction: column; line-height: 1.2; }
.spaceis-credit small { color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.spaceis-credit strong { margin-top: 3px; color: var(--gold); font-size: 1rem; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 30px; margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); color: #777264; font-size: .78rem; }
.site-footer__bottom p { margin: 0; max-width: 720px; }

.form-alert { margin: 18px 0; padding: 14px 16px; border: 1px solid; border-radius: 12px; font-size: .9rem; }
.form-alert p { margin: 0; }
.form-alert p + p { margin-top: 6px; }
.form-alert--error { border-color: rgba(255,104,104,.4); background: rgba(255,104,104,.10); color: #ffadad; }
.form-alert--success { border-color: rgba(84,212,157,.4); background: rgba(84,212,157,.10); color: #91edc5; }

@media (max-width: 1180px) {
    .site-nav__panel { position: absolute; top: 84px; left: 0; right: 0; display: none; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: rgba(15,13,8,.98); box-shadow: var(--shadow); }
    .site-nav__panel.is-open { display: block; }
    .site-nav__links { align-items: stretch; flex-direction: column; }
    .site-nav__links a { padding: 14px; }
    .site-nav__panel > .button { width: 100%; margin-top: 14px; }
    .nav-toggle { display: inline-flex; }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
    .container { width: min(calc(100% - 24px), var(--container)); }
    .site-nav { min-height: 78px; }
    .site-brand img { width: 52px; height: 52px; }
    .site-brand small { display: none; }
    .site-footer { margin-top: 72px; padding-top: 48px; }
    .site-footer__grid { grid-template-columns: 1fr; gap: 34px; }
    .site-footer__bottom { flex-direction: column; }
}
