/* ===== siecse.pl design tokens — LIGHT corporate ===== */
:root {
    /* Tła */
    --bg:               #ffffff;
    --bg-soft:          #f8fafc;       /* slate-50 */
    --bg-muted:         #f1f5f9;       /* slate-100 */
    --bg-dark:          #0f172a;       /* slate-900 — kontrast sekcje */

    /* Linie / ramki */
    --border:           #e2e8f0;       /* slate-200 */
    --border-strong:    #cbd5e1;       /* slate-300 */

    /* Tekst */
    --text:             #0f172a;       /* slate-900 — body */
    --text-secondary:   #475569;       /* slate-600 */
    --text-muted:       #94a3b8;       /* slate-400 */
    --text-inverse:     #f8fafc;       /* na ciemnych sekcjach */

    /* Akcenty energetyczne — spójne z Słomczynem */
    --emerald:          #10b981;       /* emerald-500 */
    --emerald-dark:     #047857;       /* emerald-700 */
    --emerald-light:    #34d399;       /* emerald-400 */
    --emerald-bright:   #6ee7b7;       /* emerald-300 */
    --emerald-50:       #ecfdf5;
    --emerald-100:      #d1fae5;

    /* Sky blue — high-tech akcent korporacyjny */
    --sky:              #0ea5e9;       /* sky-500 */
    --sky-dark:         #0369a1;       /* sky-700 */
    --sky-light:        #38bdf8;       /* sky-400 */
    --sky-50:           #f0f9ff;
    --sky-100:          #e0f2fe;

    /* Solar gold — accent dla wyróżnień finansowych */
    --gold:             #f59e0b;       /* amber-500 */
    --gold-dark:        #b45309;
    --gold-light:       #fbbf24;
    --gold-50:          #fffbeb;

    /* Stan / czerwone */
    --danger:           #ef4444;
    --danger-bg:        #fef2f2;

    /* Typografia */
    --font-sans:    'Inter', system-ui, -apple-system, sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;
    --font-mono:    'JetBrains Mono', ui-monospace, 'Courier New', monospace;

    /* Skala */
    --radius:           10px;
    --radius-lg:        16px;
    --radius-xl:        24px;
    --container:        1200px;
    --container-narrow: 960px;

    /* Animacje */
    --transition:       180ms cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out-expo:    cubic-bezier(0.16, 1, 0.3, 1);

    /* Cienie — subtelne, korporacyjne */
    --shadow-sm:        0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow:           0 2px 8px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-lg:        0 12px 32px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(15, 23, 42, 0.05);
    --shadow-emerald:   0 8px 24px rgba(16, 185, 129, 0.22);
    --shadow-sky:       0 8px 24px rgba(14, 165, 233, 0.22);
}

/* ===== Reset / global ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
}
a { color: var(--sky-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--emerald-dark); }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); color: var(--text); margin: 0 0 0.75em; letter-spacing: -0.02em; line-height: 1.2; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 600; }
p  { margin: 0 0 1em; }

/* Astra / header overrides — let theme own layout */
body.siecse-corp .ast-container,
body.siecse-corp #content { padding: 0 !important; max-width: 100% !important; }
body.siecse-corp .site-header,
body.siecse-corp .site-footer { display: none; }

/* Container */
.scs-container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.scs-container--narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 24px; }

/* Sekcje */
.scs-section { padding: clamp(4rem, 8vw, 6rem) 0; }
.scs-section--soft { background: var(--bg-soft); }
.scs-section--muted { background: var(--bg-muted); }
.scs-section--dark { background: var(--bg-dark); color: var(--text-inverse); }
.scs-section--dark h1, .scs-section--dark h2, .scs-section--dark h3 { color: var(--text-inverse); }
.scs-section--dark p { color: rgba(248, 250, 252, 0.78); }

/* Eyebrow */
.scs-eyebrow {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--emerald-dark);
    margin-bottom: 14px;
    padding: 6px 14px;
    background: var(--emerald-50);
    border: 1px solid var(--emerald-100);
    border-radius: 999px;
}
.scs-eyebrow--sky { color: var(--sky-dark); background: var(--sky-50); border-color: var(--sky-100); }
.scs-eyebrow--gold { color: var(--gold-dark); background: var(--gold-50); border-color: rgba(245, 158, 11, 0.2); }

/* Buttons */
.scs-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 26px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.975rem;
    letter-spacing: -0.01em;
    border-radius: var(--radius);
    border: 1px solid transparent;
    transition: all var(--transition);
    cursor: pointer;
    text-decoration: none;
}
.scs-btn--primary {
    background: linear-gradient(135deg, var(--emerald), var(--emerald-dark));
    color: #fff;
    box-shadow: var(--shadow-emerald);
}
.scs-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(16, 185, 129, 0.35); color: #fff; }
.scs-btn--sky {
    background: linear-gradient(135deg, var(--sky), var(--sky-dark));
    color: #fff;
    box-shadow: var(--shadow-sky);
}
.scs-btn--sky:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(14, 165, 233, 0.35); color: #fff; }
.scs-btn--ghost {
    background: #fff;
    color: var(--text);
    border-color: var(--border-strong);
}
.scs-btn--ghost:hover { border-color: var(--text); background: var(--bg-soft); color: var(--text); }
.scs-btn--lg { padding: 18px 32px; font-size: 1.05rem; }

/* Card */
.scs-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition);
}
.scs-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--border-strong); }
.scs-card__icon {
    width: 56px; height: 56px;
    display: grid; place-items: center;
    background: var(--emerald-50);
    color: var(--emerald-dark);
    border-radius: 14px;
    margin-bottom: 20px;
}
.scs-card__icon--sky { background: var(--sky-50); color: var(--sky-dark); }
.scs-card__icon--gold { background: var(--gold-50); color: var(--gold-dark); }
.scs-card__title { font-size: 1.25rem; font-weight: 700; margin: 0 0 8px; color: var(--text); }
.scs-card__desc { color: var(--text-secondary); margin: 0; font-size: 0.97rem; line-height: 1.6; }
.scs-card__bullets { margin: 12px 0 0; padding: 0; list-style: none; font-size: 0.9rem; }
.scs-card__bullets li {
    padding: 6px 0 6px 22px;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.5;
}
.scs-card__bullets li::before {
    content: '';
    position: absolute; left: 0; top: 12px;
    width: 14px; height: 14px;
    background: var(--emerald-50);
    border-radius: 50%;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M2.5 6.5 L5 9 L9.5 3.5' stroke='%2310b981' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
}

/* ====================================================
   Cookie Notice plugin — siecse.pl styling (same as slomczyn)
   ==================================================== */
#cookie-notice {
    background-color: #1e293b !important;    /* slate-800 */
}
#cookie-notice .cookie-notice-container {
    color: #f1f5f9 !important;               /* slate-100 */
}
#cookie-notice .cn-text-container,
#cookie-notice #cn-notice-text {
    color: #f1f5f9 !important;
}
#cookie-notice .cn-button {
    color: #ffffff !important;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 8px;
}
#cookie-notice .cn-button:hover {
    filter: brightness(1.1);
}
#cookie-notice a {
    color: #10b981 !important;
    text-decoration: underline;
}
