/* ============================================================
   LechIT — wspólny arkusz stylów (wszystkie podstrony)
   Motyw jasny/ciemny sterowany atrybutem html[data-theme]
   ============================================================ */

:root {
    color-scheme: light;
    --page-bg: #F4F6F5;
    --page-fg: #1F2A24;
    --nav-bg: rgba(255,255,255,.88);
    --menu-bg: rgba(255,255,255,.97);
    --hero-bg: linear-gradient(180deg, #FFFFFF 0%, #F4F6F5 100%);
    --glow: rgba(1,110,70,.10);
    --section-alt: #FFFFFF;
    --card: #FAFBFA;
    --border: #E2E6E4;
    --heading: #14201A;
    --body: #4D5150;
    --body-strong: #37413B;
    --muted: #6D7371;
    --accent: #016E46;
    --tag-bg: rgba(1,110,70,.07);
    --tag-border: #C6DCD1;
    --btn-border: #C9D2CD;
    --btn-bg: #FFFFFF;
    --step-num: #9CC3B2;
    --result-bg: linear-gradient(160deg, rgba(1,110,70,.09), rgba(5,150,105,.04));
    --payback: #047857;
    --savings: #016E46;
    --danger: #C62828;
    --drop-shadow: 0 16px 40px rgba(10,34,24,.16);
}
html[data-theme="dark"] {
    color-scheme: dark;
    --page-bg: #1B1D1C;
    --page-fg: #E4E9E6;
    --nav-bg: rgba(27,29,28,.88);
    --menu-bg: rgba(27,29,28,.97);
    --hero-bg: linear-gradient(180deg, #212523 0%, #1B1D1C 100%);
    --glow: rgba(2,227,145,.08);
    --section-alt: #212523;
    --card: #262B28;
    --border: #333936;
    --heading: #ECF1EE;
    --body: #A8B0AC;
    --body-strong: #C4CCC8;
    --muted: #7E8781;
    --accent: #34D399;
    --tag-bg: rgba(2,227,145,.08);
    --tag-border: #2C4A3C;
    --btn-border: #3A403D;
    --btn-bg: transparent;
    --step-num: #3E5A4D;
    --result-bg: linear-gradient(160deg, rgba(2,227,145,.09), rgba(5,150,105,.04));
    --payback: #34D399;
    --savings: #02E391;
    --danger: #F87171;
    --drop-shadow: 0 16px 40px rgba(0,0,0,.4);
}

html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page-bg); color: var(--page-fg); font-family: 'Fira Sans', Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: #016E46; text-decoration: none; }
a:hover { color: #015436; }
html[data-theme="dark"] a { color: #34D399; }
html[data-theme="dark"] a:hover { color: #6EE7B7; }
::selection { background: #016E46; color: #fff; }
button { font: inherit; }
input[type=range] { accent-color: var(--accent); width: 100%; margin: 0; }
img { max-width: 100%; }

@keyframes blink { 0%,49% { opacity: 1; } 50%,100% { opacity: 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes glowPulse { 0%,100% { opacity: .5; } 50% { opacity: .9; } }

/* ---------- NAWIGACJA ---------- */
.nav {
    position: sticky; top: 0; z-index: 50;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 12px 20px;
    background: var(--nav-bg);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--heading); font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 16px; white-space: nowrap; }
.brand:hover { color: var(--heading); }
.brand img { width: 30px; height: 30px; border-radius: 7px; display: block; }
.nav-center { display: flex; align-items: center; gap: 22px; font-size: 14.5px; }
.nav-center > a { color: var(--body); transition: color .2s; }
.nav-center > a:hover { color: #10B981; }
.nav-center > a.active { color: var(--accent); font-weight: 600; }
.nav-drop { position: relative; }
.nav-drop-btn { display: flex; align-items: center; gap: 6px; background: none; border: none; cursor: pointer; font-family: 'Fira Sans', Arial, sans-serif; font-size: 14.5px; padding: 6px 2px; color: var(--body); transition: color .2s; }
.nav-drop-btn:hover { color: #10B981; }
.nav-drop-btn.active { color: var(--accent); font-weight: 600; }
.nav-drop-btn .caret { font-size: 10px; }
.nav-drop-menu { position: absolute; top: calc(100% + 10px); left: -12px; min-width: 300px; background: var(--section-alt); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--drop-shadow); padding: 8px; display: none; gap: 2px; z-index: 70; }
.nav-drop.open .nav-drop-menu { display: grid; }
.nav-drop-menu a { display: block; padding: 10px 14px; border-radius: 8px; color: var(--body-strong); font-size: 14.5px; }
.nav-drop-menu a:hover { background: var(--tag-bg); color: var(--accent); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.theme-btn { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--btn-border); background: transparent; color: var(--accent); font-size: 15px; cursor: pointer; font-family: 'JetBrains Mono', monospace; transition: border-color .2s; flex: none; }
.theme-btn:hover { border-color: #016E46; }
.nav-cta { padding: 8px 18px; background: #016E46; color: #fff; border-radius: 6px; font-weight: 600; font-size: 14px; white-space: nowrap; transition: background .2s; }
.nav-cta:hover { background: #015436; color: #fff; }
.menu-btn { display: none; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 8px; border: 1px solid var(--btn-border); background: transparent; color: var(--heading); font-size: 18px; cursor: pointer; flex: none; }

/* menu mobilne (pełnoekranowe, pod paskiem nawigacji) */
.mobile-menu { position: fixed; inset: 0; background: var(--section-alt); z-index: 40; overflow: auto; padding: 84px 20px 40px; display: none; gap: 4px; align-content: start; }
.mobile-menu.open { display: grid; }
.mobile-menu .kicker { margin-bottom: 6px; }
.mm-card { display: block; padding: 13px 14px; border-radius: 10px; color: var(--heading); font-size: 16.5px; font-weight: 500; background: var(--card); border: 1px solid var(--border); }
.mm-card:hover { color: var(--accent); border-color: #4E8C72; }
.mm-line { height: 1px; background: var(--border); margin: 16px 0; }
.mm-link { display: block; padding: 13px 14px; border-radius: 10px; color: var(--heading); font-size: 16.5px; font-weight: 500; }
.mm-link:hover { color: var(--accent); background: var(--tag-bg); }
.mm-cta { display: block; margin-top: 18px; padding: 15px 14px; border-radius: 10px; background: #016E46; color: #fff; font-size: 16.5px; font-weight: 600; text-align: center; }
.mm-cta:hover { background: #015436; color: #fff; }

/* ---------- SEKCJE (wspólne) ---------- */
.kicker { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--accent); margin: 0 0 10px; }
.sec-title { font-size: 34px; margin: 0 0 44px; font-weight: 700; letter-spacing: -0.01em; color: var(--heading); }
.sec-title.tight { margin-bottom: 12px; }
.sec-sub { color: var(--muted); font-size: 15px; margin: 0 0 44px; text-wrap: pretty; }
.sec { max-width: 1120px; margin: 0 auto; padding: 80px 32px; }
.alt { background: var(--section-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 80px 32px; }
.shell { max-width: 1120px; margin: 0 auto; }

.btn-primary { display: inline-block; padding: 14px 30px; background: #016E46; color: #fff; border-radius: 8px; font-weight: 600; font-size: 16px; box-shadow: 0 8px 24px rgba(1,110,70,.28); transition: background .2s, transform .2s; }
.btn-primary:hover { background: #015436; color: #fff; transform: translateY(-1px); }
.btn-ghost { display: inline-block; padding: 14px 26px; border: 1px solid var(--btn-border); color: var(--body-strong); border-radius: 8px; font-weight: 500; font-size: 15px; background: var(--btn-bg); transition: border-color .2s, color .2s; }
.btn-ghost:hover { border-color: #016E46; color: #10B981; }
.btn-small { display: inline-block; padding: 11px 20px; background: #016E46; color: #fff; border-radius: 8px; font-weight: 600; font-size: 14px; white-space: nowrap; transition: background .2s; }
.btn-small:hover { background: #015436; color: #fff; }
.btn-bright { display: inline-block; padding: 15px 34px; background: #02E391; color: #01331F; border-radius: 10px; font-weight: 700; font-size: 16.5px; box-shadow: 0 8px 32px rgba(2,227,145,.3); transition: filter .2s, transform .2s; }
.btn-bright:hover { filter: brightness(1.08); color: #01331F; transform: translateY(-1px); }

/* ---------- HERO (strona główna) ---------- */
.hero { position: relative; overflow: hidden; padding: 96px 32px 88px; background: var(--hero-bg); }
.hero-glow { position: absolute; top: -220px; left: 50%; transform: translateX(-50%); width: 900px; height: 560px; background: radial-gradient(ellipse at center, var(--glow), transparent 65%); animation: glowPulse 6s ease-in-out infinite; pointer-events: none; }
.hero-grid { position: relative; max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: minmax(320px,1fr) minmax(340px,520px); gap: 56px; align-items: center; }
.hero-copy { animation: fadeUp .7s ease both; }
.badge { display: inline-flex; align-items: center; gap: 8px; font-family: 'JetBrains Mono', monospace; font-size: 12.5px; color: var(--accent); border: 1px solid var(--tag-border); border-radius: 999px; padding: 6px 14px; margin-bottom: 26px; background: var(--tag-bg); }
.badge i { width: 7px; height: 7px; border-radius: 50%; background: #10B981; }
h1 { font-size: clamp(34px, 4.4vw, 54px); line-height: 1.1; margin: 0 0 22px; font-weight: 700; letter-spacing: -0.02em; color: var(--heading); }
h1 .accent { color: var(--accent); }
.hero-lead { font-size: 17.5px; line-height: 1.65; color: var(--body); margin: 0 0 34px; max-width: 54ch; text-wrap: pretty; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

.hero-term { animation: fadeUp .7s .15s ease both; }
.term { background: #0E1713; border: 1px solid #1E2E26; border-radius: 14px; overflow: hidden; box-shadow: 0 24px 56px rgba(10,34,24,.28); }
.term-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #14231C; border-bottom: 1px solid #22352B; }
.term-dot { width: 11px; height: 11px; border-radius: 50%; }
.term-dot.r { background: #f87171; } .term-dot.y { background: #fbbf24; } .term-dot.g { background: #34d399; }
.term-title { margin-left: 10px; font-family: 'JetBrains Mono', monospace; font-size: 12px; color: #6E8A7C; }
.term-body { padding: 20px 22px; font-family: 'JetBrains Mono', monospace; font-size: 13.5px; line-height: 1.85; min-height: 246px; }
.term-body div { white-space: pre-wrap; }
.term-cursor { display: inline-block; width: 9px; height: 17px; background: #02E391; vertical-align: text-bottom; animation: blink 1s step-end infinite; }
.term-note { text-align: center; font-size: 12.5px; color: var(--muted); margin: 14px 0 0; font-family: 'JetBrains Mono', monospace; }

/* ---------- PASEK TECHNOLOGII ---------- */
.tech-strip { background: var(--section-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 18px 32px; }
.tech-strip-inner { max-width: 1120px; margin: 0 auto; display: flex; align-items: center; gap: 10px 18px; flex-wrap: wrap; font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--muted); }
.tech-strip-inner.narrow { max-width: 860px; }
.tech-strip-label { color: #34D399; }
.tech-dot { color: #3E5A4D; }

/* ---------- O MNIE ---------- */
#omnie { max-width: 1120px; margin: 0 auto; padding: 72px 32px; }
.about-grid { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: start; }
.about-name { font-size: 30px; margin: 0; font-weight: 700; letter-spacing: -0.01em; color: var(--heading); }
.about-role { color: var(--muted); font-size: 14px; margin: 8px 0 0; }
.about-text { font-size: 16.5px; line-height: 1.75; color: var(--body-strong); display: grid; gap: 18px; }
.about-text p { margin: 0; text-wrap: pretty; }

/* ---------- USŁUGI (kafle na stronie głównej) ---------- */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.svc { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 12px; transition: border-color .25s, transform .25s; }
.svc:hover { border-color: #4E8C72; transform: translateY(-3px); }
.svc-tag { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--accent); background: var(--tag-bg); border: 1px solid var(--tag-border); border-radius: 6px; padding: 5px 11px; align-self: flex-start; }
.svc h3 { font-size: 19.5px; margin: 4px 0 0; font-weight: 600; color: var(--heading); }
.svc p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--body); text-wrap: pretty; flex: 1; }
.svc-more { font-size: 14px; font-weight: 600; color: var(--accent); margin-top: 4px; }

/* ---------- DLACZEGO JA ---------- */
.advs { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px 40px; }
.adv { display: grid; grid-template-columns: 34px 1fr; gap: 16px; align-items: start; }
.adv-num { width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(135deg,#016E46,#059669); display: flex; align-items: center; justify-content: center; font-family: 'JetBrains Mono', monospace; font-size: 14px; font-weight: 700; color: #fff; }
.adv h3 { font-size: 16.5px; margin: 0 0 6px; font-weight: 600; color: var(--heading); }
.adv p { margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--body); text-wrap: pretty; }

/* ---------- PRZYKŁADY ---------- */
.cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.cases.narrow { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.case { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.case-who { margin: 0; font-family: 'JetBrains Mono', monospace; font-size: 12.5px; color: var(--muted); }
.case-problem { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--heading); font-weight: 500; text-wrap: pretty; }
.case-line { height: 1px; background: var(--border); }
.case-sol { margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--body); text-wrap: pretty; }
.case-check { color: var(--accent); font-family: 'JetBrains Mono', monospace; font-size: 12.5px; }

/* ---------- PROCES ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.step { padding: 30px 26px; background: var(--card); display: flex; flex-direction: column; gap: 10px; }
.step-num { font-family: 'JetBrains Mono', monospace; font-size: 26px; font-weight: 700; color: var(--step-num); }
.step h3 { font-size: 17.5px; margin: 0; font-weight: 600; color: var(--heading); }
.step p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--body); text-wrap: pretty; }
.proc-note { margin: 28px 0 0; font-size: 15px; color: var(--muted); text-wrap: pretty; }
.proc-note strong { color: var(--body-strong); }

/* ---------- CENNIK ---------- */
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.price { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.price h3 { font-size: 18px; margin: 0; font-weight: 600; color: var(--heading); }
.price-ex { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.price-range { margin: 8px 0 0; font-family: 'JetBrains Mono', monospace; font-size: 22px; font-weight: 700; color: var(--accent); }
.price-note { margin: 0; font-size: 12.5px; color: var(--muted); font-family: 'JetBrains Mono', monospace; }

/* ---------- KALKULATOR ---------- */
.calc-grid { display: grid; grid-template-columns: minmax(300px, 1fr) minmax(280px, 400px); gap: 40px; align-items: start; }
.calc-panel { display: grid; gap: 32px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 32px; }
.calc-head { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 15px; }
.calc-head label { color: var(--body-strong); }
.calc-head output { font-family: 'JetBrains Mono', monospace; color: var(--accent); font-weight: 700; }
.calc-result { background: var(--result-bg); border: 1px solid var(--tag-border); border-radius: 12px; padding: 32px; display: grid; gap: 22px; }
.calc-res-label { margin: 0 0 4px; font-size: 13px; color: var(--body); }
.calc-res-val { margin: 0; font-family: 'JetBrains Mono', monospace; font-size: 32px; font-weight: 700; color: var(--heading); }
.calc-res-val.payback { color: var(--payback); }
.calc-res-val.savings { color: var(--savings); }
.calc-cta { margin-top: 4px; text-align: center; padding: 13px 24px; background: #016E46; color: #fff; border-radius: 8px; font-weight: 600; font-size: 15px; transition: background .2s; }
.calc-cta:hover { background: #015436; color: #fff; }

/* ---------- FAQ ---------- */
.faq-shell { max-width: 860px; margin: 0 auto; }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; background: none; border: none; color: var(--heading); font-size: 16px; font-weight: 600; font-family: 'Fira Sans', Arial, sans-serif; cursor: pointer; text-align: left; }
.faq-icon { font-family: 'JetBrains Mono', monospace; color: var(--accent); font-size: 18px; }
.faq-a { margin: 0; padding: 0 22px 20px; font-size: 15px; line-height: 1.7; color: var(--body); text-wrap: pretty; }

/* ---------- KONTAKT (sekcja na stronie głównej) ---------- */
#kontakt { position: relative; overflow: hidden; padding: 96px 32px; text-align: center; background: #01422A; }
.contact-glow { position: absolute; bottom: -260px; left: 50%; transform: translateX(-50%); width: 900px; height: 520px; background: radial-gradient(ellipse at center, rgba(2,227,145,.14), transparent 65%); pointer-events: none; }
.contact-inner { position: relative; max-width: 680px; margin: 0 auto; display: grid; gap: 22px; justify-items: center; }
.contact-inner h2 { font-size: clamp(28px, 3.6vw, 42px); margin: 0; font-weight: 700; letter-spacing: -0.01em; text-wrap: pretty; color: #FFFFFF; }
.contact-inner > p { margin: 0; font-size: 16.5px; line-height: 1.65; color: #BFD9CD; max-width: 52ch; text-wrap: pretty; }
.contact-btn { margin-top: 8px; padding: 16px 38px; background: #02E391; color: #01331F; border-radius: 10px; font-weight: 700; font-size: 17px; box-shadow: 0 8px 32px rgba(2,227,145,.3); transition: filter .2s, transform .2s; }
.contact-btn:hover { color: #01331F; filter: brightness(1.08); transform: translateY(-1px); }
.contact-mail { margin: 6px 0 0; font-family: 'JetBrains Mono', monospace; font-size: 14px; }
.contact-mail a, html[data-theme="dark"] .contact-mail a { color: #8FBCA7; }
.contact-mail a:hover, html[data-theme="dark"] .contact-mail a:hover { color: #02E391; }

/* ---------- NAGŁÓWKI PODSTRON ---------- */
.page-hero { padding: 64px 24px 48px; background: var(--hero-bg); }
.page-hero-inner { max-width: 1120px; margin: 0 auto; }
.page-hero-inner.w-1020 { max-width: 1020px; }
.page-title { font-size: clamp(30px, 4vw, 42px); line-height: 1.12; margin: 0 0 14px; font-weight: 700; letter-spacing: -0.02em; color: var(--heading); }
.page-lead { font-size: 16.5px; line-height: 1.65; color: var(--body); margin: 0; max-width: 62ch; text-wrap: pretty; }
.crumb { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--accent); margin: 0 0 18px; }
.crumb a, html[data-theme="dark"] .crumb a { color: var(--muted); }
.crumb a:hover, html[data-theme="dark"] .crumb a:hover { color: #10B981; }

/* hero strony usługi */
.usluga-hero { position: relative; overflow: hidden; padding: 72px 24px 64px; background: var(--hero-bg); }
.usluga-hero .hero-glow { top: -220px; }
.usluga-hero-inner { position: relative; max-width: 860px; margin: 0 auto; animation: fadeUp .7s ease both; }
.usluga-hero h1 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.12; margin: 0 0 20px; text-wrap: pretty; }
.usluga-hero .page-lead { margin-bottom: 30px; }
.usluga-hero .hero-ctas { gap: 14px; }

.w-860 { max-width: 860px; margin: 0 auto; padding: 64px 24px; }
.inner-860 { max-width: 860px; margin: 0 auto; }
h2.h-md { font-size: 28px; margin: 0 0 32px; font-weight: 700; color: var(--heading); }
h2.h-md.tight { margin-bottom: 8px; }

/* problem → rozwiązanie */
.pains { display: grid; gap: 14px; }
.pain { display: grid; grid-template-columns: 26px 1fr; gap: 12px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 18px 20px; }
.pain-x { font-family: 'JetBrains Mono', monospace; font-weight: 700; color: var(--danger); }
.pain h3 { font-size: 16px; margin: 0 0 4px; font-weight: 600; color: var(--heading); }
.pain p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--body); text-wrap: pretty; }
.solbox { margin-top: 22px; background: var(--result-bg); border: 1px solid var(--tag-border); border-radius: 12px; padding: 26px 24px; }
.solbox-intro { margin: 0 0 14px; font-size: 16px; font-weight: 600; color: var(--heading); }
.check-list { display: grid; gap: 10px; }
.check-item { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 15px; line-height: 1.6; color: var(--body-strong); }
.check-item .tick { color: var(--accent); font-family: 'JetBrains Mono', monospace; font-weight: 700; }
.check-item span:last-child { text-wrap: pretty; }

/* ramka z ceną na stronie usługi */
.price-box { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.price-box-range { margin: 0; font-family: 'JetBrains Mono', monospace; font-size: 30px; font-weight: 700; color: var(--accent); }
.price-box-note { margin: 6px 0 0; font-size: 13px; color: var(--muted); font-family: 'JetBrains Mono', monospace; }

/* ciemnozielony pas CTA (podstrony) */
.cta-band { position: relative; overflow: hidden; padding: 80px 24px; text-align: center; background: #01422A; }
.cta-band-glow { position: absolute; bottom: -260px; left: 50%; transform: translateX(-50%); width: 900px; height: 520px; background: radial-gradient(ellipse at center, rgba(2,227,145,.14), transparent 65%); pointer-events: none; }
.cta-band-inner { position: relative; max-width: 640px; margin: 0 auto; display: grid; gap: 20px; justify-items: center; }
.cta-band h2 { font-size: clamp(26px, 3.4vw, 38px); margin: 0; font-weight: 700; letter-spacing: -0.01em; text-wrap: pretty; color: #FFFFFF; }
.cta-band p { margin: 0; font-size: 16px; line-height: 1.65; color: #BFD9CD; max-width: 52ch; text-wrap: pretty; }
.cta-band .mail-line { margin: 4px 0 0; font-family: 'JetBrains Mono', monospace; font-size: 13.5px; }
.cta-band .mail-line a, html[data-theme="dark"] .cta-band .mail-line a { color: #8FBCA7; }
.cta-band .mail-line a:hover, html[data-theme="dark"] .cta-band .mail-line a:hover { color: #02E391; }

/* ---------- BLOG ---------- */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.post-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; color: inherit; transition: border-color .25s, transform .25s; }
.post-card:hover { border-color: #4E8C72; transform: translateY(-3px); color: inherit; }
.post-head { height: 150px; position: relative; padding: 18px; }
.post-cat { position: absolute; top: 16px; left: 18px; font-family: 'JetBrains Mono', monospace; font-size: 12.5px; color: #EAFBF3; background: rgba(0,40,26,.45); border: 1px solid rgba(2,227,145,.35); border-radius: 6px; padding: 4px 10px; }
.post-brace { position: absolute; right: 16px; bottom: 8px; font-family: 'JetBrains Mono', monospace; font-size: 52px; font-weight: 700; color: rgba(2,227,145,.25); line-height: 1; }
.post-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-meta { margin: 0; font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--muted); }
.post-title { font-size: 19px; line-height: 1.35; margin: 0; font-weight: 600; color: var(--heading); text-wrap: pretty; }
.post-excerpt { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--body); text-wrap: pretty; flex: 1; }
.post-more { font-size: 14px; font-weight: 600; color: var(--accent); }

/* ---------- ARTYKUŁ ---------- */
.art-head { padding: 56px 24px 36px; background: var(--hero-bg); }
.art-head-inner { max-width: 760px; margin: 0 auto; }
.art-head h1 { font-size: clamp(28px, 4vw, 40px); line-height: 1.18; margin: 0 0 16px; letter-spacing: -0.02em; text-wrap: pretty; }
.art-meta { margin: 0; font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--muted); }
.grad-bar-wrap { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.grad-bar { height: 10px; border-radius: 6px; }
.article { max-width: 760px; margin: 0 auto; padding: 36px 24px 72px; }
.toc { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 20px 24px; margin-bottom: 40px; }
.toc-label { margin: 0 0 12px; font-family: 'JetBrains Mono', monospace; font-size: 12.5px; color: var(--accent); }
.toc-links { display: grid; gap: 8px; }
.toc-links a, html[data-theme="dark"] .toc-links a { font-size: 14.5px; color: var(--body-strong); }
.toc-links a:hover, html[data-theme="dark"] .toc-links a:hover { color: #10B981; }
.article h2 { font-size: 24px; margin: 40px 0 16px; font-weight: 700; color: var(--heading); scroll-margin-top: 80px; text-wrap: pretty; }
.article > p, .article .art-p { margin: 0 0 18px; font-size: 16.5px; line-height: 1.8; color: var(--body-strong); text-wrap: pretty; }
.art-cta { margin: 30px 0; border: 1px solid var(--tag-border); background: var(--result-bg); border-radius: 12px; padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.art-cta p { margin: 0; font-size: 15px; font-weight: 600; color: var(--heading); text-wrap: pretty; }
.art-endcta { margin-top: 48px; background: #01422A; border-radius: 14px; padding: 36px 32px; text-align: center; display: grid; gap: 14px; justify-items: center; }
.art-endcta h2 { font-size: 24px; margin: 0; font-weight: 700; color: #FFFFFF; text-wrap: pretty; }
.art-endcta p { margin: 0; font-size: 15px; line-height: 1.6; color: #BFD9CD; max-width: 48ch; text-wrap: pretty; }
.art-endcta .btn-bright { margin-top: 4px; padding: 13px 28px; font-size: 15.5px; }
.art-nav { margin-top: 36px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.art-nav a { font-size: 14.5px; font-weight: 600; color: var(--accent); }
.art-nav .next { text-align: right; }

/* ---------- STRONA KONTAKT ---------- */
.contact-wrap { max-width: 1020px; margin: 0 auto; padding: 16px 24px 72px; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 26px; align-items: start; }
.panel { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 28px; display: grid; gap: 18px; }
.panel .kicker { margin: 0; }
.field { display: grid; gap: 7px; }
.field label { font-size: 13.5px; font-weight: 500; color: var(--body-strong); }
.field input, .field textarea { padding: 11px 14px; border: 1px solid var(--btn-border); border-radius: 8px; background: var(--btn-bg); color: var(--heading); font-size: 15px; font-family: 'Fira Sans', Arial, sans-serif; }
.field input:focus, .field textarea:focus { border-color: #016E46; outline: none; box-shadow: 0 0 0 3px var(--tag-bg); }
.field textarea { resize: vertical; }
.form-btn { text-align: center; padding: 14px 24px; background: #016E46; color: #fff; border: none; border-radius: 8px; font-weight: 600; font-size: 15.5px; cursor: pointer; transition: background .2s; }
.form-btn:hover { background: #015436; }
.form-note { margin: 0; font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--muted); text-align: center; }
.contact-side { display: grid; gap: 22px; }
.person { display: flex; align-items: center; gap: 18px; }
.avatar { width: 96px; height: 96px; border-radius: 50%; background: linear-gradient(135deg,#016E46,#059669); color: #fff; display: flex; align-items: center; justify-content: center; font-family: 'JetBrains Mono', monospace; font-size: 30px; font-weight: 700; letter-spacing: 1px; flex: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.person-name { margin: 0; font-size: 18px; font-weight: 700; color: var(--heading); }
.person-role { margin: 4px 0 0; font-size: 13.5px; color: var(--muted); }
.person-note { margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--body); text-wrap: pretty; }
.contact-links { display: grid; gap: 9px; font-size: 14.5px; justify-items: start; }
.contact-links a { font-family: 'JetBrains Mono', monospace; }
.contact-links .nip { color: var(--muted); }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat { background: var(--result-bg); border: 1px solid var(--tag-border); border-radius: 12px; padding: 20px; }
.stat-num { margin: 0; font-family: 'JetBrains Mono', monospace; font-size: 28px; font-weight: 700; color: var(--accent); }
.stat-label { margin: 4px 0 0; font-size: 13px; color: var(--body); }
.chip-strip { background: var(--section-alt); border: 1px solid var(--border); border-radius: 12px; padding: 18px 20px; display: flex; align-items: center; gap: 10px 16px; flex-wrap: wrap; font-family: 'JetBrains Mono', monospace; font-size: 12.5px; color: var(--muted); }
.chip-strip .lbl { color: var(--accent); }
.chip-strip .dot { color: var(--step-num); }

/* ---------- STOPKA ---------- */
.site-footer { background: #00281A; padding: 56px 24px 28px; }
.foot-grid { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px 32px; }
.foot-col { display: grid; gap: 10px; align-content: start; justify-items: start; }
.foot-kicker { font-family: 'JetBrains Mono', monospace; font-size: 12.5px; color: #02E391; margin: 0 0 6px; }
.foot-brand { display: flex; align-items: center; gap: 10px; color: #FFFFFF; font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 16px; }
.foot-brand:hover { color: #FFFFFF; }
.foot-brand img { width: 28px; height: 28px; border-radius: 7px; display: block; }
.foot-blurb { margin: 4px 0 0; font-size: 14px; line-height: 1.65; color: #8FBCA7; text-wrap: pretty; }
.foot-social { display: flex; gap: 10px; margin-top: 4px; }
.foot-social a, html[data-theme="dark"] .foot-social a { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 8px; border: 1px solid #1C4A36; color: #8FBCA7; transition: color .2s, border-color .2s; }
.foot-social a:hover, html[data-theme="dark"] .foot-social a:hover { color: #02E391; border-color: #02E391; }
.foot-col > a, html[data-theme="dark"] .foot-col > a { color: #B9D5C7; font-size: 14px; }
.foot-col > a:hover, html[data-theme="dark"] .foot-col > a:hover { color: #02E391; }
.foot-name { margin: 0; color: #D9E8E0; font-size: 14px; font-weight: 600; }
.foot-dim { margin: 0; color: #B9D5C7; font-size: 14px; }
.foot-col > a.foot-mono { font-family: 'JetBrains Mono', monospace; }
.foot-bottom { max-width: 1120px; margin: 40px auto 0; padding-top: 22px; border-top: 1px solid #0E3A28; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: #5E8471; }
.foot-bottom .mono { font-family: 'JetBrains Mono', monospace; }

/* ---------- RESPONSYWNOŚĆ ---------- */
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 44px; }
    .about-grid { grid-template-columns: 1fr; gap: 24px; }
    .calc-grid { grid-template-columns: 1fr; }
}
@media (max-width: 919px) {
    .nav-center { display: none; }
    .nav-cta { display: none; }
    .menu-btn { display: flex; }
}
@media (min-width: 920px) {
    .mobile-menu { display: none !important; }
}
@media (max-width: 600px) {
    .nav { padding: 12px 16px; }
    .hero { padding: 64px 20px 56px; }
    .sec, .alt { padding: 56px 20px; }
    #omnie { padding: 56px 20px; }
    #kontakt { padding: 72px 20px; }
    .page-hero { padding: 48px 20px 36px; }
    .usluga-hero { padding: 56px 20px 48px; }
    .art-head { padding: 44px 20px 28px; }
    .w-860 { padding: 48px 20px; }
    .cta-band { padding: 64px 20px; }
    .contact-wrap { padding: 8px 20px 56px; }
    .site-footer { padding: 44px 20px 24px; }
    .sec-title { font-size: 28px; }
    .about-name { font-size: 26px; }
    .calc-res-val { font-size: 28px; }
    .stat-grid { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; }
    html { scroll-behavior: auto; }
}
