/* =========================================================
   Komp-Majster | style.css (jasny motyw, mobile first)
   ========================================================= */
:root {
    --bg: #ffffff;
    --bg-soft: #f4f6f9;
    --bg-dark: #0f172a;
    --bg-dark-2: #111827;
    --line: #e3e7ee;
    --line-dark: #253047;
    --text: #0f172a;
    --text-2: #475467;
    --text-3: #667085;
    --brand: #1d4ed8;
    --brand-dark: #1e3a8a;
    --brand-soft: #eaf0ff;
    --ok: #15803d;
    --ok-soft: #e8f6ee;
    --warn: #b45309;
    --warn-soft: #fff6e6;
    --no: #b42318;
    --no-soft: #fdecea;
    --radius: 14px;
    --radius-sm: 10px;
    --shadow: 0 1px 2px rgba(16,24,40,.06), 0 6px 24px rgba(16,24,40,.06);
    --shadow-lg: 0 2px 6px rgba(16,24,40,.06), 0 18px 48px rgba(16,24,40,.10);
    --header-h: 68px;
    --topbar-h: 0px;
}
@media (min-width: 992px) { :root { --topbar-h: 38px; } }

/* ---------- Baza ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--topbar-h) + 16px); }
body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    padding-top: calc(var(--header-h) + var(--topbar-h));
    padding-bottom: 76px; /* miejsce na dolny pasek na telefonie */
    overflow-x: hidden;
}
@media (min-width: 992px) { body { padding-bottom: 0; } }

h1, h2, h3, h4, h5, .h1, .h2, .h3, .h4, .h5 { color: var(--text); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
h1 { font-size: clamp(1.85rem, 5.2vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.15rem); }
h3 { font-size: 1.2rem; }
p { color: var(--text-2); }
a { color: var(--brand); }
a:hover { color: var(--brand-dark); }
img { max-width: 100%; height: auto; }
.text-muted-2 { color: var(--text-3) !important; }
.lead { color: var(--text-2); font-size: 1.12rem; }
strong { color: var(--text); }

.container { padding-left: 16px; padding-right: 16px; }
@media (min-width: 1200px) { .container { max-width: 1200px; } }

.section { padding: 56px 0; }
@media (min-width: 992px) { .section { padding: 88px 0; } }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--bg-dark); color: #e5e7eb; }
.section-dark h2, .section-dark h3, .section-dark h4, .section-dark strong { color: #fff; }
.section-dark p { color: #b6bfcd; }

.eyebrow {
    display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .08em;
    text-transform: uppercase; color: var(--brand); margin-bottom: 10px;
}
.section-dark .eyebrow { color: #93b4ff; }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Przyciski ---------- */
.btn { font-weight: 600; border-radius: 10px; padding: 12px 20px; transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s; }
.btn-lg { padding: 14px 24px; font-size: 1.05rem; }
.btn-sm { padding: 8px 14px; }
.btn-brand { background: var(--brand); border: 1px solid var(--brand); color: #fff; }
.btn-brand:hover, .btn-brand:focus { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn-call { background: var(--ok); border: 1px solid var(--ok); color: #fff; }
.btn-call:hover, .btn-call:focus { background: #116330; border-color: #116330; color: #fff; }
.btn-ghost { background: #fff; border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { border-color: #c5ccd8; background: var(--bg-soft); color: var(--text); }
.section-dark .btn-ghost { background: transparent; border-color: #3a4560; color: #fff; }
.section-dark .btn-ghost:hover { background: rgba(255,255,255,.06); }
.btn:focus-visible, a:focus-visible { outline: 3px solid #93b4ff; outline-offset: 2px; }

/* ---------- Header ---------- */
.topbar { background: var(--bg-soft); border-bottom: 1px solid var(--line); font-size: .85rem; color: var(--text-2); }
.topbar a { color: var(--text-2); text-decoration: none; }
.topbar a:hover { color: var(--brand); }
.topbar i { color: var(--brand); margin-right: 6px; }

.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1030; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: saturate(160%) blur(8px); }
.site-header .navbar { min-height: var(--header-h); padding: 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 800; letter-spacing: .04em; text-transform: uppercase; font-size: 1.02rem; }
.brand:hover { color: var(--text); }
.brand img { width: 38px; height: 38px; filter: invert(1); mix-blend-mode: multiply; }
.brand small { display: block; font-size: .7rem; letter-spacing: .1em; color: var(--text-3); font-weight: 600; }

.site-header .nav-link { color: var(--text); font-weight: 500; padding: 12px 4px; }
.site-header .nav-link:hover, .site-header .nav-link.active { color: var(--brand); }
.site-header .dropdown-menu { border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 8px; }
.site-header .dropdown-item { border-radius: 8px; padding: 10px 12px; font-weight: 500; }
.site-header .dropdown-item small { display: block; color: var(--text-3); font-weight: 400; }
.site-header .dropdown-item:active { background: var(--brand-soft); color: var(--text); }
.nav-toggle { border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font-size: 1.15rem; color: var(--text); background: #fff; }
.nav-toggle:focus { box-shadow: 0 0 0 3px #c9d8ff; }

@media (max-width: 991.98px) {
    .site-header .navbar-collapse { border-top: 1px solid var(--line); margin: 0 -16px; padding: 8px 16px 18px; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
    .site-header .nav-link { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
    .site-header .dropdown-menu { border: 0; box-shadow: none; padding: 0 0 8px 8px; }
}
@media (min-width: 992px) {
    .site-header .nav-link { padding: 22px 10px; font-size: .95rem; }
}

/* ---------- Dolny pasek na telefonie ---------- */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040; display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(16,24,40,.08); }
.mobile-bar .btn { flex: 1; padding: 12px 10px; font-size: .98rem; }
@media (min-width: 992px) { .mobile-bar { display: none; } }

/* ---------- Hero ---------- */
.hero { padding: 36px 0 48px; background: linear-gradient(180deg, #f6f8fc 0%, #fff 100%); border-bottom: 1px solid var(--line); }
@media (min-width: 992px) { .hero { padding: 72px 0 80px; } }
.hero h1 .accent { color: var(--brand); }
.hero .lead { max-width: 560px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: .85rem; font-weight: 600; background: var(--ok-soft); color: var(--ok); }
.trust-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin-top: 26px; padding: 0; list-style: none; }
.trust-row li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--text-2); }
.trust-row i { color: var(--brand); margin-top: 4px; width: 16px; text-align: center; }
.trust-row a { color: var(--text-2); text-decoration: none; }
.trust-row a:hover { color: var(--brand); }
.stars { color: #f59e0b; letter-spacing: 1px; }
@media (min-width: 768px) { .trust-row { grid-template-columns: repeat(2, max-content); } }

.media-frame { position: relative; border-radius: 18px; overflow: hidden; background: #0b0f17; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.media-frame video, .media-frame img { display: block; width: 100%; height: auto; }
.media-caption { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #fff; border-top: 1px solid var(--line); font-size: .88rem; color: var(--text-2); }
.media-caption i { color: var(--brand); }

/* ---------- Karty ---------- */
.card-x { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; height: 100%; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card-x h3 { margin-bottom: 8px; }
.card-x p { margin-bottom: 14px; }
.card-link { text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s, transform .15s; }
.card-link:hover { border-color: #b9c8ee; box-shadow: var(--shadow-lg); color: inherit; }
@media (hover: hover) { .card-link:hover { transform: translateY(-2px); } }
.icon-tile { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-size: 1.2rem; margin-bottom: 14px; flex-shrink: 0; }
.price-tag { display: inline-flex; align-items: baseline; gap: 6px; font-weight: 700; color: var(--text); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px; font-size: .95rem; }
.price-tag small { font-weight: 500; color: var(--text-3); }
.more { font-weight: 600; color: var(--brand); margin-top: auto; padding-top: 6px; }
.more i { transition: transform .15s; }
.card-link:hover .more i { transform: translateX(3px); }

.service-photo { margin: -22px -22px 18px; aspect-ratio: 16/10; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; background: var(--bg-soft); }
.service-photo img { width: 100%; height: 100%; object-fit: cover; }

.mini-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.mini-list li { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.mini-list i { color: var(--brand); margin-top: 4px; width: 18px; text-align: center; }
.mini-list strong { display: block; }
.mini-list span { color: var(--text-2); font-size: .94rem; }
@media (min-width: 768px) { .mini-list.cols-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .mini-list.cols-3 { grid-template-columns: 1fr 1fr 1fr; } }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--text-2); }
.check-list li::before { content: "\f00c"; font-family: "Font Awesome 6 Free", "Font Awesome 5 Free"; font-weight: 900; position: absolute; left: 0; top: 1px; color: var(--ok); }
.section-dark .check-list li { color: #c9d1dd; }
.section-dark .check-list li::before { color: #4ade80; }

/* ---------- Czego nie robimy ---------- */
.scope { display: grid; gap: 16px; }
@media (min-width: 768px) { .scope { grid-template-columns: 1fr 1fr; } }
.scope-box { border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); background: #fff; }
.scope-box h3 { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; margin-bottom: 14px; }
.scope-yes h3 i { color: var(--ok); }
.scope-no { background: #fffafa; border-color: #f4d2cf; }
.scope-no h3 i { color: var(--no); }
.no-list { list-style: none; padding: 0; margin: 0; }
.no-list li { position: relative; padding-left: 28px; margin-bottom: 10px; color: var(--text-2); }
.no-list li::before { content: "\f00d"; font-family: "Font Awesome 6 Free", "Font Awesome 5 Free"; font-weight: 900; position: absolute; left: 2px; top: 1px; color: var(--no); }
.note { display: flex; gap: 12px; align-items: flex-start; border-radius: 12px; padding: 14px 16px; font-size: .94rem; background: var(--warn-soft); border: 1px solid #f5dfb5; color: #6b4a12; }
.note i { margin-top: 3px; color: var(--warn); }
.note p, .note strong { color: inherit; margin: 0; }
.note-info { background: var(--brand-soft); border-color: #cfdcff; color: #1e3a8a; }
.note-info i { color: var(--brand); }

/* ---------- Kroki ---------- */
.steps { counter-reset: s; display: grid; gap: 16px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } .steps.four { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .steps.four { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; margin-bottom: 12px; }
.steps h3 { font-size: 1.05rem; margin-bottom: 6px; }
.steps p { margin: 0; font-size: .95rem; }

/* ---------- Galeria realizacji ---------- */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.gallery figure { margin: 0; position: relative; border-radius: 12px; overflow: hidden; background: var(--bg-soft); border: 1px solid var(--line); cursor: zoom-in; }
.gallery img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; transition: transform .3s; }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption { position: absolute; left: 8px; bottom: 8px; right: 8px; background: rgba(15,23,42,.82); color: #fff; font-size: .78rem; font-weight: 600; padding: 5px 9px; border-radius: 7px; }

/* ---------- Cennik ---------- */
.price-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.price-table th { background: var(--bg-soft); color: var(--text-3); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; padding: 12px 16px; font-weight: 700; }
.price-table td { padding: 14px 16px; border-top: 1px solid var(--line); vertical-align: middle; color: var(--text); }
.price-table td:last-child, .price-table th:last-child { text-align: right; white-space: nowrap; font-weight: 700; }
.price-table tr.free td:last-child { color: var(--ok); }
.price-table a { color: var(--text); text-decoration: none; border-bottom: 1px dashed #b6c2d6; }
.price-table a:hover { color: var(--brand); border-color: var(--brand); }
@media (max-width: 575.98px) { .price-table td { padding: 12px; font-size: .93rem; } .price-table td:last-child { white-space: normal; min-width: 92px; } }

/* ---------- Pakiety firmowe ---------- */
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 22px; height: 100%; display: flex; flex-direction: column; box-shadow: var(--shadow); position: relative; }
.plan.featured { border: 2px solid var(--brand); }
.plan .badge-top { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .05em; padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.plan .amount { font-size: 2.3rem; font-weight: 800; color: var(--text); letter-spacing: -0.02em; }
.plan .per { color: var(--text-3); font-size: .95rem; }
.plan ul { margin: 18px 0 22px; }
.plan .btn { margin-top: auto; }

/* ---------- Artykuły ---------- */
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 100%; display: flex; flex-direction: column; text-decoration: none; color: inherit; box-shadow: var(--shadow); transition: border-color .15s, box-shadow .15s; }
.post-card:hover { border-color: #b9c8ee; box-shadow: var(--shadow-lg); color: inherit; }
.post-card .thumb { aspect-ratio: 16/10; background: var(--bg-soft); overflow: hidden; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.post-card:hover .thumb img { transform: scale(1.03); }
.post-card .body { padding: 16px 18px 20px; display: flex; flex-direction: column; flex-grow: 1; }
.post-card h3 { font-size: 1.05rem; margin: 6px 0 8px; }
.post-card p { font-size: .93rem; margin-bottom: 0; }
.post-meta { font-size: .8rem; color: var(--text-3); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--brand); background: var(--brand-soft); padding: 3px 8px; border-radius: 6px; }
.tag-hot { color: var(--no); background: var(--no-soft); }

.article { max-width: 760px; margin: 0 auto; }
.article h1 { margin: 10px 0 14px; }
.article h2 { font-size: 1.45rem; margin: 36px 0 12px; }
.article h3 { margin: 28px 0 10px; }
.article p, .article li { font-size: 1.05rem; color: #344054; }
.article .cover { border-radius: var(--radius); overflow: hidden; margin: 24px 0 8px; border: 1px solid var(--line); }
.article .cover img { width: 100%; display: block; }
.breadcrumbs { font-size: .85rem; color: var(--text-3); margin-bottom: 6px; }
.breadcrumbs a { color: var(--text-3); text-decoration: none; }
.breadcrumbs a:hover { color: var(--brand); }
.spec-box { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.spec-box ul { list-style: none; padding: 0; margin: 0; }
.spec-box li { padding: 8px 0; border-bottom: 1px solid var(--line); display: flex; gap: 10px; }
.spec-box li:last-child { border-bottom: 0; }
.spec-box li i { color: var(--brand); margin-top: 5px; width: 16px; text-align: center; }

/* Paski FPS */
.fps { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.fps-row + .fps-row { margin-top: 18px; }
.fps-label { display: flex; justify-content: space-between; gap: 10px; font-weight: 600; font-size: .95rem; margin-bottom: 8px; flex-wrap: wrap; }
.fps-track { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 8px; height: 34px; overflow: hidden; }
.fps-fill { height: 100%; display: flex; align-items: center; justify-content: flex-end; padding-right: 12px; color: #fff; font-weight: 700; font-size: .9rem; width: 0; transition: width 1.6s cubic-bezier(.2,.7,.2,1); white-space: nowrap; }
.fps-bad { background: #dc2626; }
.fps-good { background: #16a34a; }

/* ---------- Zestawy PC ---------- */
.build { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 100%; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.build.featured { border: 2px solid var(--brand); }
.build-img { background: #0d1117; aspect-ratio: 4/5; display: grid; place-items: center; position: relative; cursor: zoom-in; overflow: hidden; }
.build-img img { width: 100%; height: 100%; object-fit: contain; }
.build-badge { position: absolute; top: 10px; left: 10px; background: #fff; color: var(--text); font-size: .7rem; font-weight: 700; letter-spacing: .05em; padding: 4px 9px; border-radius: 999px; text-transform: uppercase; }
.build .body { padding: 18px; display: flex; flex-direction: column; flex-grow: 1; }
.build .price { font-size: 1.5rem; font-weight: 800; color: var(--text); margin: 4px 0 8px; }
.build .price small { font-size: .85rem; color: var(--text-3); font-weight: 500; }
.build ul { list-style: none; padding: 0; margin: 10px 0 18px; font-size: .9rem; }
.build li { display: flex; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line); color: var(--text-2); }
.build li i { color: var(--brand); width: 16px; text-align: center; margin-top: 4px; }
.build li strong { color: var(--text); font-weight: 600; }
.build .btn { margin-top: auto; }

/* ---------- FAQ ---------- */
.faq .accordion-item { border: 1px solid var(--line); border-radius: 12px !important; overflow: hidden; margin-bottom: 10px; }
.faq .accordion-button { font-weight: 600; color: var(--text); background: #fff; padding: 16px 18px; }
.faq .accordion-button:not(.collapsed) { background: var(--brand-soft); color: var(--text); box-shadow: none; }
.faq .accordion-button:focus { box-shadow: 0 0 0 3px #c9d8ff; }
.faq .accordion-body { color: var(--text-2); }

/* ---------- Formularz ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: var(--shadow-lg); }
@media (min-width: 768px) { .form-card { padding: 32px; } }
.form-label { font-weight: 600; font-size: .9rem; color: var(--text); margin-bottom: 6px; }
.form-label .opt { font-weight: 400; color: var(--text-3); }
.form-control, .form-select { border: 1px solid #d0d5dd; border-radius: 10px; padding: 12px 14px; font-size: 1rem; color: var(--text); background-color: #fff; }
.form-control:focus, .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 4px #dbe5ff; }
.form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }
.form-check-label { font-size: .88rem; color: var(--text-2); }
#price-estimate { display: none; margin-top: 10px; background: var(--brand-soft); border: 1px solid #cfdcff; color: var(--brand-dark); font-weight: 600; font-size: .92rem; padding: 10px 14px; border-radius: 10px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-line { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-line:last-of-type { border-bottom: 0; }
.contact-line .icon-tile { margin: 0; }
.contact-line span { display: block; font-size: .82rem; color: var(--text-3); }
.contact-line a, .contact-line b { font-weight: 700; color: var(--text); text-decoration: none; font-size: 1.05rem; }
.contact-line a.big { font-size: 1.4rem; }
.contact-line a:hover { color: var(--brand); }
.map-wrap { position: relative; height: 240px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); margin-top: 16px; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }
.map-wrap a { position: absolute; inset: 0; }

/* ---------- Podstrony ---------- */
.page-hero { padding: 36px 0 40px; background: linear-gradient(180deg, #f6f8fc 0%, #fff 100%); border-bottom: 1px solid var(--line); }
@media (min-width: 992px) { .page-hero { padding: 64px 0 64px; } }
.page-hero .lead { max-width: 640px; }
.price-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); }
.price-box .row-p { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.price-box .row-p:last-of-type { border-bottom: 0; }
.price-box .row-p b { white-space: nowrap; }
.price-box small { color: var(--text-3); }

.legal { max-width: 860px; margin: 0 auto; }
.legal h2 { font-size: 1.15rem; margin: 32px 0 10px; }
.legal p, .legal li { color: #344054; font-size: .98rem; }

/* ---------- Stopka ---------- */
.site-footer { background: var(--bg-dark); color: #b6bfcd; padding: 52px 0 24px; font-size: .94rem; }
.site-footer h3 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.site-footer a { color: #d5dbe5; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer p { color: #b6bfcd; }
.site-footer .brand { color: #fff; }
.site-footer .brand img { filter: none; mix-blend-mode: screen; }
.site-footer .brand small { color: #93a0b4; }
.socials { display: flex; gap: 10px; margin-top: 14px; }
.socials a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: #1b2438; color: #fff; font-size: 1.05rem; }
.socials a:hover { background: var(--brand); text-decoration: none; }
.footer-bottom { border-top: 1px solid var(--line-dark); margin-top: 32px; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: .84rem; color: #8b97ab; }
.footer-bottom a { color: #b6bfcd; }

/* ---------- Cookies ---------- */
#cookie-banner { position: fixed; left: 12px; right: 12px; bottom: 86px; z-index: 1060; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 16px; display: none; max-width: 520px; }
#cookie-banner.show { display: block; }
#cookie-banner p { font-size: .88rem; margin-bottom: 12px; }
@media (min-width: 992px) { #cookie-banner { left: 24px; right: auto; bottom: 24px; } }

/* ---------- Lightbox ---------- */
.modal-content.lightbox { background: transparent; border: 0; }
.lightbox img { max-height: 88vh; width: auto; max-width: 100%; border-radius: 12px; margin: 0 auto; display: block; }
.lightbox .btn-close { position: absolute; top: -6px; right: 0; background-color: #fff; opacity: 1; border-radius: 50%; padding: 10px; z-index: 2; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Film w hero (pionowy format) */
.hero .media-frame { max-width: 340px; margin: 0 auto; }
.hero .media-frame video { max-height: 520px; object-fit: cover; }
@media (max-width: 991.98px) { .hero .media-frame { max-width: 280px; } .hero .media-frame video { max-height: 420px; } }

/* ---------- Pasek górny (komputer) ---------- */
.topbar { height: var(--topbar-h); display: none; }
@media (min-width: 992px) { .topbar { display: block; } }
.topbar .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar-info { display: flex; gap: 22px; align-items: center; }
.topbar-social { display: flex; gap: 4px; align-items: center; }
.topbar-social a.ico { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; color: var(--text-2); }
.topbar-social a.ico i { margin: 0; color: inherit; }
.topbar-social a.ico:hover { background: #fff; color: var(--brand); }

/* ---------- Przycisk "Wystaw opinię" z animowaną ramką w kolorach Google ---------- */
.btn-review { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; font-weight: 700; font-size: .92rem; color: var(--text); background: #fff; text-decoration: none; isolation: isolate; overflow: hidden; border: 0; }
.btn-review::before { content: ""; position: absolute; left: 50%; top: 50%; width: 140%; aspect-ratio: 1 / 1; z-index: -2; background: conic-gradient(#4285F4, #EA4335, #FBBC05, #34A853, #4285F4); transform: translate(-50%, -50%) rotate(0deg); animation: km-spin 4s linear infinite; }
.btn-review::after { content: ""; position: absolute; inset: 2px; z-index: -1; background: #fff; border-radius: 999px; }
.btn-review:hover { color: var(--brand); }
.btn-review .fa-google { background: conic-gradient(from -45deg, #EA4335 0 25%, #4285F4 0 50%, #34A853 0 75%, #FBBC05 0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.btn-review.sm { padding: 4px 12px; font-size: .8rem; }
.btn-review.on-dark::after { background: #111a2e; }
.btn-review.on-dark { color: #fff; }
@keyframes km-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.review-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); max-width: 560px; }
.review-card .score { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.review-card .score b { font-size: 1.35rem; }
.review-card .score small { display: block; color: var(--text-3); font-size: .8rem; line-height: 1.2; }
.review-card .fa-google { font-size: 1.5rem; color: #4285F4; }

.social-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.social-row a { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--text); font-size: 1.1rem; text-decoration: none; }
.social-row a:hover { border-color: var(--brand); color: var(--brand); }
.menu-extra { padding-top: 14px; }
@media (min-width: 992px) { .menu-extra { display: none; } }

/* Menu na średnich ekranach (992–1199 px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .site-header .nav-link { padding: 22px 7px; font-size: .9rem; }
    .brand small { display: none; }
    .site-header .btn-call { padding: 10px 12px; font-size: .9rem; }
}

/* Bardzo wąskie telefony (np. 320 px) */
.brand small { white-space: nowrap; }
@media (max-width: 374.98px) {
    .brand { font-size: .9rem; gap: 8px; }
    .brand img { width: 32px; height: 32px; }
    .brand small { font-size: .6rem; letter-spacing: .04em; }
}

.btn-lg, .btn-review, .topbar-info > * { white-space: nowrap; }
@media (min-width: 992px) and (max-width: 1199.98px) { .topbar-info .tb-area { display: none; } .topbar-info { gap: 16px; } }
@media (max-width: 359.98px) { .btn-lg { white-space: normal; } }
@media (max-width: 399.98px) { .btn-review { white-space: normal; border-radius: 14px; text-align: left; } .btn-review::after { border-radius: 12px; } }
