/* ===== Landing pages (podstrony usługa+miasto) — MK-IT.DEV ===== */
:root {
    --bg-dark: #0a0a0a;
    --bg-panel: #151515;
    --orange: #ff5500;
    --orange-glow: rgba(255, 85, 0, 0.9);
    --orange-dim: rgba(255, 85, 0, 0.12);
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --border: rgba(255, 255, 255, 0.1);
    --font-display: Arial, Helvetica, sans-serif;
    --font-ui: Arial, Helvetica, sans-serif;
    --font-code: Arial, Helvetica, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    background: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-ui);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    background-image:
        radial-gradient(circle at 15% 0%, rgba(255, 85, 0, 0.08), transparent 40%),
        radial-gradient(circle at 85% 100%, rgba(255, 85, 0, 0.05), transparent 40%);
    background-attachment: fixed;
}

a { color: inherit; text-decoration: none; }

.wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }

/* ---- Header ---- */
.lp-header {
    border-bottom: 1px solid var(--border);
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(10px);
    position: sticky; top: 0; z-index: 50;
}
.lp-header .wrap {
    display: flex; align-items: center; justify-content: space-between;
    height: 64px;
}
.lp-logo {
    font-family: var(--font-display); font-weight: 900;
    font-size: 1.2rem; letter-spacing: 1px;
}
.lp-logo span { color: var(--orange); }
.lp-nav a {
    font-family: var(--font-code); font-size: .8rem;
    color: var(--text-muted); margin-left: 18px; transition: color .2s;
}
.lp-nav a:hover { color: var(--orange); }

/* ---- Breadcrumb ---- */
.crumbs {
    font-family: var(--font-code); font-size: .75rem;
    color: var(--text-muted); padding: 18px 0 0;
}
.crumbs a:hover { color: var(--orange); }
.crumbs span { color: var(--orange); }

/* ---- Hero ---- */
.lp-hero { padding: 40px 0 30px; }
.lp-hero h1 {
    font-family: var(--font-display); font-weight: 900;
    font-size: clamp(1.8rem, 5vw, 3rem); line-height: 1.1;
    margin-bottom: 16px;
}
.lp-hero h1 em { color: var(--orange); font-style: normal; }
.lp-hero .lead { font-size: 1.1rem; color: var(--text-muted); max-width: 720px; }

/* ---- CTA buttons ---- */
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0; }
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-code); font-weight: 600; font-size: .9rem;
    padding: 13px 22px; border-radius: 6px; transition: all .2s;
    border: 1px solid var(--orange);
}
.btn-primary { background: var(--orange); color: #000; }
.btn-primary:hover { box-shadow: 0 0 24px var(--orange-glow); transform: translateY(-2px); }
.btn-ghost { color: var(--orange); }
.btn-ghost:hover { background: var(--orange-dim); }

/* ---- Sections ---- */
section { padding: 28px 0; border-top: 1px solid var(--border); }
section h2 {
    font-family: var(--font-display); font-weight: 700;
    font-size: 1.5rem; margin-bottom: 18px;
}
section h2 .ico { color: var(--orange); margin-right: 8px; }
section p { color: #d0d0d0; margin-bottom: 14px; }

/* ---- Feature list ---- */
.feat { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.feat li {
    background: var(--bg-panel); border: 1px solid var(--border);
    border-radius: 8px; padding: 16px 18px;
}
.feat li b { display: block; color: var(--orange); margin-bottom: 4px; font-family: var(--font-code); font-size: .9rem; }
.feat li span { color: var(--text-muted); font-size: .92rem; }

/* ---- FAQ ---- */
.faq details {
    background: var(--bg-panel); border: 1px solid var(--border);
    border-radius: 8px; padding: 0 18px; margin-bottom: 10px;
}
.faq summary {
    cursor: pointer; padding: 16px 0; font-weight: 600;
    list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--orange); font-size: 1.4rem; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 16px; margin: 0; }

/* ---- Specjalizacja (wyróżniony box: strony internetowe) ---- */
.lp-spec {
    border: 1px solid var(--orange) !important;
    border-left: 4px solid var(--orange) !important;
    background: linear-gradient(135deg, rgba(255,85,0,0.16), rgba(21,21,21,0.65));
    border-radius: 10px;
    padding: 24px 26px;
    margin: 18px 0;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
    box-shadow: 0 0 0 1px rgba(255,85,0,0.15), 0 10px 30px rgba(0,0,0,0.35);
}
.lp-spec-text { flex: 1 1 320px; }
.lp-spec-badge {
    display: inline-flex; align-items: center; gap: 7px;
    font-family: var(--font-code); font-size: .72rem; font-weight: 600;
    color: var(--orange); text-transform: uppercase; letter-spacing: .08em;
    margin-bottom: 8px;
}
.lp-spec h2 {
    font-family: var(--font-display); font-weight: 700;
    font-size: 1.25rem; margin: 0 0 8px;
}
.lp-spec p { color: #d0d0d0; margin: 0; font-size: .95rem; }
.lp-spec .btn { flex: 0 0 auto; white-space: nowrap; }
@media (max-width:600px){ .lp-spec .btn{ flex:1 1 100%; justify-content:center; } }

/* ---- Internal links ---- */
.links-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.links-grid a {
    font-family: var(--font-code); font-size: .82rem;
    background: var(--bg-panel); border: 1px solid var(--border);
    padding: 9px 14px; border-radius: 6px; color: var(--text-muted); transition: all .2s;
}
.links-grid a:hover { border-color: var(--orange); color: var(--orange); }

/* ---- Pływający przycisk kontaktu (FAB) ---- */
.fab-contact {
    position: fixed; right: 18px; bottom: 18px;
    display: flex; flex-direction: column; gap: 12px; z-index: 300;
}
.fab {
    width: 58px; height: 58px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.55rem; box-shadow: 0 6px 22px rgba(0,0,0,0.45);
    transition: transform .2s, box-shadow .2s;
}
.fab:hover { transform: scale(1.08); }
.fab-call { background: var(--orange); color: #000; }
.fab-call:hover { box-shadow: 0 0 26px var(--orange-glow); }
.fab-wa { background: #25d366; color: #fff; }
.fab-wa:hover { box-shadow: 0 0 26px rgba(37,211,102,0.7); }
.fab span {
    position: absolute; right: 70px; white-space: nowrap;
    background: rgba(10,10,10,0.92); color: #fff;
    font-family: var(--font-code); font-size: .78rem;
    padding: 7px 11px; border-radius: 6px; border: 1px solid var(--border);
    opacity: 0; pointer-events: none; transition: opacity .2s;
}
.fab:hover span { opacity: 1; }
@media (max-width: 600px) {
    .fab { width: 54px; height: 54px; font-size: 1.4rem; }
    .fab span { display: none; }
}

/* ---- Blog: lista (kafelki) ---- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.blog-card {
    display: flex; flex-direction: column;
    background: var(--bg-panel); border: 1px solid var(--border);
    border-radius: 10px; padding: 22px; transition: border-color .2s, transform .2s;
}
.blog-card:hover { border-color: var(--orange); transform: translateY(-3px); }
.blog-card-cat {
    font-family: var(--font-code); font-size: .72rem; font-weight: 600;
    color: var(--orange); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px;
}
.blog-card h2 { font-family: var(--font-display); font-size: 1.15rem; margin: 0 0 10px; line-height: 1.25; }
.blog-card p { color: var(--text-muted); font-size: .92rem; margin: 0 0 14px; flex: 1; }
.blog-card-more { color: var(--orange); font-family: var(--font-code); font-size: .82rem; }

/* ---- Blog: treść artykułu ---- */
.article-body { max-width: 760px; }
.article-body h2 {
    font-family: var(--font-display); font-weight: 700;
    font-size: 1.35rem; margin: 28px 0 12px; color: #fff;
}
.article-body p { color: #d4d4d4; margin-bottom: 14px; font-size: 1.02rem; }
.article-body ul { margin: 0 0 16px 0; padding-left: 22px; }
.article-body li { color: #d4d4d4; margin-bottom: 8px; font-size: 1.02rem; }
.article-body strong { color: #fff; }

/* ---- Strona błędu ---- */
.err { text-align: center; padding: 60px 0 40px; }
.err-code {
    font-family: var(--font-display); font-weight: 900;
    font-size: clamp(5rem, 22vw, 11rem); line-height: 1;
    color: var(--orange);
    text-shadow: 0 0 40px rgba(255,85,0,0.45);
    letter-spacing: 2px;
}
.err-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 5vw, 2.2rem); margin: 6px 0 14px; }
.err-msg { color: var(--text-muted); font-size: 1.05rem; max-width: 540px; margin: 0 auto; }
.err .cta-row { justify-content: center; }
.err-links { margin-top: 36px; }
.err-links p { color: var(--text-muted); font-size: .9rem; margin-bottom: 14px; }
.err-links .links-grid { justify-content: center; }

/* ---- Footer ---- */
.lp-footer {
    border-top: 1px solid var(--border); margin-top: 20px;
    padding: 30px 0; color: var(--text-muted); font-size: .85rem;
}
.lp-footer a { color: var(--orange); }
.lp-footer .row { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; }

@media (max-width: 600px) {
    .lp-nav a:not(.kontakt) { display: none; }
    .cta-row .btn { flex: 1 1 100%; justify-content: center; }
}
