/* =========================================================
   Oświetlenia Rybnik – nowa wersja strony (2026)
   ========================================================= */

/* Czcionka Manrope hostowana lokalnie (bez łączenia z serwerami Google).
   Licencja: SIL Open Font License 1.1 – fonts/OFL-Manrope.txt */
@font-face {
    font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap;
    src: url('fonts/manrope-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap;
    src: url('fonts/manrope-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --navy: #0d2c54;
    --navy-deep: #081c36;
    --night: #0a1424;
    --amber: #fca311;
    --amber-dark: #e08f00;
    --amber-text: #9a5b00;
    --glow: #ffd27a;
    --ink: #1b2330;
    --muted: #5b6675;
    --line: #e6e2d9;
    --paper: #f7f5f0;
    --white: #ffffff;
    --radius: 18px;
    --radius-sm: 10px;
    --shadow: 0 10px 30px rgba(10, 20, 36, .08);
    --shadow-lg: 0 24px 60px rgba(10, 20, 36, .18);
    --header-h: 72px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
    font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-fill { fill: currentColor; stroke: none; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.bg-paper { background: var(--paper); }
.bg-night { background: var(--night); color: #e8ecf2; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
    color: var(--amber-text);
}
.bg-night .eyebrow, .hero .eyebrow { color: var(--amber); }

h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; color: var(--navy); }
.bg-night h2, .bg-night h3 { color: #fff; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; margin: 10px 0 16px; }
h3 { font-size: 1.25rem; font-weight: 800; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 680px; }
.bg-night .lead { color: #b9c3d1; }
.section-head { margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { text-align: center; }
.section-head.center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 24px; border-radius: 999px; border: 2px solid transparent;
    font-weight: 800; font-size: 1rem; text-decoration: none; line-height: 1.2;
    transition: transform .15s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--amber); color: #111; }
.btn-primary:hover { background: var(--amber-dark); }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-sm { padding: 10px 18px; font-size: .9rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
    position: fixed; inset: 0 0 auto 0; height: var(--header-h); z-index: 1000;
    background: rgba(8, 28, 54, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    color: #fff; transition: box-shadow .3s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .25); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.15rem; white-space: nowrap; }
.brand img { width: 40px; height: 40px; }
.brand span { color: var(--amber); }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; align-items: center; gap: 4px; }
.main-nav a {
    display: block; padding: 8px 12px; border-radius: 8px; text-decoration: none;
    font-size: .92rem; font-weight: 600; color: #dbe3ee; white-space: nowrap;
}
.main-nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.header-phone { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 800; white-space: nowrap; }
.header-phone .icon { color: var(--amber); }
.burger { display: none; margin-left: auto; background: none; border: 0; color: #fff; padding: 8px; }
.burger .icon { width: 28px; height: 28px; }

/* ---------- Hero ---------- */
.hero {
    position: relative; min-height: min(92vh, 860px); display: flex; align-items: center;
    padding: calc(var(--header-h) + 48px) 0 120px; color: #fff; overflow: hidden;
    background: var(--night);
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(8, 18, 34, .92) 0%, rgba(8, 18, 34, .72) 42%, rgba(8, 18, 34, .15) 75%),
                linear-gradient(0deg, rgba(8, 18, 34, .6) 0%, transparent 35%);
}
.hero-content { position: relative; z-index: 1; max-width: 640px; }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; margin: 14px 0 18px; }
.hero h1 em { font-style: normal; color: var(--glow); }
.hero p.lead { color: #d3dbe6; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { margin-top: 26px; display: flex; align-items: center; gap: 10px; font-size: .95rem; color: #c3cdda; }
.hero-note .icon { color: var(--amber); }
.hero-note a { color: #fff; }
.img-credit { position: absolute; right: 16px; bottom: 88px; z-index: 1; font-size: .74rem; color: rgba(255, 255, 255, .8); background: rgba(8, 18, 34, .45); padding: 3px 8px; border-radius: 6px; }

/* ---------- Trust bar ---------- */
.trust { position: relative; z-index: 2; margin-top: -64px; }
.trust-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); background: #fff;
    border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden;
}
.trust-item { display: flex; align-items: center; gap: 14px; padding: 22px 24px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item .icon { width: 34px; height: 34px; color: var(--amber-dark); }
.trust-item strong { display: block; color: var(--navy); font-size: 1rem; line-height: 1.25; }
.trust-item small { color: var(--muted); font-size: .85rem; }

/* ---------- Problem / solution ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare-card { border-radius: var(--radius); padding: 32px; background: #fff; border: 1px solid var(--line); }
.compare-card.good { background: var(--navy); color: #e8ecf2; border-color: var(--navy); box-shadow: var(--shadow-lg); }
.compare-card.good h3 { color: #fff; }
.compare-card h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.compare-card .tag { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: #f1ede4; color: var(--muted); }
.compare-card.good .tag { background: var(--amber); color: #111; }
.compare-card li { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.compare-card.good li { border-color: rgba(255, 255, 255, .12); }
.compare-card li:first-child { border-top: 0; }
.compare-card .icon { margin-top: 3px; }
.compare-card .bad-ico { color: #c2410c; }
.compare-card .ok-ico { color: var(--amber); }

/* ---------- Product ---------- */
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.gallery { position: sticky; top: calc(var(--header-h) + 20px); }
.gallery-main {
    border-radius: var(--radius); background: #ececec; aspect-ratio: 4 / 5; overflow: hidden;
    display: flex; align-items: center; justify-content: center; cursor: zoom-in;
}
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-main.cover img { object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
.gallery-thumbs button {
    border: 2px solid transparent; border-radius: var(--radius-sm); overflow: hidden; background: #ececec;
    aspect-ratio: 1; padding: 0;
}
.gallery-thumbs button[aria-current="true"] { border-color: var(--amber); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery-caption { font-size: .8rem; color: var(--muted); margin-top: 10px; }

.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 28px 0; }
.benefit { display: flex; gap: 14px; padding: 18px; border-radius: var(--radius-sm); background: var(--paper); }
.benefit .icon { width: 28px; height: 28px; color: var(--amber-dark); margin-top: 2px; }
.benefit strong { display: block; color: var(--navy); line-height: 1.3; margin-bottom: 2px; }
.benefit p { font-size: .92rem; color: var(--muted); line-height: 1.5; }

.modes { border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 28px; }
.modes h3 { font-size: 1rem; padding: 14px 18px; background: var(--navy); color: #fff; display: flex; align-items: center; gap: 10px; }
.modes h3 .icon { color: var(--amber); }
.mode { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 18px; border-top: 1px solid var(--line); font-size: .95rem; }
.mode:first-of-type { border-top: 0; }
.mode b { color: var(--navy); }
.modes p.note { font-size: .85rem; color: var(--muted); padding: 10px 18px 14px; border-top: 1px solid var(--line); }

.product-cta { display: flex; flex-wrap: wrap; gap: 12px; }

details.spec { margin-top: 24px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
details.spec summary {
    list-style: none; cursor: pointer; padding: 16px 18px; font-weight: 800; color: var(--navy);
    display: flex; justify-content: space-between; align-items: center;
}
details.spec summary::-webkit-details-marker { display: none; }
details.spec summary::after { content: "+"; font-size: 1.4rem; color: var(--amber-dark); line-height: 1; }
details.spec[open] summary::after { content: "–"; }
.spec-body { padding: 0 18px 18px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.spec-table th, .spec-table td { text-align: left; padding: 9px 0; border-top: 1px solid var(--line); vertical-align: top; }
.spec-table th { color: var(--muted); font-weight: 600; width: 46%; padding-right: 12px; }
.spec-body .pdf-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-weight: 700; color: var(--navy); }

/* Pole choice */
.pole-choice { margin-top: clamp(56px, 7vw, 88px); }
.pole-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pole-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.pole-card.featured { border: 2px solid var(--amber); box-shadow: var(--shadow); }
.pole-card .badge { align-self: flex-start; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; background: var(--paper); color: var(--muted); }
.pole-card.featured .badge { background: var(--amber); color: #111; }
.pole-card .pole-ico { width: 44px; height: 44px; color: var(--navy); }
.pole-card p { color: var(--muted); font-size: .95rem; }
.pole-card ul { margin-top: auto; padding-top: 8px; }
.pole-card li { display: flex; gap: 10px; font-size: .92rem; padding: 4px 0; }
.pole-card li .icon { color: var(--amber-dark); margin-top: 4px; width: 1em; height: 1em; }
.price-note {
    margin-top: 22px; display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap;
    padding: 20px 24px; border-radius: var(--radius); background: var(--navy); color: #e8ecf2;
}
.price-note strong { color: #fff; }

/* ---------- Use cases ---------- */
.uses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.use-card {
    position: relative; border-radius: var(--radius); overflow: hidden; min-height: 440px;
    display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: var(--night);
}
.use-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.use-card:hover img { transform: scale(1.04); }
.use-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 18, 34, .95) 0%, rgba(8, 18, 34, .55) 45%, rgba(8, 18, 34, .05) 75%); }
.use-body { position: relative; z-index: 1; padding: 28px; }
.use-body .icon { width: 30px; height: 30px; color: var(--amber); margin-bottom: 10px; }
.use-body h3 { color: #fff; margin-bottom: 8px; }
.use-body p { color: #d3dbe6; font-size: .95rem; margin-bottom: 16px; }
.use-body a { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--amber); text-decoration: none; }

/* ---------- Parishes ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split + .split { margin-top: clamp(56px, 7vw, 96px); }
.split.reverse > :first-child { order: 2; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); cursor: zoom-in; }
.split-media.tall img { max-height: 620px; width: 100%; object-fit: cover; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.duo figure { background: #0f1b2e; border-radius: var(--radius); overflow: hidden; }
.duo img { width: 100%; aspect-ratio: 2 / 3; object-fit: contain; box-shadow: none; border-radius: 0; }
.duo figcaption { text-align: center; font-size: .85rem; color: #9fb0c5; padding: 10px; }
.checklist li { display: flex; gap: 12px; padding: 8px 0; }
.checklist .icon { color: var(--amber); margin-top: 4px; }
.split .btn { margin-top: 24px; }

/* ---------- NCT poles ---------- */
.nct-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.nct-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.nct-card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; cursor: zoom-in; }
.nct-card .nct-body { padding: 20px 22px 24px; }
.nct-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.nct-card p { color: var(--muted); font-size: .92rem; }
.nct-card .meta { margin-top: 10px; font-size: .82rem; font-weight: 700; color: var(--navy); }
.nct-props { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; justify-content: center; }
.nct-props span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .9rem; font-weight: 600; }
.nct-props .icon { color: var(--amber-dark); }

/* ---------- Steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 28px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step::before {
    counter-increment: step; content: counter(step);
    display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
    background: var(--amber); color: #111; font-weight: 800; font-size: 1.1rem; margin-bottom: 16px;
}
.step h3 { font-size: 1.08rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .93rem; }

/* ---------- Projects ---------- */
.project { margin-top: 36px; }
.project h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.project h3 .icon { color: var(--amber-dark); }
.media-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.media-pair video, .media-pair img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); background: #000; }
.media-pair img { cursor: zoom-in; }
.slider { position: relative; border-radius: var(--radius); overflow: hidden; background: #0f1b2e; }
.slider-track { display: flex; transition: transform .45s ease; }
.slider-track img { flex: 0 0 100%; height: clamp(300px, 52vw, 560px); object-fit: contain; cursor: zoom-in; }
.slider-btn {
    position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%;
    border: 0; background: rgba(255, 255, 255, .9); color: var(--navy); display: grid; place-items: center;
}
.slider-btn:hover { background: var(--amber); }
.slider-btn.prev { left: 14px; }
.slider-btn.next { right: 14px; }
.slider-btn.prev .icon { transform: rotate(180deg); }
.slider-dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.slider-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .45); padding: 0; }
.slider-dots button[aria-current="true"] { background: var(--amber); }
.area-box {
    margin-top: 40px; display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center;
    padding: 24px 28px; border-radius: var(--radius); background: var(--paper);
}
.area-box .icon { width: 40px; height: 40px; color: var(--amber-dark); }
.area-box p { color: var(--muted); }
.area-box strong { color: var(--navy); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; }
.faq summary {
    list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative;
    font-weight: 800; color: var(--navy); font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
    font-size: 1.5rem; color: var(--amber-dark);
}
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 22px 20px; color: var(--muted); }
.faq .answer p + p { margin-top: 10px; }
.faq .answer a { color: var(--navy); font-weight: 700; }

/* ---------- B2B ---------- */
.b2b { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.b2b-points li { display: flex; gap: 12px; padding: 8px 0; }
.b2b-points .icon { color: var(--amber-dark); margin-top: 4px; }
.b2b .btn { margin-top: 22px; }
.wichary-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.lamp {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden;
    text-decoration: none; display: flex; flex-direction: column; transition: box-shadow .2s ease, transform .2s ease;
}
.lamp:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.lamp img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.lamp span { padding: 10px 12px 2px; font-weight: 800; color: var(--navy); font-size: .92rem; }
.lamp small { padding: 0 12px 12px; color: var(--muted); font-size: .76rem; display: flex; align-items: center; gap: 6px; }
.lamp small .icon { width: 1em; height: 1em; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 64px); }
.contact-big { display: inline-flex; align-items: center; gap: 12px; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: #fff; text-decoration: none; margin: 8px 0 6px; }
.contact-big .icon { color: var(--amber); width: 32px; height: 32px; }
.contact-lines li { display: flex; gap: 12px; align-items: center; padding: 8px 0; }
.contact-lines .icon { color: var(--amber); }
.contact-lines a { color: #fff; }
.btn-messenger { background: #0866ff; color: #fff; margin-top: 18px; }
.btn-messenger:hover { background: #0657d8; }
.showroom { margin-top: 30px; border-radius: var(--radius); overflow: hidden; background: #12213a; }
.showroom-info { padding: 20px 22px; }
.showroom-info strong { color: #fff; display: block; font-size: 1.05rem; }
.showroom-info p { color: #b9c3d1; font-size: .93rem; }
.showroom iframe { display: block; width: 100%; height: 220px; border: 0; filter: grayscale(.2); }

.form-card { background: #fff; color: var(--ink); border-radius: var(--radius); padding: clamp(24px, 3.5vw, 40px); box-shadow: var(--shadow-lg); }
.form-card h3 { margin-bottom: 4px; }
.form-card > p { color: var(--muted); font-size: .95rem; margin-bottom: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .9rem; color: var(--navy); }
.field label small { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
    width: 100%; padding: 13px 14px; border: 1.5px solid #d5d9e0; border-radius: 10px;
    font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--amber-dark); box-shadow: 0 0 0 3px rgba(252, 163, 17, .25); }
.upload {
    display: flex; align-items: center; gap: 14px; padding: 16px; border: 1.5px dashed #c5cbd5;
    border-radius: 12px; background: var(--paper); cursor: pointer;
}
.upload .icon { width: 30px; height: 30px; color: var(--amber-dark); }
.upload strong { display: block; color: var(--navy); }
.upload span { font-size: .85rem; color: var(--muted); }
.upload input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.upload-list { font-size: .85rem; color: var(--navy); margin-top: 6px; }
.upload-list.error { color: #b42318; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--amber-dark); }
.consent a { color: var(--navy); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-legal { font-size: .78rem; color: var(--muted); margin-top: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #b9c3d1; padding: 56px 0 32px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 12px; }
.site-footer li { padding: 3px 0; }
.site-footer a { color: #b9c3d1; text-decoration: none; }
.site-footer a:hover { color: var(--amber); }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .82rem; color: #7f8ea3; }

/* ---------- Mobile CTA bar ---------- */
.mobile-cta { display: none; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 3000; background: rgba(5, 10, 20, .94); display: none; align-items: center; justify-content: center; padding: 20px; flex-direction: column; gap: 12px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1100px, 100%); max-height: 82vh; object-fit: contain; border-radius: 8px; }
.lightbox p { color: #c3cdda; font-size: .95rem; text-align: center; }
.lightbox button { position: absolute; top: 14px; right: 14px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; }
.lightbox button .icon { width: 26px; height: 26px; }

/* ---------- Cookie banner ---------- */
.cookie {
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 2500; display: none;
    max-width: 760px; margin-inline: auto; background: var(--navy); color: #e8ecf2; border-radius: var(--radius);
    padding: 18px 20px; box-shadow: var(--shadow-lg); font-size: .88rem;
}
.cookie.show { display: block; }
.cookie a { color: var(--amber); }
.cookie-actions { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .main-nav a { padding: 8px 8px; font-size: .88rem; }
    .nct-grid { grid-template-columns: repeat(2, 1fr); }
    .wichary-grid { grid-template-columns: repeat(4, 1fr); }
    .b2b { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
    .burger { display: block; }
    .header-phone { display: none; }
    .main-nav {
        position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; margin: 0;
        background: var(--navy-deep); padding: 24px 20px; transform: translateX(100%);
        transition: transform .3s ease; overflow-y: auto;
    }
    .main-nav.open { transform: none; }
    .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
    .main-nav a { font-size: 1.15rem; padding: 16px 8px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
    .main-nav .nav-cta { margin-top: 20px; }
    .main-nav .nav-cta a { border: 0; text-align: center; }

    .trust-grid { grid-template-columns: 1fr 1fr; }
    .trust-item:nth-child(2) { border-right: 0; }
    .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }

    .product, .split, .contact, .compare { grid-template-columns: 1fr; }
    .split.reverse > :first-child { order: 0; }
    .gallery { position: static; }
    .pole-grid, .uses { grid-template-columns: 1fr; }
    .use-card { min-height: 360px; }
    .steps { grid-template-columns: 1fr 1fr; }
    .wichary-grid { grid-template-columns: repeat(3, 1fr); }

    .mobile-cta {
        display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1500;
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(8, 28, 54, .97);
        box-shadow: 0 -6px 20px rgba(0, 0, 0, .25);
    }
    .mobile-cta a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 8px; border-radius: 12px; font-weight: 800; font-size: .92rem; text-decoration: none; color: #fff; background: rgba(255, 255, 255, .1); }
    .mobile-cta a.primary { background: var(--amber); color: #111; }
    .mobile-cta a.msg { background: #0866ff; }
    body { padding-bottom: 76px; }
    .cookie { bottom: 88px; }
}

@media (max-width: 640px) {
    body { font-size: 1rem; }
    .container { width: calc(100% - 32px); }
    .hero { min-height: auto; padding-bottom: 110px; }
    .hero::after { background: linear-gradient(0deg, rgba(8, 18, 34, .95) 0%, rgba(8, 18, 34, .7) 55%, rgba(8, 18, 34, .45) 100%); }
    .hero-cta .btn { width: 100%; }
    .img-credit { bottom: 76px; }
    .trust-item { padding: 16px; gap: 10px; }
    .trust-item .icon { width: 26px; height: 26px; }
    .trust-item strong { font-size: .9rem; }
    .trust-item small { display: none; }
    .benefits { grid-template-columns: 1fr; }
    .mode { grid-template-columns: 1fr; gap: 2px; }
    .form-grid { grid-template-columns: 1fr; }
    .media-pair, .duo { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .wichary-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .area-box { grid-template-columns: 1fr; }
    .gallery-thumbs { gap: 6px; }
    .compare-card { padding: 24px; }
}

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

/* Pole cards with photos */
.pole-card.has-img { padding: 0; overflow: hidden; }
.pole-card.has-img .pole-img { aspect-ratio: 4 / 3; background: #ececec; overflow: hidden; }
.pole-card.has-img .pole-img img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.pole-card.has-img .pole-img.contain img { object-fit: contain; }
.pole-card.has-img .pole-body { padding: 22px 26px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pole-card .real { font-size: .78rem; font-weight: 700; color: var(--amber-text); }

/* Single-photo project */
.project-split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 28px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.project-split img { width: 100%; height: 100%; max-height: 520px; object-fit: cover; cursor: zoom-in; }
.project-split .txt { padding: 28px 28px 28px 0; }
.project-split .txt p { color: var(--muted); margin-top: 8px; }
@media (max-width: 760px) {
    .project-split { grid-template-columns: 1fr; }
    .project-split .txt { padding: 0 22px 24px; }
}

/* Poprawki po przeglądzie */
.btn-ghost { background: transparent; }
.bg-night .form-card h3 { color: var(--navy); }
.pole-card.has-img .pole-img { aspect-ratio: 1 / 1; }
.nct-card img.contain { object-fit: contain; background: #eef1f5; }
.video-wrap { max-width: 960px; }
.video-wrap video { width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); background: #000; }
@media (max-width: 640px) {
    .nct-card .nct-body { padding: 14px 14px 18px; }
    .nct-card h3 { font-size: 1rem; }
    .nct-card p { font-size: .86rem; }
}
.price-note p { flex: 1 1 420px; }

/* Etykieta wizualizacji na zdjęciach z dodaną oprawą SLL */
.nct-media, .pole-card.has-img .pole-img { position: relative; }
.viz {
    position: absolute; left: 10px; bottom: 10px; pointer-events: none;
    background: rgba(8, 28, 54, .72); color: #fff; font-size: .7rem; font-weight: 700;
    padding: 4px 10px; border-radius: 999px; letter-spacing: .02em;
}
@media (max-width: 640px) {
    .viz { font-size: .64rem; padding: 3px 8px; left: 8px; bottom: 8px; }
    .viz-long { display: none; }
}


/* ---------- Dostępność ---------- */
.skip-link {
    position: absolute; left: 12px; top: -60px; z-index: 4000; background: var(--amber); color: #111;
    padding: 10px 16px; border-radius: 8px; font-weight: 800; text-decoration: none; transition: top .15s ease;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.bg-paper :focus-visible, .section:not(.bg-night) :focus-visible { outline-color: var(--navy); }

/* Etykiety: wizualizacja / AI */
.viz.ai { background: rgba(120, 40, 160, .82); }
.duo figure { position: relative; }
.use-card .viz { left: auto; right: 12px; top: 12px; bottom: auto; z-index: 2; }

/* ---------- Mapa ładowana po zgodzie ---------- */
.map-consent {
    display: flex; flex-direction: column; gap: 10px; align-items: flex-start; justify-content: center;
    min-height: 220px; padding: 20px 22px; background: #0f1b2e; color: #b9c3d1; font-size: .9rem;
}
.map-consent p { max-width: 460px; }
.map-consent .row { display: flex; gap: 10px; flex-wrap: wrap; }
.map-consent a { color: var(--amber); }

/* ---------- Dane firmy w stopce ---------- */
.footer-legal { margin-top: 28px; font-size: .82rem; color: #93a2b8; line-height: 1.6; }
.footer-legal strong { color: #cfd7e3; font-weight: 600; }

/* ---------- Strony prawne i artykuły ---------- */
.page-head { background: var(--navy); color: #fff; padding: calc(var(--header-h) + 48px) 0 48px; }
.page-head h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); margin-top: 8px; }
.page-head p { color: #c3cdda; margin-top: 10px; }
.page-head .eyebrow { color: var(--amber); }
.prose { max-width: 820px; margin-inline: auto; padding: clamp(40px, 6vw, 72px) 0; }
.prose h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); margin: 40px 0 12px; }
.prose h3 { font-size: 1.08rem; margin: 24px 0 8px; }
.prose p, .prose li { color: #374151; }
.prose p + p { margin-top: 12px; }
.prose ul, .prose ol { margin: 10px 0 14px 22px; }
.prose ul { list-style: disc; }
.prose li { margin: 6px 0; }
.prose a { color: var(--navy); font-weight: 700; }
.prose .box { background: var(--paper); border-left: 4px solid var(--amber); border-radius: 10px; padding: 18px 20px; margin: 18px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: .93rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--line); }
.prose th { background: var(--paper); color: var(--navy); }
.prose .meta { color: var(--muted); font-size: .9rem; }
.prose .cta { margin: 32px 0; padding: 24px; border-radius: var(--radius); background: var(--navy); color: #e8ecf2; }
.prose .cta h3 { color: #fff; margin-top: 0; }
.prose .cta p { color: #c3cdda; }
.prose .cta .btn { margin-top: 14px; color: #111; }
.table-wrap { overflow-x: auto; }
.simple-nav .main-nav { display: block; position: static; transform: none; background: none; padding: 0; margin-left: auto; }
.simple-nav .main-nav ul { flex-direction: row; }
@media (max-width: 960px) {
    .simple-nav .main-nav a { border: 0; padding: 8px; font-size: .9rem; }
    .simple-nav .main-nav li.hide-sm { display: none; }
}
.cookie:focus { outline: none; }
.slider .slider-ai { left: 14px; top: 14px; bottom: auto; z-index: 5; }
.slider .slider-ai[hidden] { display: none; }

/* Poprawki kadrów (X 2026) */
.duo figure .viz { top: 10px; bottom: auto; }
.split-media.tall img { width: auto; max-width: 100%; max-height: 720px; object-fit: contain; margin-inline: auto; }
.project-split img { object-position: center top; }
.project-video h3 { justify-content: center; }
.video-wrap { margin-inline: auto; }

/* Menu mobilne: backdrop-filter na nagłówku sprawiał, że menu (position: fixed)
   liczyło wysokość względem nagłówka i miało praktycznie zerową wysokość. */
@media (max-width: 960px) {
    .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(8, 28, 54, .98); }
    .site-header:not(.simple-nav) .main-nav {
        bottom: auto;
        height: calc(100vh - var(--header-h));
        height: calc(100dvh - var(--header-h));
    }
    body.nav-open { overflow: hidden; }
}
.main-nav a.btn-primary, .main-nav a.btn-primary:hover { color: #111; }
.main-nav a.btn-primary:hover { background: var(--amber-dark); }
@media (max-width: 960px) {
    .site-header { background: var(--navy-deep); }
    body.nav-open .mobile-cta { display: none; }
}
@media (max-width: 480px) {
    .brand { font-size: 1.02rem; gap: 8px; }
    .brand img { width: 32px; height: 32px; }
    .simple-nav .main-nav a.btn { padding: 8px 12px; font-size: .84rem; white-space: nowrap; }
    .simple-nav .header-inner { gap: 10px; }
}

/* Prawdziwe zdjęcia realizacji */
.viz.real { background: rgba(21, 115, 71, .88); }
.project-lead { color: var(--muted); max-width: 760px; margin: -6px 0 16px; }
.photo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.photo-row img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); cursor: zoom-in; }
.gallery-thumbs { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 640px) {
    .photo-row { gap: 8px; }
    .photo-row img { border-radius: var(--radius-sm); }
}
