/* OXYPLAN by OXYNET — arkusz główny v2.
   System: Jura (UI, nagłówki sekcji, body) + Montserrat wyłącznie italic (display, liczby prędkości).
   Paleta wg docs/design-audit.md; CTA #007BB0 zapewnia biały tekst z kontrastem >= 4.5:1. */

@font-face {
    font-family: "Jura";
    src: url("../fonts/jura-latin-ext.woff2") format("woff2");
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    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: "Jura";
    src: url("../fonts/jura-latin.woff2") format("woff2");
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    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";
    src: url("../fonts/montserrat-italic-latin-ext.woff2") format("woff2");
    font-style: italic;
    font-weight: 100 900;
    font-display: swap;
    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";
    src: url("../fonts/montserrat-italic-latin.woff2") format("woff2");
    font-style: italic;
    font-weight: 100 900;
    font-display: swap;
    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";
    src: url("../fonts/montserrat-latin-ext.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    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";
    src: url("../fonts/montserrat-latin.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    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 {
    --brand: #00adef;
    --brand-dark: #008fc7;
    --brand-deep: #006f9f;
    --action: #007bb0;
    --brand-soft: #e8f7fd;
    --brand-pale: #f2faff;
    --brand-border: #d5eef9;
    --ink: #0f1c2e;
    --ink-soft: #34465d;
    --muted: #52667d;
    --surface: #f4f7f9;
    --white: #fff;
    --dark: #07131f;
    --night: #051019;
    --success: #087b61;
    --danger: #b3261e;
    --line: #dce6ec;
    --font-display: "Montserrat", Arial, sans-serif;
    --font-ui: "Jura", Arial, sans-serif;
    --space-1: .5rem;
    --space-2: .75rem;
    --space-3: 1rem;
    --space-4: 1.25rem;
    --space-5: 1.5rem;
    --space-6: 2rem;
    --space-7: 3rem;
    --space-8: 4rem;
    --space-9: 5rem;
    --space-10: 6.25rem;
    --radius-sm: .75rem;
    --radius-md: .9375rem;
    --radius-lg: 1.25rem;
    --radius-xl: 1.75rem;
    --radius-pill: 99rem;
    --shadow-card: 0 10px 34px rgba(15, 63, 88, .07);
    --shadow-active: 0 16px 48px rgba(0, 173, 239, .16);
    --ease: .3s cubic-bezier(.4, 0, .2, 1);
    --container: 87.5rem;
    --header-h: 4.5rem;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--font-ui); font-size: 1rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
button,
input,
select { font: inherit; }
button { color: inherit; }
[hidden] { display: none !important; }
::selection { color: var(--ink); background: #9fe4ff; }

h1,
h2,
h3,
p { margin-top: 0; }
h2 { margin-bottom: 1.25rem; font-family: var(--font-ui); font-size: clamp(1.85rem, 3.2vw, 2.8rem); font-weight: 700; letter-spacing: -.015em; line-height: 1.14; }
h3 { line-height: 1.25; }
.display-title { font-family: var(--font-display); font-style: italic; font-weight: 900; letter-spacing: -.02em; }

:focus-visible { outline: 3px solid var(--brand-deep); outline-offset: 4px; box-shadow: 0 0 0 2px var(--white); }
input:focus-visible,
select:focus-visible { outline-color: var(--brand-deep); outline-offset: 2px; box-shadow: 0 0 0 1px var(--white); }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.skip-link { position: fixed; top: .75rem; left: .75rem; z-index: 1000; padding: .75rem 1rem; transform: translateY(-150%); border-radius: var(--radius-sm); color: var(--white); background: var(--ink); font-weight: 700; }
.skip-link:focus { transform: translateY(0); }
.container { width: min(calc(100% - 3rem), var(--container)); margin-inline: auto; }
.section { padding-block: clamp(4.25rem, 7.5vw, 6.5rem); }
.section-soft { background: var(--brand-pale); }
.eyebrow { margin-bottom: .8rem; color: var(--brand-deep); font-size: .76rem; font-weight: 700; letter-spacing: .21em; line-height: 1.2; text-transform: uppercase; }
.eyebrow-light { color: #8bdfff; }
.eyebrow-hero { margin-bottom: 1rem; color: #9fe4ff; font-family: var(--font-display); font-style: italic; font-size: .82rem; font-weight: 300; letter-spacing: .34em; line-height: 1.2; text-transform: uppercase; }
.section-heading { margin-bottom: clamp(2.25rem, 4.5vw, 3.5rem); }
.split-heading { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(18rem, .65fr); gap: 4rem; align-items: end; }
.split-heading h2 { margin-bottom: 0; }
.split-heading > p { margin: 0 0 .4rem; color: var(--ink-soft); font-size: 1.08rem; }
.centered-heading { max-width: 48rem; margin-inline: auto; text-align: center; }
.centered-heading > p:last-child { color: var(--muted); font-size: 1.05rem; }

/* --- Przyciski: białe, pogrubione wersaliki na dostępnym cyanie akcji --- */
.button { display: inline-flex; min-height: 3.25rem; padding: .82rem 1.7rem; align-items: center; justify-content: center; gap: .55rem; border: 2px solid var(--action); border-radius: var(--radius-md); color: var(--white); background: var(--action); font-size: .9rem; font-weight: 700; letter-spacing: .07em; line-height: 1.25; text-align: center; text-decoration: none; text-transform: uppercase; cursor: pointer; transition: color var(--ease), background var(--ease), border-color var(--ease), transform var(--ease), box-shadow var(--ease); }
.button:hover { border-color: var(--brand-deep); background: var(--brand-deep); box-shadow: 0 10px 28px rgba(0, 111, 159, .26); transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button[disabled] { opacity: .58; cursor: wait; transform: none; }
.button-small { min-height: 2.6rem; padding: .5rem 1.15rem; font-size: .82rem; }
.button-ghost { border-color: rgba(255, 255, 255, .55); color: var(--white); background: rgba(5, 18, 28, .35); backdrop-filter: blur(8px); }
.button-ghost:hover { border-color: var(--white); color: var(--ink); background: var(--white); box-shadow: none; }
.button-wide { width: 100%; }
.button-outline { border-color: var(--brand); color: var(--brand-deep); background: var(--white); }
.button-outline:hover { border-color: var(--brand-dark); color: var(--brand-deep); background: var(--brand-soft); box-shadow: none; }
.text-button,
.text-link { display: inline-flex; padding: .25rem 0; gap: .45rem; align-items: center; border: 0; border-bottom: 1px solid currentColor; color: var(--brand-deep); background: transparent; font-weight: 700; line-height: 1.35; text-decoration: none; cursor: pointer; }
.text-button:hover,
.text-link:hover { color: #00567d; }

/* --- Header: kompaktowy, samo logo --- */
.site-header { position: relative; z-index: 50; height: var(--header-h); background: rgba(255, 255, 255, .96); }
.site-header.is-sticky { position: sticky; top: 0; box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(14px); }
.header-inner { display: grid; height: 100%; grid-template-columns: minmax(10rem, 1fr) auto minmax(10rem, 1fr); gap: 2rem; align-items: center; }
.brand { display: inline-flex; width: max-content; align-items: center; text-decoration: none; }
.brand img { width: 4.35rem; height: 2.85rem; object-fit: contain; }
.site-nav { display: flex; gap: 2rem; align-items: center; }
.site-nav a { position: relative; padding-block: .5rem; font-size: .92rem; font-weight: 600; text-decoration: none; }
.site-nav a::after { position: absolute; right: 0; bottom: .2rem; left: 0; height: 2px; content: ""; background: var(--brand); transform: scaleX(0); transform-origin: right; transition: transform var(--ease); }
.site-nav a:hover::after,
.site-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.header-tools { display: flex; justify-self: end; gap: .6rem; align-items: center; }
.header-cta { border-radius: var(--radius-pill); letter-spacing: .05em; }
.header-cta svg { width: .95rem; height: .95rem; }
.theme-toggle { display: inline-flex; width: 2.6rem; height: 2.6rem; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; color: var(--ink-soft); background: var(--white); cursor: pointer; transition: border-color var(--ease), color var(--ease), background var(--ease); }
.theme-toggle:hover { border-color: #7fd4f2; color: var(--brand-deep); }
.theme-toggle svg { width: 1.1rem; height: 1.1rem; }
.theme-toggle .ico-sun,
.theme-toggle .ico-moon { display: none; }
html[data-theme="light"] .theme-toggle .ico-moon,
html:not([data-theme]) .theme-toggle .ico-moon { display: block; }
html[data-theme="dark"] .theme-toggle .ico-sun { display: block; }
.nav-toggle { display: none; width: 2.8rem; height: 2.8rem; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); cursor: pointer; }
.nav-toggle > span:not(.sr-only),
.nav-toggle > span:not(.sr-only)::before,
.nav-toggle > span:not(.sr-only)::after { display: block; width: 1.25rem; height: 2px; margin: auto; content: ""; background: currentColor; transition: transform var(--ease), opacity var(--ease); }
.nav-toggle > span:not(.sr-only)::before { transform: translateY(-6px); }
.nav-toggle > span:not(.sr-only)::after { transform: translateY(4px); }
.nav-toggle[aria-expanded="true"] > span:not(.sr-only) { background: transparent; }
.nav-toggle[aria-expanded="true"] > span:not(.sr-only)::before { transform: translateY(1px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] > span:not(.sr-only)::after { transform: translateY(-1px) rotate(-45deg); }

/* --- Hero --- */
.hero { position: relative; min-height: min(46rem, calc(100svh - 6rem)); margin: 0 1.5rem 1.5rem; border-radius: var(--radius-xl); color: var(--white); background: var(--dark); isolation: isolate; }
.hero::before { position: absolute; z-index: -1; inset: 0; border-radius: inherit; content: ""; background: linear-gradient(90deg, rgba(3, 12, 20, .95) 0%, rgba(4, 15, 24, .78) 46%, rgba(4, 15, 24, .28) 76%, rgba(4, 15, 24, .5) 100%); }
.hero-media { position: absolute; z-index: -2; inset: 0; overflow: hidden; border-radius: inherit; }
.hero-media picture,
.hero-media img { width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: center 55%; filter: saturate(.9) contrast(1.08); }
.hero-grid { display: grid; width: min(calc(100% - clamp(3rem, 9vw, 8.5rem)), var(--container)); min-height: inherit; padding-block: clamp(4rem, 7vw, 6.25rem); grid-template-columns: minmax(0, 1.08fr) minmax(20rem, .58fr); gap: 5rem; align-items: center; }
.hero-copy { min-width: 0; max-width: 52rem; }
.hero h1 { max-width: 44rem; margin-bottom: 1.5rem; padding-right: .12em; overflow-wrap: break-word; font-family: var(--font-display); font-style: italic; font-size: clamp(2.25rem, 3.9vw, 3.65rem); font-weight: 900; letter-spacing: -.02em; line-height: 1.08; }
.hero h1 em { color: #8be1ff; font-style: inherit; }
.hero-lead { max-width: 40rem; margin-bottom: 2rem; color: rgba(255, 255, 255, .86); font-size: clamp(1.02rem, 1.35vw, 1.22rem); line-height: 1.65; }
.hero-actions { display: flex; margin-bottom: 2rem; gap: .9rem 1.4rem; align-items: center; flex-wrap: wrap; }
.hero-link { display: inline-flex; padding: .3rem 0; gap: .45rem; align-items: center; border-bottom: 1px solid rgba(191, 233, 255, .55); color: #bfe9ff; font-weight: 700; text-decoration: none; }
.hero-link:hover { border-color: #fff; color: #fff; }
.hero-facts { display: flex; margin: 0; padding: 0; gap: .75rem 1.8rem; flex-wrap: wrap; color: rgba(255, 255, 255, .78); font-size: .88rem; list-style: none; }
.hero-facts li::before { margin-right: .5rem; color: #7ee0ff; content: "✓"; font-weight: 700; }

.hero-check { position: relative; min-width: 0; max-width: 100%; padding: 1.6rem; border: 1px solid rgba(143, 222, 252, .28); border-radius: var(--radius-lg); background: linear-gradient(170deg, rgba(9, 33, 51, .86), rgba(4, 18, 30, .82)); box-shadow: 0 28px 80px rgba(0, 0, 0, .26); backdrop-filter: blur(16px); }
.hero-check::before { position: absolute; top: 0; right: 1.6rem; left: 1.6rem; height: 1px; content: ""; background: linear-gradient(90deg, rgba(139, 225, 255, 0), rgba(139, 225, 255, .65), rgba(139, 225, 255, 0)); }
.hero-check-title { margin: 0 0 1.1rem; font-size: 1.16rem; font-weight: 700; }
.hero-check-field { position: relative; display: block; margin-bottom: .8rem; }
.hero-check-field > svg { position: absolute; z-index: 1; top: 50%; left: 1rem; width: 1.15rem; height: 1.15rem; color: #8be1ff; pointer-events: none; transform: translateY(-50%); }
.hero-check-field input { height: 3.4rem; padding-left: 2.9rem; border: 1px solid rgba(143, 222, 252, .4); border-radius: var(--radius-md); color: var(--white); background: rgba(255, 255, 255, .07); }
.hero-check-field input::placeholder { color: rgba(255, 255, 255, .4); }
.hero-check-field input:hover { border-color: rgba(143, 222, 252, .65); }
.hero-check-field input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0, 173, 239, .22); }
.hero-check-status { display: flex; min-height: 2.4rem; margin: 0 0 1rem; padding: .5rem .8rem; align-items: center; border-radius: var(--radius-sm); color: rgba(255, 255, 255, .72); background: rgba(0, 173, 239, .1); font-size: .8rem; }
.hero-check-status.is-match { color: #a8ecd2; background: rgba(63, 224, 175, .12); }
.hero-check-note { margin: .85rem 0 0; color: rgba(255, 255, 255, .55); font-size: .72rem; line-height: 1.5; }
.hero-check-skip { display: inline-flex; margin-top: .8rem; gap: .4rem; align-items: center; border-bottom: 1px solid rgba(191, 233, 255, .5); color: #bfe9ff; font-size: .8rem; font-weight: 700; text-decoration: none; }
.hero-check-skip:hover { border-color: #fff; color: #fff; }
.planner-skip { margin-top: 1.1rem; font-size: .85rem; }
.no-js .lead-section { display: none; }
.hero-check .ac-list { border-color: rgba(143, 222, 252, .35); background: #0b2436; box-shadow: 0 18px 44px rgba(0, 0, 0, .55); }
.hero-check .ac-list li strong { color: var(--white); }
.hero-check .ac-list li small { color: rgba(255, 255, 255, .5); }
.hero-check .ac-list li.is-active,
.hero-check .ac-list li:hover { background: rgba(0, 173, 239, .2); }
.fiber-lines { position: absolute; z-index: 1; right: -2rem; bottom: -7rem; width: 42%; height: 70%; pointer-events: none; }
.fiber-lines i { position: absolute; bottom: 0; width: 1px; height: 100%; background: rgba(61, 205, 255, .36); box-shadow: 0 0 10px #16bfff; transform: rotate(13deg); transform-origin: bottom; }
.fiber-lines i:nth-child(1) { left: 15%; height: 73%; }.fiber-lines i:nth-child(2) { left: 38%; height: 98%; transform: rotate(4deg); }.fiber-lines i:nth-child(3) { left: 60%; height: 88%; transform: rotate(-7deg); }.fiber-lines i:nth-child(4) { left: 78%; height: 64%; transform: rotate(-17deg); }

/* --- Pasek zaufania --- */
.trust-strip { padding-block: 1.5rem 2.25rem; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-grid p { display: grid; min-height: 4.5rem; margin: 0; padding: .3rem 2rem; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: .95rem; align-content: center; border-left: 1px solid var(--line); }
.trust-grid p:first-child { padding-left: 0; border-left: 0; }
.trust-ico { display: inline-flex; width: 2.5rem; height: 2.5rem; grid-row: span 2; align-items: center; justify-content: center; align-self: center; border: 1px solid var(--brand-border); border-radius: .8rem; color: var(--brand-deep); background: var(--brand-pale); }
.trust-ico svg { width: 1.25rem; height: 1.25rem; }
.trust-grid strong { font-size: .98rem; }
.trust-grid span { color: var(--muted); font-size: .82rem; }

/* --- Jak działa (rzeczywista sekwencja 3 kroków) --- */
.process-grid { display: grid; margin: 0; padding: 0; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; counter-reset: process; list-style: none; }
.process-grid li { position: relative; min-height: 15.5rem; padding: 2rem; overflow: hidden; border: 1px solid var(--brand-border); border-radius: var(--radius-lg); background: var(--white); }
.process-grid li::after { position: absolute; right: -2.5rem; bottom: -4rem; width: 11rem; height: 11rem; border: 1px solid var(--brand-border); border-radius: 50%; content: ""; box-shadow: 0 0 0 2.5rem #f6fcff, 0 0 0 2.6rem var(--brand-border); }
.process-grid span { display: inline-flex; width: 2.6rem; height: 2.6rem; margin-bottom: 2.75rem; align-items: center; justify-content: center; border-radius: 50%; color: var(--brand-deep); background: var(--brand-soft); font-size: .8rem; font-weight: 700; }
.process-grid h3 { position: relative; z-index: 1; margin-bottom: .7rem; font-size: 1.28rem; font-weight: 700; }
.process-grid p { position: relative; z-index: 1; max-width: 22rem; margin: 0; color: var(--muted); font-size: .95rem; }

/* --- Planer: biała karta na jasnym niebieskim, pytania z ikonami --- */
.planner-section { background: var(--brand-pale); }
.planner-shell { display: grid; grid-template-columns: minmax(17rem, .62fr) minmax(0, 1.38fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.planner-intro { position: sticky; top: 6.25rem; }
.planner-intro h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.planner-intro > p:not(.eyebrow):not(.privacy-note) { color: var(--muted); font-size: 1.05rem; }
.planner-progress-wrap { margin-block: 1.9rem 1.25rem; }
.progress-label { display: flex; margin-bottom: .65rem; justify-content: space-between; gap: 1rem; font-size: .82rem; font-weight: 700; }
.progress-label strong { color: var(--brand-deep); }
progress { display: block; width: 100%; height: .5rem; overflow: hidden; border: 0; border-radius: var(--radius-pill); background: #dff2fc; appearance: none; }
progress::-webkit-progress-bar { border-radius: inherit; background: #dff2fc; }
progress::-webkit-progress-value { border-radius: inherit; background: var(--brand); transition: width var(--ease); }
progress::-moz-progress-bar { border-radius: inherit; background: var(--brand); }
.privacy-note { display: flex; margin: 0; gap: .6rem; align-items: flex-start; color: var(--ink-soft); font-size: .85rem; }
.privacy-note span { display: inline-flex; width: 1.35rem; height: 1.35rem; flex: 0 0 auto; align-items: center; justify-content: center; border-radius: 50%; color: var(--success); background: #e4f8f2; font-weight: 700; }
.planner-card { min-height: 37rem; padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid var(--brand-border); border-radius: var(--radius-xl); background: var(--white); box-shadow: var(--shadow-card); }
.planner-step { animation: step-in var(--ease) both; }
@keyframes step-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.step-kicker { margin-bottom: .5rem; color: var(--brand-deep); font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.planner-step > h3 { margin: 0 0 .5rem; font-size: clamp(1.5rem, 2.6vw, 2.05rem); font-weight: 700; letter-spacing: -.015em; }
.step-description { margin-bottom: 2rem; color: var(--muted); }
.question-stack { display: grid; gap: 2rem; }
.question { min-width: 0; margin: 0; padding: 0; border: 0; }
.question legend { display: flex; width: 100%; margin-bottom: .9rem; gap: .8rem; align-items: flex-start; color: var(--ink); font-weight: 700; line-height: 1.35; }
.q-icon { display: inline-flex; width: 2.5rem; height: 2.5rem; flex: 0 0 auto; align-items: center; justify-content: center; border-radius: .8rem; color: var(--brand-deep); background: var(--brand-soft); }
.q-icon svg { width: 1.35rem; height: 1.35rem; }
.q-text { min-width: 0; padding-top: .2rem; }
.q-text small { display: block; margin-top: .25rem; color: var(--muted); font-weight: 400; }
.answer-grid { display: grid; gap: .75rem; }
.answer-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.answer-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.answer-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.answer-card { position: relative; display: flex; min-height: 5.4rem; padding: 1rem; gap: .8rem; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); cursor: pointer; transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease), background var(--ease); }
.answer-card:hover { border-color: #7fd4f2; transform: translateY(-2px); }
.answer-card:has(input:checked) { border-color: var(--brand); background: #f7fdff; box-shadow: 0 0 0 1px var(--brand), 0 8px 22px rgba(0, 173, 239, .1); }
.answer-card input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.answer-card:has(input:focus-visible) { outline: 3px solid #ffd24d; outline-offset: 3px; }
.answer-marker { position: relative; width: 1.3rem; height: 1.3rem; margin-top: .1rem; flex: 0 0 auto; border: 1.5px solid #a5bccb; border-radius: 50%; background: var(--white); transition: border-color var(--ease), background var(--ease); }
.answer-marker::after { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--white); content: "✓"; font-size: .72rem; font-weight: 700; line-height: 1; opacity: 0; transition: opacity var(--ease); }
input:checked + .answer-marker { border-color: var(--brand); background: var(--brand); }
input:checked + .answer-marker::after { opacity: 1; }
.answer-card > span:last-child { display: flex; min-width: 0; flex-direction: column; line-height: 1.3; }
.answer-card strong { font-size: .92rem; }
.answer-card small { margin-top: .3rem; color: var(--muted); font-size: .73rem; line-height: 1.35; }
.planner-controls { display: flex; min-height: 4rem; margin-top: 2.25rem; align-items: center; justify-content: space-between; gap: 1rem; }
.planner-controls .button { margin-left: auto; }
.form-message { min-height: 1.5rem; margin-top: 1rem; color: var(--danger); font-size: .88rem; font-weight: 700; }
.form-message.is-success { color: var(--success); }

/* --- Wynik --- */
.result-section { background: var(--brand-pale); }
.result-heading { display: flex; margin-bottom: 2.25rem; align-items: end; justify-content: space-between; gap: 2rem; }
.result-heading h2 { margin-bottom: 0; padding-right: .1em; font-family: var(--font-display); font-style: italic; font-size: clamp(2.1rem, 3.8vw, 3.3rem); font-weight: 900; letter-spacing: -.02em; }
.result-heading h2 span { color: var(--brand-dark); }
.result-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(19rem, .65fr); gap: 1.25rem; align-items: stretch; }
.package-result,
.wifi-result { border-radius: var(--radius-xl); background: var(--white); }
.package-result { padding: clamp(1.6rem, 4vw, 3rem); border: 2px solid var(--brand); box-shadow: var(--shadow-active); }
.package-result-head { display: flex; margin-bottom: 2.25rem; align-items: center; justify-content: space-between; gap: 1rem; }
.package-result-head > p { margin: 0; color: var(--muted); font-size: .78rem; }
.package-badge { display: inline-flex; padding: .45rem .85rem; border-radius: var(--radius-pill); color: var(--brand-deep); background: var(--brand-soft); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.result-speed { display: grid; max-width: 42rem; margin-bottom: 2.25rem; grid-template-columns: 1fr auto 1fr; gap: 1.5rem; align-items: center; }
.result-speed > div { display: flex; align-items: center; gap: .9rem; }
.speed-chip { display: inline-flex; width: 3rem; height: 3rem; flex: 0 0 auto; align-items: center; justify-content: center; border-radius: 50%; color: var(--brand-deep); background: var(--brand-soft); }
.speed-chip svg { width: 1.4rem; height: 1.4rem; }
.result-speed strong { padding-right: .08em; font-family: var(--font-display); font-style: italic; font-size: clamp(3.2rem, 6.2vw, 5.2rem); font-weight: 900; letter-spacing: -.045em; line-height: .9; }
.result-speed > div > span { display: flex; flex-direction: column; color: var(--brand-deep); font-weight: 700; line-height: 1.2; }
.result-speed small { margin-top: .3rem; color: var(--muted); font-size: .65rem; font-weight: 500; }
.result-speed i { width: 1px; height: 4.5rem; background: var(--line); }
.result-card-cta { margin-top: 1.75rem; }
.planner-section.is-done { display: none; }
.result-reasons { padding-top: 1.5rem; border-top: 1px solid var(--line); }
.result-reasons h3,
.result-uses h3 { margin-bottom: .75rem; font-size: 1rem; font-weight: 700; }
.result-reasons ul,
.result-uses ul,
.wifi-result ul { display: grid; margin: 0; padding: 0; gap: .55rem; list-style: none; }
.result-reasons li,
.result-uses li,
.wifi-result li { position: relative; padding-left: 1.45rem; color: var(--ink-soft); font-size: .93rem; }
.result-reasons li::before,
.result-uses li::before,
.wifi-result li::before { position: absolute; top: .08rem; left: 0; color: var(--brand); content: "✓"; font-weight: 700; }
.headroom-note { display: flex; margin-block: 1.5rem; padding: 1rem; gap: .8rem; align-items: center; border-radius: var(--radius-md); background: var(--brand-pale); }
.headroom-note > span { display: inline-flex; width: 2.4rem; height: 2.4rem; flex: 0 0 auto; align-items: center; justify-content: center; border-radius: 50%; color: var(--brand-deep); background: var(--white); }
.headroom-note > span svg { width: 1.2rem; height: 1.2rem; }
.headroom-note p { display: flex; margin: 0; flex-direction: column; line-height: 1.4; }
.headroom-note p span { color: var(--muted); font-size: .82rem; }
.wifi-result { position: relative; padding: 2rem; overflow: hidden; border: 1px solid var(--brand-border); }
.wifi-result h3 { margin: 0 0 .75rem; font-size: 1.45rem; font-weight: 700; }
.wifi-result > p:not(.eyebrow):not(.wifi-separation) { color: var(--ink-soft); }
.wifi-art { margin: -2rem -2rem 1.75rem; background: var(--night); }
.wifi-art svg { display: block; width: 100%; height: auto; }
.wifi-wave { animation: wifi-wave 2.8s cubic-bezier(.4, 0, .2, 1) infinite; }
.wifi-wave-2 { animation-delay: .45s; }
.wifi-wave-3 { animation-delay: .9s; }
@keyframes wifi-wave { 0%, 100% { opacity: .25; } 35% { opacity: 1; } }
.art-flow,
.house-flow { animation: dash-flow 1.5s linear infinite; }
@keyframes dash-flow { to { stroke-dashoffset: -18; } }
.house-ping,
.house-ping-mesh { transform-box: fill-box; transform-origin: center; animation: house-ping 3.6s cubic-bezier(.22, .61, .36, 1) infinite; }
.house-ping-2 { animation-delay: 1.2s; }
.house-ping-3 { animation-delay: 2.4s; }
.house-ping-mesh { animation-duration: 3s; }
.house-ping-5 { animation-delay: 1.5s; }
@keyframes house-ping { 0% { transform: scale(.12); opacity: .95; } 70% { opacity: .35; } 100% { transform: scale(1); opacity: 0; } }
.wifi-separation { margin: 1.5rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; }
.comparison-wrap { margin-top: 2rem; padding: 2rem; border: 1px solid var(--brand-border); border-radius: var(--radius-xl); background: var(--white); }
.comparison-heading { display: flex; margin-bottom: 1.25rem; justify-content: space-between; gap: 2rem; }
.comparison-heading h3 { margin: 0; font-weight: 700; }
.comparison-heading p { max-width: 30rem; margin: 0; color: var(--muted); font-size: .85rem; }
.comparison-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.comparison-card { padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); font: inherit; text-align: left; cursor: pointer; transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease), background var(--ease); }
.comparison-card:hover { border-color: #8bd8f3; transform: translateY(-1px); }
.comparison-card.is-current { position: relative; border-color: var(--brand); background: var(--brand-pale); box-shadow: 0 0 0 1px var(--brand); }
.comparison-card.is-current::after { position: absolute; top: .85rem; right: .95rem; color: var(--brand-deep); content: "✓"; font-weight: 700; }
.comparison-card small { color: var(--muted); }
.comparison-card strong { display: block; margin-block: .15rem; font-size: 1.12rem; font-weight: 700; }
.comparison-card span { color: var(--brand-deep); font-weight: 700; }
.result-cta { display: flex; margin-top: 2rem; padding: 1.5rem 1.75rem; align-items: center; justify-content: space-between; gap: 2rem; border-radius: var(--radius-lg); color: var(--white); background: var(--dark); }
.result-cta > div { display: flex; flex-direction: column; }
.result-cta > div span { color: rgba(255, 255, 255, .66); font-size: .84rem; }
.technical-disclaimer { max-width: 55rem; margin: 1.2rem auto 0; color: var(--muted); font-size: .75rem; text-align: center; }

/* --- Formularz leada --- */
.lead-section { background: var(--white); }
.lead-shell { display: grid; grid-template-columns: minmax(17rem, .55fr) minmax(0, 1.1fr); gap: clamp(3rem, 6vw, 6rem); align-items: start; }
.lead-intro { position: sticky; top: 6.25rem; }
.lead-intro > p:not(.eyebrow) { color: var(--muted); font-size: 1.02rem; }
.lead-summary { display: flex; margin-block: 2rem; padding: 1.25rem; flex-direction: column; border: 1px solid var(--brand-border); border-radius: var(--radius-lg); background: var(--brand-pale); }
.lead-summary span,
.lead-summary small { color: var(--muted); font-size: .75rem; }
.lead-summary strong { font-size: 1.3rem; font-weight: 700; }
.lead-summary b { color: var(--brand-deep); }
.lead-tv-hint { display: flex; margin-bottom: 2rem; padding: 1rem 1.1rem; gap: .85rem; align-items: flex-start; border: 1px solid var(--brand-border); border-radius: var(--radius-md); background: var(--brand-pale); }
.lead-tv-hint > svg { width: 1.5rem; height: 1.5rem; flex: 0 0 auto; color: var(--brand-deep); }
.lead-tv-hint p { display: flex; margin: 0; flex-direction: column; gap: .15rem; line-height: 1.45; }
.lead-tv-hint strong { font-size: .92rem; }
.lead-tv-hint span { color: var(--muted); font-size: .8rem; }
.lead-intro address { display: flex; flex-direction: column; font-style: normal; }
.lead-intro address a { color: var(--brand-deep); font-family: var(--font-display); font-style: italic; font-size: 1.5rem; font-weight: 900; text-decoration: none; }
.lead-intro address span { color: var(--muted); font-size: .8rem; }
.lead-form { padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow-card); }
.form-section-heading { display: flex; margin: 0 0 1.25rem; padding-top: 2rem; gap: .85rem; align-items: flex-start; border-top: 1px solid var(--line); }
.form-section-heading:first-child { padding-top: 0; border-top: 0; }
.form-section-heading > span { display: inline-flex; width: 2rem; height: 2rem; flex: 0 0 auto; align-items: center; justify-content: center; border-radius: 50%; color: var(--brand-deep); background: var(--brand-soft); font-size: .78rem; font-weight: 700; }
.form-section-heading h3 { margin: 0 0 .15rem; font-size: 1.12rem; font-weight: 700; }
.form-section-heading p { margin: 0; color: var(--muted); font-size: .78rem; }
.geo-row { display: flex; margin: -.35rem 0 1.1rem; gap: .9rem; align-items: center; flex-wrap: wrap; }
.geo-row .button svg { width: .95rem; height: .95rem; }
.geo-status { color: var(--muted); font-size: .8rem; }
.button.is-busy { pointer-events: none; }
.button.is-busy svg { display: none; }
.button.is-busy::before { width: .95rem; height: .95rem; border: 2px solid rgba(0, 123, 176, .25); border-top-color: var(--brand-deep); border-radius: 50%; content: ""; animation: geo-spin .8s linear infinite; }
@keyframes geo-spin { to { transform: rotate(360deg); } }
.field-grid { display: grid; margin-bottom: 2rem; gap: 1rem; }
.two-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.address-grid { grid-template-columns: 1.2fr .7fr .45fr .45fr; }
.field-city { grid-column: span 2; }
.field-street { grid-column: span 2; }
.field-grid label { display: flex; min-width: 0; flex-direction: column; gap: .4rem; }
.field-grid label > span { font-size: .8rem; font-weight: 700; }
.field-grid label > span small { color: var(--muted); font-weight: 400; }
input,
select { width: 100%; height: 3.3rem; min-width: 0; padding: .68rem .95rem; border: 1px solid #b9cbd5; border-radius: var(--radius-md); color: var(--ink); background: var(--white); transition: border-color var(--ease), box-shadow var(--ease); }
input:hover,
select:hover { border-color: #7aa6ba; }
input:focus,
select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0, 173, 239, .12); }
input[aria-invalid="true"],
select[aria-invalid="true"] { border-color: var(--danger); }
.optional-block { margin-bottom: 2rem; border: 1px dashed var(--line); border-radius: var(--radius-md); }
.optional-block summary { display: flex; padding: 1rem 1.15rem; gap: .6rem; align-items: center; color: var(--brand-deep); font-size: .88rem; font-weight: 700; list-style: none; cursor: pointer; }
.optional-block summary::-webkit-details-marker { display: none; }
.optional-block summary::after { margin-left: auto; content: "+"; font-size: 1.15rem; line-height: 1; }
.optional-block[open] summary::after { content: "−"; }
.optional-block > div { padding: .25rem 1.15rem 1.15rem; }
.optional-block .field-grid { margin-bottom: 1.15rem; }
.check-row-tv { margin: 0 0 2rem; padding: .95rem 1.05rem; border: 1px solid var(--brand-border); border-radius: var(--radius-md); background: var(--brand-pale); }
.legal-box .check-all strong { color: var(--brand-deep); }
.lead-summary-change { margin-top: .7rem; align-self: flex-start; font-size: .8rem; }
.comparison-wrap { scroll-margin-top: 6.5rem; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.turnstile-wrap { display: flex; min-height: 4.1rem; margin-block: 1rem; align-items: center; justify-content: center; }
.legal-box { margin-top: .5rem; padding: 1.25rem; border-radius: var(--radius-md); background: var(--surface); }
.legal-box .check-row + .check-row { margin-top: .95rem; padding-top: .95rem; border-top: 1px solid var(--line); }
.check-row { display: grid; grid-template-columns: 1.25rem 1fr; gap: .75rem; align-items: start; font-size: .78rem; line-height: 1.55; cursor: pointer; }
.check-row input { width: 1.15rem; height: 1.15rem; margin-top: .15rem; accent-color: var(--brand); }
.check-row strong { display: block; margin-bottom: .25rem; font-size: .8rem; }
.check-row a { color: var(--brand-deep); }
.legal-box > p { margin: .75rem 0 0 2rem; color: var(--muted); font-size: .68rem; }
.submit-note { margin: .75rem 0 0; color: var(--muted); font-size: .72rem; text-align: center; }

/* --- Potwierdzenie --- */
.success-section { background: var(--brand-pale); }
.success-card { max-width: 52rem; padding: clamp(2rem, 6vw, 5rem); border: 1px solid var(--brand-border); border-radius: var(--radius-xl); background: var(--white); box-shadow: var(--shadow-active); text-align: center; }
.success-mark { display: inline-flex; width: 4rem; height: 4rem; margin-bottom: 1.5rem; align-items: center; justify-content: center; border-radius: 50%; color: var(--success); background: #e4f8f2; font-size: 1.8rem; }
.success-card > p:not(.eyebrow) { max-width: 38rem; margin-inline: auto; color: var(--muted); }
.success-card > p strong { color: var(--ink); }
.success-actions { display: flex; margin-top: 2rem; gap: 1.25rem; align-items: center; justify-content: center; flex-wrap: wrap; }

/* --- Pakiety --- */
.packages-section { background: var(--white); }
.package-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.15rem; }
.package-card { position: relative; display: flex; min-height: 29rem; padding: 1.75rem; flex-direction: column; border: 2px solid var(--brand-border); border-radius: var(--radius-lg); background: var(--white); transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease); }
.package-card:hover { border-color: #a9dff1; box-shadow: var(--shadow-card); transform: translateY(-3px); }
.package-card.is-featured { border-color: var(--brand); box-shadow: var(--shadow-active); transform: translateY(-6px); }
.package-card.is-featured:hover { transform: translateY(-8px); }
.package-card-label { position: absolute; top: 1.25rem; right: 1.25rem; padding: .35rem .6rem; border-radius: var(--radius-pill); color: var(--brand-deep); background: var(--brand-soft); font-size: .62rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.package-card > p:first-of-type { margin-bottom: .1rem; color: var(--muted); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.package-card h3 { margin: 0 0 1.25rem; font-size: 1.5rem; font-weight: 700; }
.package-speed { display: flex; margin-bottom: 1.25rem; align-items: end; gap: .55rem; }
.package-speed strong { padding-right: .08em; font-family: var(--font-display); font-style: italic; font-size: clamp(2.6rem, 3.4vw, 3.6rem); font-weight: 900; letter-spacing: -.05em; line-height: .9; }
.package-speed > span { display: flex; padding-bottom: .2rem; flex-direction: column; color: var(--brand-deep); font-weight: 700; line-height: 1.1; }
.package-speed > span b { font-weight: 700; letter-spacing: .01em; }
.package-speed small { margin-top: .15rem; color: var(--muted); font-size: .65rem; }
.package-price { display: flex; margin: -.35rem 0 1.15rem; align-items: baseline; gap: .45rem; color: var(--ink-soft); }
.package-price strong { color: var(--ink); font-size: 1.3rem; font-weight: 700; }
.package-price span { font-size: .72rem; }
.package-description { min-height: 4.8rem; color: var(--muted); font-size: .86rem; }
.package-card ul { display: grid; margin: 0 0 1.5rem; padding: 1.3rem 0 0; gap: .5rem; border-top: 1px solid var(--line); list-style: none; }
.package-card li { position: relative; padding-left: 1.35rem; color: var(--ink-soft); font-size: .82rem; }
.package-card li::before { position: absolute; left: 0; color: var(--brand); content: "✓"; font-weight: 700; }
.package-card .button-outline { margin-top: auto; align-self: stretch; }
.package-card.is-featured .package-speed strong { color: var(--brand-dark); }
.package-card.is-featured .package-card-label { color: var(--white); background: var(--action); }
.package-card.is-featured .button-outline { border-color: var(--action); color: var(--white); background: var(--action); }
.package-card.is-featured .button-outline:hover { background: var(--brand-deep); }
.offer-note { max-width: 59rem; margin: 2.5rem auto 0; color: var(--muted); font-size: .77rem; text-align: center; }
.offer-note a { color: var(--brand-deep); }

/* --- Obszar działania: prawdziwa mapa (jasna w dzień, nocna w trybie ciemnym) --- */
.coverage-section { color: var(--ink); background: var(--brand-pale); }
.coverage-grid { display: grid; grid-template-columns: minmax(18rem, .62fr) minmax(0, 1.05fr); gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.coverage-copy .eyebrow-light { color: var(--brand-deep); }
.coverage-copy h2 { padding-right: .1em; font-family: var(--font-display); font-style: italic; font-size: clamp(2rem, 3.6vw, 3.1rem); font-weight: 900; letter-spacing: -.02em; }
.coverage-copy > p:not(.eyebrow):not(.coverage-disclaimer) { max-width: 34rem; color: var(--muted); font-size: 1.02rem; }
.map-search { display: flex; margin-block: 1.9rem 1rem; flex-direction: column; gap: .45rem; }
.map-search > span { color: var(--ink); font-size: .8rem; font-weight: 700; letter-spacing: .05em; }
.map-search input { height: 3.4rem; }
.map-status { display: flex; min-height: 2.6rem; margin: 0 0 1.5rem; padding: .55rem .85rem; gap: .5rem; align-items: center; border-radius: var(--radius-sm); color: var(--ink-soft); background: var(--brand-soft); font-size: .84rem; }
.ac-wrap { position: relative; }
.ac-list { position: absolute; z-index: 40; top: calc(100% + .35rem); right: 0; left: 0; display: grid; margin: 0; padding: .4rem; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); box-shadow: 0 18px 44px rgba(15, 63, 88, .18); list-style: none; }
.ac-list li { display: flex; padding: .6rem .75rem; gap: .8rem; align-items: baseline; justify-content: space-between; border-radius: .55rem; cursor: pointer; }
.ac-list li strong { font-size: .92rem; font-weight: 700; }
.ac-list li small { color: var(--muted); font-size: .72rem; white-space: nowrap; }
.ac-list li.is-active,
.ac-list li:hover { background: var(--brand-soft); }
.map-status.is-match { color: #0b6b4d; background: #e4f8f2; }
.coverage-disclaimer { margin: 1.1rem 0 0; color: var(--muted); font-size: .74rem; }
.map-panel { position: relative; padding: clamp(.75rem, 2vw, 1.5rem); border: 1px solid var(--brand-border); border-radius: var(--radius-xl); background: radial-gradient(ellipse 60% 55% at 52% 55%, rgba(0, 173, 239, .12), rgba(255, 255, 255, 0) 70%), linear-gradient(180deg, #ffffff, #f3fafe); }
.cov-map { display: block; width: 100%; height: auto; max-height: 46rem; }
.cov-map text { font-family: var(--font-ui); font-size: 12px; font-weight: 600; fill: #33506a; paint-order: stroke; stroke: rgba(255, 255, 255, .92); stroke-width: 3px; stroke-linejoin: round; pointer-events: none; }
.cov-map .map-hub text { font-size: 13px; font-weight: 700; letter-spacing: .08em; fill: var(--ink); }
.map-powiat { fill: rgba(0, 173, 239, .13); stroke: rgba(0, 145, 200, .6); stroke-width: 1.3; stroke-linejoin: round; transition: fill var(--ease); }
.map-powiat:hover { fill: rgba(0, 173, 239, .2); }
.map-powiat-context { fill: rgba(15, 60, 90, .05); stroke: rgba(15, 60, 90, .16); stroke-width: 1; stroke-linejoin: round; }
.map-legend { display: flex; margin: .9rem 0 0; padding: 0 .35rem; gap: .5rem; align-items: center; flex-wrap: wrap; color: var(--muted); font-size: .74rem; }
.map-legend i { width: .85rem; height: .85rem; flex: 0 0 auto; border-radius: .25rem; }
.map-legend i + * { margin-right: .6rem; }
.map-legend .lg-active { border: 1px solid rgba(0, 145, 200, .6); background: rgba(0, 173, 239, .25); }
.map-legend .lg-context { margin-left: .6rem; border: 1px solid rgba(15, 60, 90, .3); background: rgba(15, 60, 90, .07); }
.cov-map .map-region-label { font-size: 12.5px; font-weight: 700; letter-spacing: .2em; fill: rgba(0, 123, 176, .4); stroke: none; }
.map-link { stroke: rgba(0, 150, 210, .25); stroke-width: 1; }
.map-link-glow { stroke: rgba(0, 150, 210, .09); stroke-width: 3.5; }
.map-node { cursor: pointer; }
.map-node circle { fill: #ffffff; stroke: #0090c9; stroke-width: 1.6; transition: fill var(--ease), stroke var(--ease); }
.map-node:hover circle,
.map-node:focus-visible circle { fill: var(--brand); stroke: #006f9f; }
.map-node:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.map-node.is-active circle { fill: var(--brand); stroke: #006f9f; }
.map-node.is-active text { fill: var(--ink); }
.map-hub circle.hub-core { fill: var(--brand); stroke: #ffffff; stroke-width: 2; }
.hub-ring { fill: none; stroke: rgba(0, 173, 239, .55); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: hub-pulse 2.8s cubic-bezier(.2, .6, .4, 1) infinite; }
@keyframes hub-pulse { 0% { transform: scale(.45); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }

/* --- Lokalnie + telewizja --- */
.local-section { background: var(--white); }
.local-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.local-card { position: relative; padding: 2rem; overflow: hidden; border: 1px solid var(--brand-border); border-radius: var(--radius-lg); background: var(--brand-pale); }
.local-card > svg { width: 2.6rem; height: 2.6rem; margin-bottom: 1.25rem; color: var(--brand-deep); }
.local-card h3 { margin-bottom: .7rem; font-size: 1.28rem; font-weight: 700; }
.local-card p { max-width: 30rem; color: var(--muted); font-size: .95rem; }
.local-card ul { display: grid; margin: 1.25rem 0 0; padding: 0; gap: .5rem; list-style: none; }
.local-card li { position: relative; padding-left: 1.4rem; color: var(--ink-soft); font-size: .88rem; }
.local-card li::before { position: absolute; left: 0; color: var(--brand); content: "✓"; font-weight: 700; }
.local-card .text-link { margin-top: 1.25rem; }
.local-card ul + p { margin: 1.15rem 0 0; font-size: .8rem; }
.local-note { max-width: 52rem; margin: 2rem auto 0; color: var(--muted); font-size: .77rem; text-align: center; }

/* --- Wi‑Fi explainer (pełny cyan) --- */
.wifi-explainer { color: var(--white); background: linear-gradient(160deg, #00a9ea, #0083b9); }
.wifi-grid { display: grid; grid-template-columns: .85fr 1.05fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.wifi-grid h2 { padding-right: .1em; color: var(--white); font-family: var(--font-display); font-style: italic; font-size: clamp(1.9rem, 3.3vw, 2.85rem); font-weight: 900; letter-spacing: -.02em; }
.wifi-grid > div:last-child > p:not(.eyebrow) { max-width: 44rem; color: rgba(255, 255, 255, .95); font-size: 1rem; font-weight: 600; }
.wifi-grid .eyebrow-light { color: rgba(255, 255, 255, .85); }
.wifi-grid ul { display: flex; margin: 2rem 0 0; padding: 0; gap: .6rem; flex-wrap: wrap; list-style: none; }
.wifi-grid li { padding: .55rem .85rem; border: 1px solid rgba(255, 255, 255, .6); border-radius: var(--radius-pill); font-size: .76rem; font-weight: 700; }
.wifi-visual { display: flex; min-height: 24rem; align-items: center; justify-content: center; }
.wifi-visual svg { width: min(30rem, 100%); height: auto; }

/* --- FAQ --- */
.faq-grid { display: grid; grid-template-columns: minmax(17rem, .6fr) minmax(0, 1fr); gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.faq-grid > div:first-child { position: sticky; top: 6.25rem; }
.faq-grid > div:first-child > p:not(.eyebrow) { color: var(--muted); }
.accordion details { border-top: 1px solid var(--line); }
.accordion details:last-child { border-bottom: 1px solid var(--line); }
.accordion summary { display: grid; padding: 1.35rem .2rem; grid-template-columns: 1fr 1.5rem; gap: 1rem; align-items: center; font-weight: 700; list-style: none; cursor: pointer; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary span { position: relative; width: 1.3rem; height: 1.3rem; }
.accordion summary span::before,
.accordion summary span::after { position: absolute; top: 50%; left: 50%; width: .85rem; height: 1.5px; content: ""; background: var(--brand-deep); transform: translate(-50%, -50%); transition: transform var(--ease); }
.accordion summary span::after { transform: translate(-50%, -50%) rotate(90deg); }
.accordion details[open] summary span::after { transform: translate(-50%, -50%) rotate(0); }
.accordion details p { max-width: 50rem; padding: 0 3rem 1.4rem .2rem; color: var(--muted); }

/* --- Pas kontaktu i stopka --- */
.contact-band { padding-block: 4rem; color: var(--white); background: var(--dark); }
.contact-band-inner { display: flex; align-items: end; justify-content: space-between; gap: 3rem; }
.contact-band h2 { margin: 0; color: var(--white); font-size: clamp(1.9rem, 3.6vw, 3rem); }
.contact-band p:last-child { margin: .7rem 0 0; color: rgba(255, 255, 255, .6); }
.contact-links { display: flex; flex-direction: column; align-items: flex-end; }
.contact-links a { padding-right: .1em; color: #79ddff; font-family: var(--font-display); font-style: italic; font-size: clamp(1.35rem, 2.6vw, 2.1rem); font-weight: 900; text-decoration: none; }

.site-footer { padding-block: 4rem 1.5rem; color: rgba(255, 255, 255, .72); background: #030a10; }
.footer-grid { display: grid; padding-bottom: 3rem; grid-template-columns: 1.25fr .7fr 1fr .8fr; gap: 3rem; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; }
.footer-grid img { width: 6rem; height: auto; margin-bottom: 1rem; }
.footer-grid p { color: var(--white); font-family: var(--font-display); font-style: italic; font-weight: 700; }
.footer-grid h2 { margin-bottom: 1rem; color: var(--white); font-size: .75rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.footer-grid a { margin-bottom: .55rem; color: rgba(255, 255, 255, .72); font-size: .82rem; text-decoration: none; }
.footer-grid a:hover { color: #78dcff; }
.footer-grid span { font-size: .8rem; }
.footer-bottom { display: flex; padding-top: 1.5rem; justify-content: space-between; gap: 2rem; color: rgba(255, 255, 255, .58); font-size: .7rem; }
.noscript-banner { position: fixed; z-index: 100; right: 1rem; bottom: 1rem; left: 1rem; padding: 1rem 1.25rem; border: 2px solid var(--brand); border-radius: var(--radius-md); background: var(--white); box-shadow: var(--shadow-active); text-align: center; }
.noscript-banner a { color: var(--brand-deep); }
.no-js .planner-section { display: none; }

@media (max-width: 70rem) {
    .header-inner { grid-template-columns: 1fr auto auto; gap: 1rem; }
    .nav-toggle { display: block; }
    .site-nav { position: absolute; top: var(--header-h); right: 1.5rem; left: 1.5rem; display: none; padding: 1rem; flex-direction: column; gap: .15rem; align-items: stretch; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); box-shadow: var(--shadow-card); }
    .site-nav.is-open { display: flex; }
    .site-nav a { padding: .75rem; }
    .site-nav a::after { display: none; }
    .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(18rem, .7fr); gap: 2.5rem; }
    .package-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .package-card { min-height: 0; }
    .package-card.is-featured { transform: none; }
    .package-card.is-featured:hover { transform: translateY(-3px); }
    .answer-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .result-grid { grid-template-columns: 1fr .62fr; }
    .coverage-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 56rem) {
    .container { width: min(calc(100% - 2.5rem), var(--container)); }
    .hero { margin-inline: 1.25rem; }
    .hero-grid { grid-template-columns: 1fr; }
    .signal-card { max-width: 34rem; }
    .trust-grid { grid-template-columns: 1fr; }
    .trust-grid p { padding: 1rem 0; border-top: 1px solid var(--line); border-left: 0; }
    .trust-grid p:first-child { border-top: 0; }
    .split-heading { grid-template-columns: 1fr; gap: 1.5rem; }
    .process-grid { grid-template-columns: 1fr; }
    .process-grid li { min-height: 12rem; }
    .process-grid span { margin-bottom: 1.75rem; }
    .planner-shell,
    .lead-shell { grid-template-columns: 1fr; gap: 2rem; }
    .planner-intro,
    .lead-intro { position: static; }
    .result-grid { grid-template-columns: 1fr; }
    .comparison-grid { grid-template-columns: 1fr; }
    .result-cta { align-items: stretch; flex-direction: column; }
    .result-cta .button { width: 100%; }
    .local-grid { grid-template-columns: 1fr; }
    .wifi-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .wifi-visual { min-height: 0; }
    .faq-grid { grid-template-columns: 1fr; gap: 2rem; }
    .faq-grid > div:first-child { position: static; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 47.99rem) {
    html { scroll-padding-top: 4.75rem; }
    :root { --header-h: 4.25rem; }
    body { line-height: 1.58; }
    .container { width: min(calc(100% - 2rem), var(--container)); }
    .section { padding-block: 4rem; }
    .site-nav { top: var(--header-h); right: 1rem; left: 1rem; }
    .brand img { width: 4rem; height: 2.6rem; }
    .header-cta { min-height: 2.6rem; padding: .5rem .78rem; }
    .header-cta .cta-num { display: none; }
    .hero { min-height: auto; margin: 0; border-radius: 0; }
    .hero::before { background: linear-gradient(90deg, rgba(3, 12, 20, .94), rgba(3, 12, 20, .65)); }
    .hero-grid { width: min(calc(100% - 2.5rem), var(--container)); min-height: 0; padding-block: 2.9rem 2.6rem; gap: 1.6rem; }
    .eyebrow-hero { display: none; }
    .hero h1 { font-size: clamp(2.1rem, 9.5vw, 3.2rem); }
    .hero-lead { margin-bottom: 1.4rem; font-size: 1rem; }
    /* Na telefonie jedynym CTA jest karta sprawdzania miejscowości — bez dublowania przycisków. */
    .hero-actions { display: none; }
    .hero-facts { margin-bottom: .4rem; gap: .55rem 1rem; font-size: .75rem; }
    .hero-check { padding: 1.25rem; }
    .fiber-lines { width: 70%; }
    .trust-strip { padding-top: 1rem; }
    .planner-card { min-height: 0; margin-inline: -1rem; padding: 1.4rem 1rem; border-right: 0; border-left: 0; border-radius: 0; box-shadow: none; }
    .answer-grid-2,
    .answer-grid-3,
    .answer-grid-4 { grid-template-columns: 1fr; }
    .answer-card { min-height: 4.4rem; }
    .planner-controls { position: sticky; z-index: 5; bottom: 0; margin: 1.5rem -1rem -1.4rem; padding: .8rem 1rem; background: rgba(255, 255, 255, .95); backdrop-filter: blur(10px); }
    .planner-controls .button { min-height: 3rem; }
    .result-heading { align-items: flex-start; flex-direction: column; }
    .package-result { margin-inline: -1rem; padding: 1.4rem 1rem; border-right: 0; border-left: 0; border-radius: 0; }
    .package-result-head { align-items: flex-start; flex-direction: column; }
    .result-speed { max-width: none; grid-template-columns: 1fr; gap: .9rem; }
    .result-speed > div { min-width: 0; gap: .7rem; }
    .speed-chip { width: 2.5rem; height: 2.5rem; }
    .speed-chip svg { width: 1.15rem; height: 1.15rem; }
    .result-speed strong { font-size: clamp(2.6rem, 13vw, 3.6rem); }
    .result-speed > div > span { font-size: .75rem; }
    .result-speed i { width: 100%; height: 1px; }
    .wifi-result { padding: 1.4rem; }
    .wifi-art { margin: -1.4rem -1.4rem 1.5rem; }
    .comparison-wrap { padding: 1.2rem; }
    .comparison-heading { flex-direction: column; gap: .5rem; }
    .result-cta { margin-inline: -1rem; border-radius: 0; }
    .lead-form { margin-inline: -1rem; padding: 1.4rem 1rem; border-right: 0; border-left: 0; border-radius: 0; box-shadow: none; }
    .two-cols,
    .address-grid { grid-template-columns: 1fr; }
    .field-city,
    .field-street { grid-column: auto; }
    .legal-box { padding: 1rem; }
    .check-row { grid-template-columns: 1.25rem 1fr; }
    .package-grid { display: flex; width: calc(100% + 1rem); margin-right: -1rem; padding: .5rem 1rem 1.5rem 0; gap: .8rem; overflow-x: auto; scroll-padding-left: 1rem; scroll-snap-type: x mandatory; }
    .package-card { min-width: min(20rem, 84vw); scroll-snap-align: start; }
    .coverage-grid { gap: 2rem; }
    .map-panel { margin-inline: -.35rem; }
    .cov-map text { font-size: 13px; }
    .cov-map .lbl-minor text { display: none; }
    .contact-band-inner { align-items: flex-start; flex-direction: column; }
    .contact-links { align-items: flex-start; }
    .footer-grid { grid-template-columns: 1fr; gap: 2.25rem; }
    .footer-bottom { flex-direction: column; gap: .5rem; }
}

@media (max-width: 23.5rem) {
    .hero h1 { font-size: 2.2rem; }
    .package-card { min-width: 88vw; }
}

@media (min-width: 100rem) {
    :root { --container: 94rem; }
    .hero { min-height: 47rem; }
    .hero-grid { padding-inline: 2rem; }
}

/* Motyw ciemny sterowany atrybutem html[data-theme] — JS rozstrzyga auto/system,
   przełącznik w headerze pozwala wymusić jasny lub ciemny. */
html[data-theme="light"] { color-scheme: light; }
html[data-theme="dark"] { color-scheme: dark; --line: #22364a; --brand-border: #1d3c52; --surface: #0e1d2c; --muted: #8aa0b6; --ink-soft: #b7c6d6; --ink: #e6eef5; --brand-deep: #3fbdf2; --brand-dark: #4fc4f0; --shadow-card: 0 10px 34px rgba(0, 0, 0, .35); --shadow-active: 0 16px 48px rgba(0, 173, 239, .12); }
html[data-theme="dark"] body { color: #e6eef5; background: #071522; }
html[data-theme="dark"] ::selection { color: #06141f; background: #7edcff; }
html[data-theme="dark"] .site-header { background: rgba(7, 21, 34, .94); }
html[data-theme="dark"] .site-header.is-sticky { box-shadow: 0 1px 0 #16293a; }
html[data-theme="dark"] .site-nav { border-color: transparent; background: transparent; }
html[data-theme="dark"] .site-nav a { color: #dbe7f1; }
html[data-theme="dark"] .nav-toggle { border-color: #22364a; color: #cfe0ee; background: #0c1f30; }
html[data-theme="dark"] .theme-toggle { border-color: #22364a; color: #cfe0ee; background: #0c1f30; }
html[data-theme="dark"] .theme-toggle:hover { border-color: #3fbdf2; color: #7edcff; }
html[data-theme="dark"] .section-soft,
html[data-theme="dark"] .planner-section,
html[data-theme="dark"] .result-section,
html[data-theme="dark"] .success-section { background: #0a1a29; }
html[data-theme="dark"] .packages-section,
html[data-theme="dark"] .local-section,
html[data-theme="dark"] .lead-section { background: #071522; }
html[data-theme="dark"] .trust-ico { background: #0e2334; }
html[data-theme="dark"] .process-grid li,
html[data-theme="dark"] .planner-card,
html[data-theme="dark"] .package-result,
html[data-theme="dark"] .wifi-result,
html[data-theme="dark"] .comparison-wrap,
html[data-theme="dark"] .comparison-card,
html[data-theme="dark"] .package-card,
html[data-theme="dark"] .lead-form,
html[data-theme="dark"] .success-card,
html[data-theme="dark"] .answer-card { background: #0c1f30; }
html[data-theme="dark"] .local-card { background: #0e2334; }
html[data-theme="dark"] .process-grid li::after { box-shadow: 0 0 0 2.5rem #0c1f30, 0 0 0 2.6rem var(--brand-border); }
html[data-theme="dark"] .process-grid span,
html[data-theme="dark"] .form-section-heading > span,
html[data-theme="dark"] .q-icon { background: #123349; }
html[data-theme="dark"] .answer-card:has(input:checked) { background: #0e2a3d; }
html[data-theme="dark"] .answer-marker { border-color: #3f5a70; background: #0c1f30; }
html[data-theme="dark"] input,
html[data-theme="dark"] select { border-color: #2b4257; color: #e6eef5; background: #0c1f30; }
html[data-theme="dark"] input::placeholder { color: rgba(230, 238, 245, .38); }
html[data-theme="dark"] input:hover,
html[data-theme="dark"] select:hover { border-color: #3f6079; }
html[data-theme="dark"] .optional-block { border-color: #2b4257; }
html[data-theme="dark"] .legal-box { background: #0e1d2c; }
html[data-theme="dark"] .headroom-note,
html[data-theme="dark"] .lead-summary,
html[data-theme="dark"] .lead-tv-hint,
html[data-theme="dark"] .check-row-tv,
html[data-theme="dark"] .comparison-card.is-current { background: #0e2a3d; }
html[data-theme="dark"] .headroom-note > span { background: #0c1f30; }
html[data-theme="dark"] .package-badge,
html[data-theme="dark"] .package-card-label { color: #7edcff; background: #123349; }
html[data-theme="dark"] .package-card.is-featured .package-card-label { color: var(--white); background: var(--action); }
html[data-theme="dark"] .button-outline { border-color: var(--brand); color: #7edcff; background: transparent; }
html[data-theme="dark"] .button-outline:hover { color: #a5e6ff; background: #0e2a3d; }
html[data-theme="dark"] .button:hover { border-color: #0c85c4; background: #0c85c4; }
html[data-theme="dark"] progress,
html[data-theme="dark"] progress::-webkit-progress-bar { background: #123349; }
html[data-theme="dark"] .privacy-note span,
html[data-theme="dark"] .success-mark { background: #0d2b22; }
html[data-theme="dark"] .form-message { color: #ff9b93; }
html[data-theme="dark"] .form-message.is-success { color: #7fe0c0; }
html[data-theme="dark"] .ac-list { border-color: #22364a; background: #0c1f30; box-shadow: 0 18px 44px rgba(0, 0, 0, .55); }
html[data-theme="dark"] .ac-list li strong { color: #e6eef5; }
html[data-theme="dark"] .ac-list li.is-active,
html[data-theme="dark"] .ac-list li:hover { background: #0e2a3d; }
html[data-theme="dark"] .noscript-banner { background: #0c1f30; }
html[data-theme="dark"] .skip-link { background: #00263c; }
html[data-theme="dark"] .contact-band { border-top: 1px solid #16293a; background: #0c1f30; }

/* Mapa: nocna odsłona w trybie ciemnym. */
html[data-theme="dark"] .coverage-section { color: var(--white); background: var(--night); }
html[data-theme="dark"] .coverage-copy .eyebrow-light { color: #8bdfff; }
html[data-theme="dark"] .coverage-copy h2 { color: var(--white); }
html[data-theme="dark"] .coverage-copy > p:not(.eyebrow):not(.coverage-disclaimer) { color: rgba(255, 255, 255, .74); }
html[data-theme="dark"] .map-search > span { color: rgba(255, 255, 255, .78); }
html[data-theme="dark"] .map-search input { border-color: rgba(143, 222, 252, .4); color: var(--white); background: rgba(255, 255, 255, .06); }
html[data-theme="dark"] .map-search input::placeholder { color: rgba(255, 255, 255, .38); }
html[data-theme="dark"] .map-search input:hover { border-color: rgba(143, 222, 252, .65); }
html[data-theme="dark"] .map-status { color: rgba(255, 255, 255, .72); background: rgba(0, 173, 239, .1); }
html[data-theme="dark"] .map-status.is-match { color: #a8ecd2; background: rgba(63, 224, 175, .12); }
html[data-theme="dark"] .coverage-disclaimer { color: rgba(255, 255, 255, .5); }
html[data-theme="dark"] .map-panel { border-color: rgba(143, 222, 252, .22); background: radial-gradient(ellipse 60% 55% at 52% 55%, rgba(0, 90, 140, .35), rgba(5, 16, 25, 0) 70%), linear-gradient(180deg, rgba(8, 26, 40, .6), rgba(5, 16, 25, .9)); }
html[data-theme="dark"] .cov-map text { fill: rgba(255, 255, 255, .8); stroke: rgba(4, 14, 22, .92); }
html[data-theme="dark"] .cov-map .map-hub text { fill: #cfeeff; }
html[data-theme="dark"] .map-powiat { fill: rgba(0, 116, 172, .18); stroke: rgba(79, 196, 240, .55); }
html[data-theme="dark"] .map-powiat:hover { fill: rgba(0, 140, 205, .24); }
html[data-theme="dark"] .map-powiat-context { fill: rgba(148, 190, 214, .05); stroke: rgba(148, 190, 214, .16); }
html[data-theme="dark"] .map-legend { color: rgba(255, 255, 255, .55); }
html[data-theme="dark"] .map-legend .lg-active { border-color: rgba(79, 196, 240, .6); background: rgba(0, 116, 172, .35); }
html[data-theme="dark"] .map-legend .lg-context { border-color: rgba(148, 190, 214, .3); background: rgba(148, 190, 214, .08); }
html[data-theme="dark"] .cov-map .map-region-label { fill: rgba(159, 228, 255, .4); }
html[data-theme="dark"] .map-link { stroke: rgba(0, 173, 239, .24); }
html[data-theme="dark"] .map-link-glow { stroke: rgba(0, 173, 239, .08); }
html[data-theme="dark"] .map-node circle { fill: #0d2b40; stroke: #4fc4f0; }
html[data-theme="dark"] .map-node:hover circle,
html[data-theme="dark"] .map-node:focus-visible circle { fill: var(--brand); stroke: #bfeeff; }
html[data-theme="dark"] .map-node.is-active circle { fill: var(--brand); stroke: var(--white); }
html[data-theme="dark"] .map-node.is-active text { fill: var(--white); }
html[data-theme="dark"] .map-hub circle.hub-core { stroke: #dff6ff; }
html[data-theme="dark"] .coverage-section .ac-list { border-color: rgba(143, 222, 252, .35); background: #0b2436; }

@media (max-width: 70rem) {
    html[data-theme="dark"] .site-nav { border-color: #22364a; background: #0c1f30; }
}

@media (max-width: 47.99rem) {
    html[data-theme="dark"] .planner-controls { background: rgba(7, 21, 34, .95); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *,
    *::before,
    *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .hub-ring { animation: none; opacity: 0; }
}

@media print {
    .site-header,
    .hero,
    .trust-strip,
    .planner-section,
    .lead-section,
    .packages-section,
    .coverage-section,
    .local-section,
    .wifi-explainer,
    .faq-section,
    .contact-band,
    .site-footer,
    .result-cta,
    .text-button { display: none !important; }
    .result-section[hidden] { display: none !important; }
    .result-section { display: block !important; padding: 0; background: white; }
    .package-result,
    .wifi-result { box-shadow: none; break-inside: avoid; }
}
