/* ==========================================================================
   LUMAR AUTO — style strony
   ========================================================================== */

/* ---------- Fonty (lokalne) ---------- */
@font-face{font-family:'Inter';font-style:normal;font-weight:400 700;font-display:swap;src:url(../fonts/inter-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:'Inter';font-style:normal;font-weight:400 700;font-display:swap;src:url(../fonts/inter-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}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:500 800;font-display:swap;src:url(../fonts/montserrat-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:'Montserrat';font-style:normal;font-weight:500 800;font-display:swap;src:url(../fonts/montserrat-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}

/* ---------- Tokeny ---------- */
:root {
    --navy: #041e5b;
    --navy-2: #0a2d7a;
    --blue: #0f60f0;
    --blue-2: #2f7bff;
    --red: #e02b2b;

    --bg: #f5f7fb;
    --surface: #ffffff;
    --surface-2: #eef2f9;
    --text: #0b1630;
    --muted: #55627a;
    --border: #dfe5ef;
    --brand: #0f60f0;
    --brand-ink: #041e5b;
    --brand-soft: rgba(15, 96, 240, .09);
    --ok: #0f8a4a;
    --ok-soft: rgba(15, 138, 74, .1);
    --warn: #b45309;
    --header-bg: rgba(255, 255, 255, .86);
    --shadow-sm: 0 1px 2px rgba(4, 30, 91, .06), 0 1px 3px rgba(4, 30, 91, .05);
    --shadow: 0 10px 30px -12px rgba(4, 30, 91, .22);
    --shadow-lg: 0 30px 60px -20px rgba(4, 30, 91, .35);

    --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Montserrat', 'Inter', system-ui, sans-serif;
    --radius: 14px;
    --radius-sm: 10px;
    --radius-lg: 22px;
    --container: 1200px;
    --gutter: 20px;
    --header-h: 76px;
    color-scheme: light;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --bg: #070d1a;
        --surface: #0d1628;
        --surface-2: #111c33;
        --text: #e7edfa;
        --muted: #98a4bd;
        --border: #1e2a45;
        --brand: #3b82ff;
        --brand-ink: #e7edfa;
        --brand-soft: rgba(59, 130, 255, .14);
        --ok: #34d17c;
        --ok-soft: rgba(52, 209, 124, .12);
        --warn: #f5a524;
        --header-bg: rgba(7, 13, 26, .82);
        --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
        --shadow: 0 10px 30px -12px rgba(0, 0, 0, .6);
        --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .7);
        color-scheme: dark;
    }
}
:root[data-theme="dark"] {
    --bg: #070d1a;
    --surface: #0d1628;
    --surface-2: #111c33;
    --text: #e7edfa;
    --muted: #98a4bd;
    --border: #1e2a45;
    --brand: #3b82ff;
    --brand-ink: #e7edfa;
    --brand-soft: rgba(59, 130, 255, .14);
    --ok: #34d17c;
    --ok-soft: rgba(52, 209, 124, .12);
    --warn: #f5a524;
    --header-bg: rgba(7, 13, 26, .82);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow: 0 10px 30px -12px rgba(0, 0, 0, .6);
    --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .7);
    color-scheme: dark;
}

/* Warianty zależne od motywu (logo, ikona przełącznika) */
.logo--dark, .icon-sun { display: none; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .logo--light, :root:not([data-theme="light"]) .icon-moon { display: none; }
    :root:not([data-theme="light"]) .logo--dark, :root:not([data-theme="light"]) .icon-sun { display: block; }
}
:root[data-theme="dark"] .logo--light, :root[data-theme="dark"] .icon-moon { display: none; }
:root[data-theme="dark"] .logo--dark, :root[data-theme="dark"] .icon-sun { display: block; }

/* ---------- Baza ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.02em; color: var(--brand-ink); }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--brand); color: #fff; }
.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }
.center { text-align: center; margin-top: 2rem; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 8px; transition: top .2s; }
.skip-link:focus { top: 12px; }

/* ---------- Przyciski ---------- */
.btn {
    --b: var(--brand);
    display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    min-height: 46px; padding: .7em 1.35em;
    font: 700 .98rem/1.2 var(--font-display); letter-spacing: .01em;
    border: 2px solid transparent; border-radius: 999px;
    text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: transform .15s ease, background-color .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -8px rgba(15, 96, 240, .7); }
.btn--primary:hover { background: #0b53d6; box-shadow: 0 12px 24px -8px rgba(15, 96, 240, .8); }
.btn--outline { border-color: var(--border); color: var(--text); background: var(--surface); }
.btn--outline:hover { border-color: var(--brand); color: var(--brand); }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { background: #eaf1ff; }
.btn--ghost-light { border-color: rgba(255, 255, 255, .35); color: #fff; background: rgba(255, 255, 255, .06); }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .12); }
.btn--sm { min-height: 40px; padding: .5em 1em; font-size: .9rem; }
.btn--lg { min-height: 54px; padding: .85em 1.6em; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn .icon { width: 1.15em; height: 1.15em; }

/* ---------- Pasek ogłoszenia ---------- */
.announce { background: var(--red); color: #fff; font-size: .92rem; font-weight: 600; }
.announce .container { display: flex; align-items: center; justify-content: center; gap: .5em; padding-block: .5em; text-align: center; }

/* ---------- Nagłówek ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: var(--header-bg);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: var(--shadow); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: block; flex-shrink: 0; }
.brand .logo { height: 46px; width: auto; }

.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 4px; }
.main-nav li { position: relative; display: flex; align-items: center; }
.main-nav > ul > li > a {
    display: block; padding: .55em .9em; border-radius: 999px;
    color: var(--text); font: 600 .98rem/1.2 var(--font-display); text-decoration: none;
    transition: background-color .2s, color .2s;
}
.main-nav > ul > li > a:hover { background: var(--brand-soft); color: var(--brand); }
.main-nav > ul > li > a[aria-current="page"] { color: var(--brand); background: var(--brand-soft); }
.sub-toggle { display: none; }
.sub-menu {
    position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0;
    width: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
    padding: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.sub-menu::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius-sm); color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem; }
.sub-menu a:hover { background: var(--brand-soft); color: var(--brand); }
.sub-menu .icon { color: var(--brand); }
.nav-mobile-extra { display: none; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle, .nav-toggle {
    display: inline-grid; place-items: center; width: 44px; height: 44px;
    border: 1px solid var(--border); border-radius: 50%; background: var(--surface); color: var(--text); cursor: pointer;
    transition: border-color .2s, color .2s, transform .2s;
}
.theme-toggle:hover, .nav-toggle:hover { border-color: var(--brand); color: var(--brand); }
.theme-toggle:active { transform: rotate(20deg); }
.nav-toggle { display: none; }
.nav-toggle .icon-close { display: none; }

/* Status „otwarte teraz” */
.open-status { display: inline-flex; align-items: center; gap: .5em; margin: 0; font-size: .88rem; font-weight: 600; color: var(--muted); }
.open-status:empty { display: none; }
.open-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.open-status.is-open { color: var(--ok); }
.open-status.is-open::before { box-shadow: 0 0 0 4px var(--ok-soft); animation: pulse 2s infinite; }
.open-status.is-closed { color: var(--warn); }
.open-status--pill { padding: .45em .85em; border-radius: 999px; background: var(--surface-2); white-space: nowrap; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px transparent; } }

/* ---------- Okruszki ---------- */
.breadcrumbs { padding-top: 20px; font-size: .88rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; color: var(--muted); }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; opacity: .5; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--brand); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 104px); isolation: isolate; }
.hero__bg {
    position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(60% 80% at 85% 20%, rgba(47, 123, 255, .45), transparent 60%),
        radial-gradient(50% 60% at 0% 100%, rgba(15, 96, 240, .25), transparent 60%),
        linear-gradient(135deg, #03143f 0%, #041e5b 45%, #0a2d7a 100%);
}
.hero__bg::after {
    content: ""; position: absolute; inset: 0; opacity: .5;
    background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent);
}
:root[data-theme="dark"] .hero__bg { background: radial-gradient(60% 80% at 85% 20%, rgba(47,123,255,.3), transparent 60%), linear-gradient(135deg, #050b18, #071737 60%, #0a2254); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero__bg { background: radial-gradient(60% 80% at 85% 20%, rgba(47,123,255,.3), transparent 60%), linear-gradient(135deg, #050b18, #071737 60%, #0a2254); } }

.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .5em; margin: 0 0 1rem; font: 700 .8rem/1 var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.eyebrow .icon { width: 1.1em; height: 1.1em; }
.eyebrow--light { color: #9cc0ff; padding: .55em .9em; border: 1px solid rgba(156, 192, 255, .3); border-radius: 999px; background: rgba(255,255,255,.05); }
.hero__title { color: #fff; font-size: clamp(2.3rem, 5.4vw, 4rem); }
.hero__title span { display: block; background: linear-gradient(90deg, #6aa5ff, #2f7bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: #c9d6f2; max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 2rem 0 0; }
.hero__actions--center { justify-content: center; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 12px 36px; margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.12); }
.hero__facts li { display: flex; flex-direction: column; }
.hero__facts strong { font: 800 1.6rem/1.1 var(--font-display); color: #fff; }
.hero__facts span { font-size: .9rem; color: #9fb0d4; }

.hero__media { position: relative; }
.hero__media picture img {
    width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; object-position: 60% 50%;
    border-radius: var(--radius-lg); box-shadow: 0 40px 80px -30px rgba(0,0,0,.7);
    border: 1px solid rgba(255,255,255,.12);
}
.hero__card {
    position: absolute; left: -24px; bottom: -28px;
    display: flex; gap: 14px; align-items: flex-start;
    padding: 16px 20px; max-width: 290px;
    background: var(--surface); color: var(--text); border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--border);
}
.hero__card > .icon { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); }
.hero__card .open-status { font-size: .95rem; }
.hero__card-hours { margin: .25em 0 0; font-size: .88rem; color: var(--muted); line-height: 1.5; }

/* ---------- Pasek atutów ---------- */
.strip { background: var(--surface); border-bottom: 1px solid var(--border); }
.strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip__item { display: flex; gap: 14px; align-items: center; padding: 26px 20px; }
.strip__item + .strip__item { border-left: 1px solid var(--border); }
.strip__item > .icon { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); }
.strip__item strong { display: block; font: 700 1rem/1.3 var(--font-display); color: var(--brand-ink); }
.strip__item span { font-size: .88rem; color: var(--muted); }

/* ---------- Sekcje ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--tight { padding-top: 0; }
.section--flush-top { padding-top: 8px; }
.section--alt { background: var(--surface-2); }
.section-head { max-width: 680px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.section-head p:last-child { color: var(--muted); font-size: 1.08rem; margin: 0; }
.section-head--left { text-align: left; margin-left: 0; }

/* Siatka usług */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
    position: relative; display: flex; flex-direction: column;
    padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border);
    color: var(--text); text-decoration: none; overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.service-card::after {
    content: ""; position: absolute; inset: auto 0 0; height: 3px;
    background: linear-gradient(90deg, var(--navy), var(--blue));
    transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::after { transform: scaleX(1); }
.service-card__icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 20px; border-radius: 16px; background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; box-shadow: 0 10px 20px -10px rgba(15,96,240,.8); }
.service-card__icon .icon { width: 28px; height: 28px; }
.service-card h3 { margin-bottom: .4em; }
.service-card p { color: var(--muted); font-size: .98rem; flex: 1; }
.service-card__more { display: inline-flex; align-items: center; gap: .4em; font: 700 .92rem var(--font-display); color: var(--brand); }
.service-card__more .icon { transition: transform .2s; }
.service-card:hover .service-card__more .icon { transform: translateX(4px); }

/* Promocje */
.promo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.promo-card { position: relative; padding: 28px; border-radius: var(--radius); background: linear-gradient(135deg, var(--navy), #0b3aa8); color: #dfe8ff; overflow: hidden; }
.promo-card h3 { color: #fff; padding-right: 70px; }
.promo-card p { color: #c5d4f5; }
.promo-card__badge { position: absolute; top: 20px; right: 20px; padding: .35em .8em; border-radius: 999px; background: var(--red); color: #fff; font: 800 .95rem var(--font-display); }
.promo-card__date { display: flex; align-items: center; gap: .5em; margin: 0; font-size: .9rem; font-weight: 600; color: #9cc0ff; }

/* Podział: obraz + treść */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split__media { position: relative; }
.split__media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.year-badge {
    position: absolute; right: -18px; bottom: -22px;
    display: grid; place-items: center; width: 128px; height: 128px; border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; text-align: center;
    box-shadow: var(--shadow-lg); border: 5px solid var(--bg);
}
.section--alt .year-badge { border-color: var(--surface-2); }
.year-badge span { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; opacity: .8; margin-bottom: -28px; }
.year-badge strong { font: 800 2rem/1 var(--font-display); }
.check-list { display: grid; gap: 12px; margin: 1.5rem 0 2rem; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .icon { width: 24px; height: 24px; padding: 4px; margin-top: 2px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); }

/* Kroki */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { position: relative; padding: 32px 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.steps li:not(:last-child)::after {
    content: ""; position: absolute; top: 56px; right: -21px; width: 22px; height: 2px;
    background: repeating-linear-gradient(90deg, var(--brand) 0 4px, transparent 4px 8px);
}
.steps__num { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px; border-radius: 50%; border: 2px solid var(--brand); color: var(--brand); font: 800 1.2rem var(--font-display); }
.steps p { color: var(--muted); margin: 0; }

/* Opinie */
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; }
.review-card { margin: 0; padding: 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); display: flex; flex-direction: column; }
.stars { display: flex; gap: 2px; color: #f5b301; margin-bottom: 14px; }
.stars .icon { fill: currentColor; width: 18px; height: 18px; }
.review-card blockquote { margin: 0 0 1.2rem; flex: 1; }
.review-card figcaption { color: var(--muted); font-size: .92rem; }
.review-card figcaption strong { color: var(--text); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--brand); box-shadow: var(--shadow-sm); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; cursor: pointer; list-style: none; font: 700 1.05rem/1.35 var(--font-display); color: var(--brand-ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--brand); transition: transform .25s; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq__answer { padding: 0 24px 20px; color: var(--muted); }
.faq__answer p:last-child { margin: 0; }

/* CTA */
.cta { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 80px) 0; color: #fff; background: linear-gradient(120deg, #0f60f0, #0a3fb8 50%, #041e5b); }
.cta::before { content: ""; position: absolute; right: -10%; top: -60%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.14), transparent 65%); }
.cta__inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta p { margin: 0; color: #d6e3ff; font-size: 1.1rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Mapa */
.map-section { position: relative; min-height: 480px; background: var(--surface-2); }
.map-section__frame { position: absolute; inset: 0; }
.map-section__frame iframe { width: 100%; height: 100%; border: 0; }
:root[data-theme="dark"] .map-section__frame iframe { filter: invert(.9) hue-rotate(180deg) saturate(.7) brightness(.95); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .map-section__frame iframe { filter: invert(.9) hue-rotate(180deg) saturate(.7) brightness(.95); } }
.map-section__overlay { position: relative; display: flex; padding-block: 48px; pointer-events: none; }
.map-card { pointer-events: auto; width: 340px; padding: 28px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.map-card h2 { font-size: 1.35rem; }
.map-card__row { display: flex; gap: 10px; align-items: flex-start; }
.map-card__row .icon { color: var(--brand); margin-top: 3px; }
.map-card__row a { color: var(--text); font-weight: 700; text-decoration: none; }

/* Godziny */
.hours-list { margin: 0 0 1rem; display: grid; gap: 6px; }
.hours-list div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 6px; border-bottom: 1px dashed var(--border); }
.hours-list div:last-child { border: 0; }
.hours-list dt { color: var(--muted); }
.hours-list dd { margin: 0; font-weight: 700; }
.hours-list--compact { font-size: .95rem; }

/* ---------- Podstrony ---------- */
.page-hero { padding: clamp(32px, 5vw, 56px) 0 clamp(32px, 5vw, 48px); }
.page-hero h1 { max-width: 18em; }
.page-hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 42em; margin: 0; }
.page-hero__with-icon { display: flex; gap: 28px; align-items: flex-start; }
.page-hero__icon { flex-shrink: 0; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 24px; background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; box-shadow: 0 16px 30px -14px rgba(15,96,240,.9); }
.page-hero__icon .icon { width: 42px; height: 42px; }
.page-hero--center { text-align: center; }
.page-hero--center .page-hero__lead, .page-hero--center h1 { margin-inline: auto; }
.big-code { font: 800 clamp(5rem, 16vw, 9rem)/1 var(--font-display); margin: 0; background: linear-gradient(135deg, var(--navy), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
:root[data-theme="dark"] .big-code { background-image: linear-gradient(135deg, #9cc0ff, var(--blue-2)); }

/* Lista usług */
.service-list { display: grid; gap: 16px; }
.service-row { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: start; padding: 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; scroll-margin-top: calc(var(--header-h) + 20px); }
.service-row:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.service-row__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 16px; background: var(--brand-soft); color: var(--brand); }
.service-row__icon .icon { width: 30px; height: 30px; }
.service-row h2 { font-size: 1.35rem; margin-bottom: .3em; }
.service-row h2 a { color: inherit; text-decoration: none; }
.service-row h2 a:hover { color: var(--brand); }
.service-row p { color: var(--muted); margin-bottom: 14px; }
.service-row__side { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; text-align: right; }
.price { margin: 0; color: var(--muted); font-size: .92rem; white-space: nowrap; }
.price strong { display: block; font: 800 1.4rem/1.1 var(--font-display); color: var(--brand-ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: .35em .8em; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); font-size: .86rem; font-weight: 500; }
.note { display: flex; gap: 10px; align-items: flex-start; margin: 24px 0 0; padding: 16px 20px; border-radius: var(--radius-sm); background: var(--brand-soft); font-size: .95rem; }
.note .icon { color: var(--brand); margin-top: 3px; }

.az-list { columns: 3 240px; column-gap: 32px; }
.az-list li { break-inside: avoid; }
.az-list a { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); color: var(--text); text-decoration: none; font-weight: 500; }
.az-list a:hover { color: var(--brand); }
.az-list .icon { color: var(--brand); width: 18px; height: 18px; }

/* Szczegóły usługi */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 5vw, 56px); align-items: start; }
.detail__side { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 16px; }
.prose { font-size: 1.08rem; }
.prose h2 { font-size: 1.6rem; margin-top: 2em; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--text); }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.check-grid li { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); font-weight: 600; font-size: 1rem; }
.check-grid .icon { color: var(--brand); margin-top: 2px; }
.side-card { padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.side-card p:last-child { margin-bottom: 0; }
.side-card--brand { background: linear-gradient(135deg, var(--navy), #0b3aa8); color: #dce6ff; border: 0; }
.side-card--brand .open-status { margin-top: 14px; color: #c5d4f5; }
.side-card--brand .open-status.is-open { color: #5ee89b; }
.side-card--brand .open-status.is-closed { color: #ffc46b; }
.side-card__price { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.15); }
.side-card__price strong { font: 800 1.8rem var(--font-display); color: #fff; }
.side-card__title { font-size: 1.1rem; margin-bottom: 1rem; }
.side-card__addr { display: flex; gap: 8px; align-items: flex-start; color: var(--muted); font-size: .95rem; }
.side-card__addr .icon { color: var(--brand); margin-top: 3px; }
.side-links { display: grid; gap: 2px; }
.side-links a { display: flex; gap: 10px; align-items: center; padding: 9px 10px; margin-inline: -10px; border-radius: var(--radius-sm); color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem; }
.side-links a:hover { background: var(--brand-soft); color: var(--brand); }
.side-links .icon { color: var(--brand); width: 18px; height: 18px; }

/* O firmie */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value-card { padding: 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.value-card > .icon { width: 48px; height: 48px; padding: 11px; margin-bottom: 18px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); }
.value-card p { color: var(--muted); margin: 0; font-size: .98rem; }
.data-table { margin: 0; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.data-table div { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 16px 24px; }
.data-table div + div { border-top: 1px solid var(--border); }
.data-table dt { color: var(--muted); }
.data-table dd { margin: 0; font-weight: 600; }

/* Kontakt */
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.contact-card { display: flex; flex-direction: column; gap: 4px; padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); text-decoration: none; transition: border-color .2s, transform .2s, box-shadow .2s; }
a.contact-card:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow); }
.contact-card > .icon { width: 44px; height: 44px; padding: 10px; margin-bottom: 12px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); }
.contact-card__label { font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-card strong { font: 800 1.25rem/1.3 var(--font-display); color: var(--brand-ink); }
.contact-card > span:not(.contact-card__label) { color: var(--muted); font-size: .92rem; }
.contact-card--primary { background: linear-gradient(135deg, var(--blue), var(--navy)); border: 0; color: #fff; }
.contact-card--primary > .icon { background: rgba(255,255,255,.14); color: #fff; }
.contact-card--primary .contact-card__label { color: #c5d4f5; }
.contact-card--primary strong { color: #fff; font-size: 1.5rem; }
.contact-card--primary .open-status { color: #c5d4f5; }
.contact-card--primary .open-status.is-open { color: #5ee89b; }
.contact-card--primary .open-status.is-closed { color: #ffc46b; }
.contact-card .hours-list { margin: 6px 0 0; }

/* ---------- Formularz ---------- */
.form { display: grid; gap: 18px; padding: clamp(20px, 4vw, 36px); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .95rem; }
.req { color: var(--red); }
.opt { color: var(--muted); font-weight: 400; font-size: .88rem; }
.field input, .field select, .field textarea {
    width: 100%; min-height: 50px; padding: 12px 14px;
    font: inherit; font-size: 1rem; color: var(--text);
    background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--radius-sm);
    transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); background: var(--surface); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--red); }
.field-error { color: var(--red); font-size: .86rem; font-weight: 600; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); flex-shrink: 0; }
.check.has-error { color: var(--red); }
.form__footer { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form__note { margin: 0; color: var(--muted); font-size: .9rem; }
.form__status { padding: 14px 18px; border-radius: var(--radius-sm); font-weight: 600; }
.form__status[data-state="ok"] { background: var(--ok-soft); color: var(--ok); }
.form__status[data-state="error"] { background: rgba(224, 43, 43, .1); color: var(--red); }
.form.is-sending button[type="submit"] { opacity: .7; pointer-events: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Stopka ---------- */
.site-footer { background: #050c1c; color: #a9b5cf; padding-top: clamp(56px, 7vw, 80px); font-size: .96rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; }
.footer-brand .logo { width: 220px; margin-bottom: 20px; }
.footer-brand p { max-width: 28em; }
.footer-title { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 1.1rem; }
.footer-links { display: grid; gap: 8px; }
.site-footer a { color: #cfd9ee; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-contact { display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { color: var(--blue-2); margin-top: 3px; }
.site-footer .hours-list div { border-color: rgba(255,255,255,.1); }
.site-footer .hours-list dt { color: #a9b5cf; }
.site-footer .hours-list dd { color: #fff; }
.footer-company { font-size: .85rem; color: #7f8cab; }
.socials { display: flex; gap: 10px; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.15); }
.socials a:hover { background: var(--blue); border-color: var(--blue); text-decoration: none; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-block: 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: .88rem; color: #7f8cab; }
.footer-bottom p { margin: 0; }
.footer-bottom nav { display: flex; gap: 20px; }

.mobile-bar { display: none; }

/* ---------- Animacje wejścia ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsywność ---------- */
@media (max-width: 1100px) {
    .open-status--pill { display: none; }
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .value-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .strip__grid { grid-template-columns: repeat(2, 1fr); }
    .strip__item:nth-child(3) { border-left: 0; }
    .strip__item:nth-child(n+3) { border-top: 1px solid var(--border); }
}

@media (max-width: 960px) {
    :root { --header-h: 68px; }
    .brand .logo { height: 38px; }
    .nav-toggle { display: inline-grid; }
    .header-call span { display: none; }
    .header-call { width: 44px; padding: 0; }
    .main-nav {
        position: fixed; inset: var(--header-h) 0 0; z-index: 99;
        padding: 20px var(--gutter) 40px; overflow-y: auto;
        background: var(--bg);
        opacity: 0; visibility: hidden; transform: translateY(-8px);
        transition: opacity .2s, transform .2s, visibility .2s;
    }
    .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
    .nav-open .nav-toggle .icon-open { display: none; }
    .nav-open .nav-toggle .icon-close { display: block; }
    .nav-open { overflow: hidden; }
    .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
    .main-nav li { flex-wrap: wrap; border-bottom: 1px solid var(--border); }
    .main-nav > ul > li > a { flex: 1; padding: 16px 4px; font-size: 1.15rem; border-radius: 0; }
    .main-nav > ul > li > a:hover, .main-nav > ul > li > a[aria-current="page"] { background: none; }
    .sub-toggle { display: grid; place-items: center; width: 48px; height: 48px; border: 0; background: none; color: var(--text); cursor: pointer; }
    .sub-toggle .icon { transition: transform .2s; }
    .sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
    .sub-menu { position: static; translate: none; width: 100%; display: none; grid-template-columns: 1fr; padding: 0 0 12px; border: 0; box-shadow: none; background: none; opacity: 1; visibility: visible; transform: none; }
    .sub-menu::before { display: none; }
    .sub-menu.is-open { display: grid; }
    .nav-mobile-extra { display: grid; gap: 14px; margin-top: 24px; justify-items: center; }

    .hero__grid, .split, .detail { grid-template-columns: 1fr; }
    .hero__media { max-width: 620px; }
    .hero__card { left: 16px; bottom: -24px; }
    .detail__side { position: static; }
    .steps { grid-template-columns: 1fr; }
    .steps li:not(:last-child)::after { display: none; }
    .service-row { grid-template-columns: auto 1fr; }
    .service-row__side { grid-column: 2; flex-direction: row; align-items: center; justify-content: space-between; width: 100%; text-align: left; }
    .map-section { min-height: 0; display: flex; flex-direction: column-reverse; }
    .map-section__frame { position: relative; height: 380px; }
    .map-section__overlay { padding-block: 24px; }
    .map-card { width: 100%; box-shadow: none; }

    .mobile-bar {
        position: fixed; inset: auto 0 0; z-index: 90;
        display: grid; grid-template-columns: 1.3fr 1fr 1fr;
        padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
        gap: 8px; background: var(--header-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
        border-top: 1px solid var(--border);
    }
    .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; border-radius: 12px; background: var(--surface-2); color: var(--text); font: 700 .88rem var(--font-display); text-decoration: none; }
    .mobile-bar .icon { width: 18px; height: 18px; }
    .mobile-bar__call { background: var(--blue) !important; color: #fff !important; }
    body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
}

@media (max-width: 640px) {
    :root { --gutter: 16px; }
    body { font-size: 1rem; }
    .header-inner { gap: 12px; }
    .header-actions { gap: 6px; margin-left: auto; }
    .brand .logo { height: 32px; }
    .theme-toggle, .nav-toggle, .header-call { width: 42px; height: 42px; min-height: 42px; }
    .hero__actions .btn { width: 100%; }
    .hero__facts { gap: 12px 24px; }
    .hero__card { position: relative; left: auto; bottom: auto; margin: -36px 12px 0; max-width: none; }
    .service-grid, .value-grid, .check-grid, .form__row { grid-template-columns: 1fr; }
    .strip__grid { grid-template-columns: 1fr; }
    .strip__item + .strip__item { border-left: 0; border-top: 1px solid var(--border); }
    .strip__item { padding: 18px 0; }
    .service-row { grid-template-columns: 1fr; padding: 22px; }
    .service-row__side { grid-column: auto; }
    .page-hero__with-icon { flex-direction: column; gap: 18px; }
    .page-hero__icon { width: 64px; height: 64px; border-radius: 18px; }
    .page-hero__icon .icon { width: 32px; height: 32px; }
    .year-badge { width: 100px; height: 100px; right: 8px; bottom: -18px; }
    .year-badge strong { font-size: 1.6rem; }
    .data-table div { grid-template-columns: 1fr; gap: 2px; padding: 14px 18px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .cta__actions, .cta__actions .btn { width: 100%; }
    .form__footer .btn { width: 100%; }
}

/* ---------- Zgody cookies ---------- */
.btn--link { background: none; border-color: transparent; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; padding-inline: .6em; }
.btn--link:hover { color: var(--brand); }
.cookie-banner {
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 300;
    max-width: 1000px; margin-inline: auto;
    background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    opacity: 0; transform: translateY(20px); transition: opacity .3s, transform .3s;
}
.cookie-banner.is-visible { opacity: 1; transform: none; }
.cookie-banner__inner { display: flex; align-items: center; gap: 24px; padding: 20px 24px; }
.cookie-banner__text strong { font-family: var(--font-display); font-size: 1.05rem; color: var(--brand-ink); }
.cookie-banner__text p { margin: .3em 0 0; font-size: .92rem; color: var(--muted); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 8px; flex-shrink: 0; }
.cookie-modal { position: fixed; inset: 0; z-index: 310; display: none; place-items: center; padding: 16px; background: rgba(3, 10, 28, .6); backdrop-filter: blur(4px); }
.cookie-modal.is-visible { display: grid; }
.cookie-modal__dialog { width: 100%; max-width: 620px; max-height: calc(100vh - 32px); display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.cookie-modal__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; border-bottom: 1px solid var(--border); }
.cookie-modal__head h2 { font-size: 1.25rem; margin: 0; }
.cookie-modal__close { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--surface-2); color: var(--text); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.cookie-modal__body { padding: 20px 24px; overflow-y: auto; }
.cookie-modal__body > p { color: var(--muted); font-size: .95rem; }
.cookie-modal__foot { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; padding: 16px 24px; border-top: 1px solid var(--border); background: var(--surface-2); }
.cookie-cat { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 16px 0; border-top: 1px solid var(--border); cursor: pointer; }
.cookie-cat__text { display: grid; gap: 4px; }
.cookie-cat__text strong { font-family: var(--font-display); color: var(--brand-ink); }
.cookie-cat__text em { margin-left: 6px; padding: .15em .6em; border-radius: 999px; background: var(--ok-soft); color: var(--ok); font: 600 .72rem var(--font); font-style: normal; vertical-align: middle; }
.cookie-cat__text > span { font-size: .9rem; color: var(--muted); }
.switch { position: relative; flex-shrink: 0; width: 48px; height: 28px; margin-top: 2px; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch__ui { position: absolute; inset: 0; border-radius: 999px; background: var(--border); transition: background-color .2s; }
.switch__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: transform .2s; }
.switch input:checked + .switch__ui { background: var(--blue); }
.switch input:checked + .switch__ui::after { transform: translateX(20px); }
.switch input:disabled + .switch__ui { opacity: .6; }
.switch input:focus-visible + .switch__ui { outline: 3px solid var(--brand); outline-offset: 2px; }
.modal-open { overflow: hidden; }

.map-placeholder { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 32px; text-align: center; color: var(--muted);
    background: radial-gradient(circle at 70% 40%, var(--brand-soft), transparent 60%), repeating-linear-gradient(45deg, transparent 0 22px, rgba(128,140,170,.07) 22px 23px), var(--surface-2); }
.map-placeholder > .icon { width: 44px; height: 44px; color: var(--brand); }
.map-placeholder p { max-width: 380px; font-size: .92rem; }
.map-placeholder strong { color: var(--text); font-family: var(--font-display); }
.map-placeholder__actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.map-section__frame:not(.is-loaded) { display: flex; justify-content: flex-end; }
.map-section__frame:not(.is-loaded) .map-placeholder { width: 100%; padding-left: max(32px, calc((100% - var(--container)) / 2 + 420px)); }

.table-wrap { overflow-x: auto; margin: 1.2em 0; }
.cookie-table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 600px; }
.cookie-table th, .cookie-table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.cookie-table th { background: var(--surface-2); font-family: var(--font-display); }
.prose code { padding: .1em .35em; border-radius: 5px; background: var(--surface-2); font-size: .88em; }

@media (max-width: 960px) {
    .map-section__frame:not(.is-loaded) .map-placeholder { padding-left: 32px; }
    .cookie-banner { bottom: calc(76px + env(safe-area-inset-bottom)); }
}
@media (max-width: 760px) {
    .cookie-banner__inner { flex-direction: column; align-items: stretch; gap: 14px; padding: 18px; }
    .cookie-banner__actions .btn { flex: 1; }
    .cookie-modal__foot .btn { flex: 1; }
}

/* ---------- Galeria ---------- */
.section--tight-bottom { padding-bottom: 0; }
.section-head--split { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; max-width: none; text-align: left; }
.section-head--split h2 { margin: 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; gap: 14px; }
.gallery-grid--home { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; }
.gallery-item { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--surface-2); }
.gallery-item--wide { grid-column: span 2; grid-row: span 2; }
.gallery-item a { display: block; height: 100%; cursor: zoom-in; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item a:hover img, .gallery-item a:focus-visible img { transform: scale(1.04); }
.gallery-item figcaption {
    position: absolute; inset: auto 0 0; padding: 36px 16px 12px; pointer-events: none;
    background: linear-gradient(transparent, rgba(3, 12, 32, .82)); color: #fff; font: 600 .92rem var(--font-display);
}

.lightbox { width: 100vw; max-width: none; height: 100vh; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(3, 8, 20, .94); color: #fff; }
.lightbox::backdrop { background: rgba(3, 8, 20, .7); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox__figure { margin: 0; display: grid; gap: 12px; justify-items: center; max-width: min(1400px, 92vw); }
.lightbox__img { max-width: 100%; max-height: 80vh; width: auto; height: auto; border-radius: 10px; box-shadow: 0 30px 80px -20px #000; }
.lightbox__caption { font: 600 1rem var(--font-display); text-align: center; color: #dbe5fb; }
.lightbox__btn { position: fixed; display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; }
.lightbox__btn:hover { background: rgba(255,255,255,.18); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: 18px; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 18px; top: 50%; translate: 0 -50%; }
.lightbox__count { position: fixed; top: 30px; left: 24px; margin: 0; font-size: .9rem; color: #9fb0d4; }

@media (max-width: 960px) {
    .gallery-grid, .gallery-grid--home { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
    .gallery-grid--home .gallery-item:nth-child(n+4) { display: none; }
}
@media (max-width: 640px) {
    .gallery-grid { grid-auto-rows: 150px; gap: 10px; }
    .gallery-grid--home { grid-auto-rows: 140px; }
    .lightbox__prev, .lightbox__next { top: auto; bottom: 20px; translate: none; }
    .lightbox__img { max-height: 70vh; }
}
/* Ostatnie zdjęcie wypełnia wolne miejsce w rzędzie, żeby siatka nie miała dziur */
@media (min-width: 961px) {
    .gallery-grid:not(.gallery-grid--home) .gallery-item:last-child:nth-child(3n+2) { grid-column: span 2; }
    .gallery-grid:not(.gallery-grid--home) .gallery-item:last-child:nth-child(3n+1):not(:first-child) { grid-column: span 3; }
}
@media (max-width: 960px) {
    .gallery-grid:not(.gallery-grid--home) .gallery-item:last-child:nth-child(2n):not(.gallery-item--wide) { grid-column: span 2; }
}

/* Menu z pozycją Galeria: bez łamania i bez pigułki statusu na węższych ekranach */
.main-nav > ul > li > a { white-space: nowrap; }
@media (max-width: 1280px) and (min-width: 961px) {
    .open-status--pill { display: none; }
    .main-nav > ul > li > a { padding-inline: .7em; }
    .header-inner { gap: 16px; }
}
