/* NexToWEB – arkusz stylów */

:root {
  --ink: #0b1020;
  --ink-2: #131a33;
  --ink-3: #1d2647;
  --text: #1a2034;
  --muted: #5a6378;
  --muted-light: #a7b0c8;
  --bg: #ffffff;
  --bg-soft: #f4f6fb;
  --bg-tint: #f0eeff;
  --line: #e3e7f0;
  --brand: #5b4bff;
  --brand-dark: #4535e6;
  --brand-2: #14d2b4;
  --accent: #ffb23e;
  --ok: #12a37f;
  --grad: linear-gradient(120deg, #6d5cff 0%, #3f8cff 50%, #14d2b4 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(16, 24, 48, .05), 0 8px 24px rgba(16, 24, 48, .07);
  --shadow-lg: 0 20px 60px rgba(16, 24, 48, .16);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 72px;
  --topbar-h: 34px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }
h1, h2, h3, h4 { line-height: 1.18; margin: 0 0 .6em; color: var(--ink); letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.55rem); font-weight: 800; }
h3 { font-size: 1.22rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--brand-2); outline-offset: 2px; border-radius: 6px; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 12px; }
.ico { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.18em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.stars .ico { stroke: none; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mt { margin-top: 1.6rem; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* ---------- Przyciski ---------- */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .9em 1.5em; border-radius: 999px; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s; font-family: inherit; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 24px rgba(91, 75, 255, .35); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; box-shadow: 0 12px 30px rgba(91, 75, 255, .45); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { color: var(--brand); }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .3); background: transparent; }
.btn-outline-light:hover { color: #fff; border-color: #fff; }
.btn-sm { padding: .6em 1.1em; font-size: .92rem; }
.btn-lg { padding: 1.05em 1.8em; font-size: 1.06rem; }
.btn-block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-arrow { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: .4em; }
.link-arrow .ico { transition: transform .2s; }
.link-arrow:hover .ico { transform: translateX(4px); }

/* ---------- Nagłówek ---------- */
.site-header { position: sticky; top: 0; z-index: 50; }
.topbar { background: var(--ink); color: var(--muted-light); font-size: .83rem; }
.topbar-inner { display: flex; gap: 26px; justify-content: flex-end; padding: 7px 0; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; color: inherit; text-decoration: none; }
a.topbar-item:hover { color: #fff; }
.topbar-item:first-child { margin-right: auto; }
.navbar { background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.is-scrolled .navbar { box-shadow: 0 6px 24px rgba(16, 24, 48, .08); }
.navbar-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo-mark { width: 38px; height: 38px; }
.logo-text { font-weight: 800; font-size: 1.32rem; letter-spacing: -.03em; }
.logo-text b { font-weight: 800; color: var(--brand); }
.logo-light { color: #fff; }
.logo-light .logo-text b { color: var(--brand-2); }

.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a { display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; color: var(--text); font-weight: 600; text-decoration: none; border-radius: 10px; font-size: .97rem; white-space: nowrap; }
.main-nav > ul > li > a:hover, .main-nav > ul > li > a[aria-current], .main-nav > ul > li > a[data-active] { color: var(--brand); background: var(--bg-tint); }
.chevron { width: .9em; height: .9em; transition: transform .2s; }
.sub-toggle { display: none; }
.submenu { position: absolute; top: calc(100% + 8px); left: -20px; width: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .18s ease; }
.submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-sub:hover .submenu, .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: none; }
.has-sub:hover .chevron { transform: rotate(180deg); }
.submenu a { display: flex; gap: 12px; padding: 12px; border-radius: 12px; text-decoration: none; color: var(--text); align-items: flex-start; }
.submenu a:hover, .submenu a[aria-current] { background: var(--bg-soft); }
.submenu a > .ico { width: 38px; height: 38px; padding: 9px; border-radius: 10px; background: var(--bg-tint); color: var(--brand); }
.submenu strong { display: block; font-size: .96rem; color: var(--ink); }
.submenu small { display: block; color: var(--muted); font-size: .83rem; line-height: 1.4; }
.nav-mobile-cta { display: none; }
.navbar-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; text-decoration: none; white-space: nowrap; }
.nav-phone .ico { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--bg-tint); color: var(--brand); }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; padding: 0 11px; flex-direction: column; justify-content: center; gap: 5px; }
.burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Okruszki ---------- */
.crumbs { background: var(--ink); color: var(--muted-light); font-size: .85rem; padding: 14px 0 0; }
.crumbs a { color: var(--muted-light); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs .sep { margin: 0 8px; opacity: .5; }
.crumbs [aria-current] { color: #fff; }

/* ---------- Sekcje ---------- */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-sm { padding: clamp(44px, 6vw, 70px) 0; }
.section-soft { background: var(--bg-soft); }
.section-tint { background: linear-gradient(180deg, var(--bg-tint), #fff); }
.section-dark { background: var(--ink); color: #c9d0e3; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-dark .section-head p { color: var(--muted-light); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--grad); border-radius: 2px; }
.section-dark .eyebrow, .page-hero .eyebrow, .hero .eyebrow { color: var(--brand-2); }
.lead { font-size: clamp(1.06rem, 1.6vw, 1.22rem); color: var(--muted); }

.grid-2, .grid-3, .grid-4 { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.reverse > :first-child { order: 2; }

/* ---------- Hero strony głównej ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #c9d0e3; padding: clamp(56px, 8vw, 100px) 0 clamp(64px, 9vw, 110px); }
.hero::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 820px; height: 820px; background: radial-gradient(circle, rgba(109, 92, 255, .45), transparent 62%); pointer-events: none; }
.hero::after { content: ""; position: absolute; left: -200px; bottom: -380px; width: 700px; height: 700px; background: radial-gradient(circle, rgba(20, 210, 180, .25), transparent 62%); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr 1fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; }
.hero .lead { color: #b8c0d8; max-width: 580px; }
.hero-points { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; gap: 10px; }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; color: #dfe4f2; }
.hero-points .ico { color: var(--brand-2); margin-top: 4px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 34px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .1); }
.hero-trust div { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: #b8c0d8; line-height: 1.35; }
.hero-trust strong { color: #fff; display: block; font-size: 1rem; }
.stars { color: var(--accent); display: inline-flex; gap: 2px; }
.stars .ico { width: 1em; height: 1em; }

/* Makieta przeglądarki zbudowana w CSS */
.mock { position: relative; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; color: var(--text); }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: #eef1f7; border-bottom: 1px solid var(--line); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff6b6b; }
.mock-bar i:nth-child(2) { background: #ffc94a; }
.mock-bar i:nth-child(3) { background: #3ed39a; }
.mock-url { margin-left: 12px; flex: 1; background: #fff; border-radius: 8px; padding: 4px 12px; font-size: .74rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-body { padding: 22px; }
.mock-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.mock-logo { width: 74px; height: 12px; border-radius: 6px; background: var(--ink); }
.mock-links { display: flex; gap: 8px; }
.mock-links i { width: 32px; height: 7px; border-radius: 4px; background: #d8dce8; }
.mock-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; align-items: center; }
.mock-line { height: 11px; border-radius: 6px; background: #dfe3ee; margin-bottom: 9px; }
.mock-line.h { height: 18px; background: var(--ink); width: 92%; }
.mock-line.h2 { height: 18px; background: var(--ink); width: 70%; margin-bottom: 16px; }
.mock-line.s { width: 80%; }
.mock-btn { display: inline-block; width: 92px; height: 26px; border-radius: 999px; background: var(--brand); margin-top: 8px; }
.mock-img { aspect-ratio: 1 / 1; border-radius: 14px; background: var(--grad); opacity: .9; }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.mock-cards i { height: 54px; border-radius: 10px; background: var(--bg-soft); border: 1px solid var(--line); }
.hero-visual { position: relative; }
.hero-visual .mock { transform: perspective(1400px) rotateY(-8deg) rotateX(3deg); }
.float-card { position: absolute; display: flex; align-items: center; gap: 12px; background: #fff; color: var(--text); border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow-lg); font-size: .86rem; line-height: 1.35; animation: float 6s ease-in-out infinite; }
.float-card strong { display: block; color: var(--ink); font-size: .92rem; }
.float-card .ico { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: #e5fbf6; color: var(--ok); }
.float-card.one { left: -34px; bottom: 40px; }
.float-card.two { right: -18px; top: -22px; animation-delay: -3s; }
.float-card.two .ico { background: var(--bg-tint); color: var(--brand); }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---------- Hero podstron ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--ink); color: #b8c0d8; padding: clamp(40px, 6vw, 70px) 0 clamp(56px, 8vw, 90px); }
.page-hero::before { content: ""; position: absolute; right: -200px; top: -300px; width: 700px; height: 700px; background: radial-gradient(circle, rgba(109, 92, 255, .4), transparent 62%); }
.page-hero .container, .page-hero .narrow { position: relative; }
.page-hero h1 { color: #fff; max-width: 900px; font-size: clamp(2rem, 4.2vw, 3.2rem); }
.page-hero .lead { color: #b8c0d8; max-width: 720px; }
.page-hero .btn-row { margin-top: 28px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; font-size: .92rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta .ico { color: var(--brand-2); }

/* ---------- Karty ---------- */
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s, border-color .2s; }
.card h3 { margin-bottom: .45em; }
.card p { color: var(--muted); margin-bottom: 0; }
.card p + p, .card p + .link-arrow, .card .check-list + .link-arrow { margin-top: 16px; }
a.card, .card-link { text-decoration: none; color: inherit; display: block; }
a.card:hover, .card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #d2d0ff; }
.card-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 14px; background: var(--bg-tint); color: var(--brand); margin-bottom: 20px; }
.card-icon .ico { width: 26px; height: 26px; }
.card-icon.teal { background: #e3fbf6; color: #0c9c85; }
.card-icon.amber { background: #fff4e0; color: #c97a00; }
.card .link-arrow { margin-top: 18px; }
.card-dark { background: var(--ink-2); border-color: var(--ink-3); color: #c9d0e3; box-shadow: none; }
.card-dark h3 { color: #fff; }
.card-dark p { color: var(--muted-light); }
.card-dark .card-icon { background: rgba(109, 92, 255, .18); color: #a99fff; }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--bg-tint); color: var(--brand); letter-spacing: .02em; }
.tag.teal { background: #e3fbf6; color: #0c8a76; }
.tag.amber { background: #fff4e0; color: #a86500; }

.check-list { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 32px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: #e3fbf6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c9c85' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.x-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.x-list li { position: relative; padding-left: 32px; color: var(--muted); }
.x-list li::before { content: "×"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: #ffe9e9; color: #d64545; font-weight: 800; display: grid; place-items: center; font-size: 15px; line-height: 1; }

/* ---------- Wyróżniki / liczby ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.stat strong { display: block; font-size: 2.3rem; font-weight: 800; letter-spacing: -.03em; color: var(--ink); line-height: 1.1; margin-bottom: 6px; }
.stat span { color: var(--muted); font-size: .95rem; }
.section-dark .stat { background: var(--ink-2); border-color: var(--ink-3); }
.section-dark .stat strong { color: #fff; }
.section-dark .stat span { color: var(--muted-light); }

/* ---------- Porównanie ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare .card.good { border: 2px solid var(--brand); }
.compare h3 { display: flex; gap: 10px; align-items: center; }

/* ---------- Proces ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font-size: 2.4rem; font-weight: 800; line-height: 1; margin-bottom: 18px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { font-size: 1.1rem; }
.step p { color: var(--muted); margin: 0; font-size: .96rem; }
.step .when { display: block; margin-top: 12px; font-size: .82rem; font-weight: 700; color: var(--brand); }
.section-dark .step { background: var(--ink-2); border-color: var(--ink-3); }
.section-dark .step p { color: var(--muted-light); }

/* ---------- Cennik ---------- */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.pricing.three { grid-template-columns: repeat(3, 1fr); }
.price-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow); }
.price-card.featured { border: 2px solid var(--brand); box-shadow: 0 24px 60px rgba(91, 75, 255, .2); }
.price-card .badge { position: absolute; top: -14px; left: 26px; background: var(--brand); color: #fff; font-size: .75rem; font-weight: 800; padding: 6px 12px; border-radius: 999px; letter-spacing: .04em; }
.price-card h3 { margin-bottom: 4px; }
.price-card .for { color: var(--muted); font-size: .92rem; margin-bottom: 18px; min-height: 2.9em; }
.price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; color: var(--ink); }
.price small { font-size: .95rem; color: var(--muted); font-weight: 600; }
.price strong { font-size: 2.3rem; font-weight: 800; letter-spacing: -.03em; }
.price-note { font-size: .84rem; color: var(--muted); margin-bottom: 20px; }
.price-card .check-list { font-size: .95rem; flex: 1; margin-bottom: 24px; }
.price-card .btn { margin-top: auto; }
.addons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
.addon { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; border-bottom: 1px dashed var(--line); }
.addon span { color: var(--text); }
.addon strong { white-space: nowrap; color: var(--ink); }

/* Kalkulator */
.calc { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
.calc-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.calc-box fieldset { border: 0; padding: 0; margin: 0 0 26px; }
.calc-box legend { font-weight: 800; color: var(--ink); margin-bottom: 12px; }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice label, .opt label { display: block; padding: 14px; border: 2px solid var(--line); border-radius: 12px; cursor: pointer; font-weight: 600; line-height: 1.35; transition: border-color .15s, background .15s; }
.choice label small { display: block; color: var(--muted); font-weight: 500; font-size: .83rem; }
.choice input:checked + label, .opt input:checked + label { border-color: var(--brand); background: var(--bg-tint); }
.choice input:focus-visible + label, .opt input:focus-visible + label { outline: 3px solid var(--brand-2); outline-offset: 2px; }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; }
.opt label { display: flex; justify-content: space-between; gap: 10px; font-size: .95rem; padding: 12px 14px; }
.opt label em { font-style: normal; color: var(--muted); font-weight: 500; white-space: nowrap; }
.range-row { display: flex; align-items: center; gap: 16px; }
.range-row input { flex: 1; accent-color: var(--brand); }
.range-row output { min-width: 3ch; font-weight: 800; font-size: 1.2rem; color: var(--ink); }
.calc-result { position: sticky; top: 110px; background: var(--ink); color: #c9d0e3; border-radius: var(--radius); padding: 32px; }
.calc-result h3 { color: #fff; }
.calc-total { font-size: 2.6rem; font-weight: 800; color: #fff; letter-spacing: -.03em; line-height: 1.1; margin: 8px 0 4px; }
.calc-result ul { list-style: none; padding: 0; margin: 20px 0; font-size: .93rem; display: grid; gap: 8px; }
.calc-result li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--ink-3); padding-bottom: 8px; }

/* ---------- Opinie ---------- */
.rating-box { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.rating-big { font-size: 3.4rem; font-weight: 800; color: var(--ink); letter-spacing: -.04em; line-height: 1; }
.rating-box .stars .ico { width: 1.4em; height: 1.4em; }
.testimonial { display: flex; flex-direction: column; gap: 16px; }
.testimonial blockquote { margin: 0; font-size: 1.02rem; color: var(--text); }
.testimonial footer { display: flex; align-items: center; gap: 12px; margin-top: auto; font-size: .92rem; color: var(--muted); }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--grad); }
.todo { outline: 2px dashed #f0a020; outline-offset: 4px; }
.todo-note { display: inline-block; font-size: .75rem; font-weight: 700; background: #fff4e0; color: #8a5300; padding: 3px 9px; border-radius: 6px; }

/* ---------- Realizacje ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 36px; }
.filter { border: 1px solid var(--line); background: #fff; padding: 9px 18px; border-radius: 999px; font: inherit; font-weight: 600; font-size: .93rem; cursor: pointer; color: var(--text); }
.filter.is-on, .filter:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.work:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.work[hidden] { display: none; }
.work-thumb { aspect-ratio: 16 / 10; padding: 22px 22px 0; display: flex; align-items: flex-end; }
.work-thumb .mock { width: 100%; border-radius: 10px 10px 0 0; box-shadow: 0 -4px 30px rgba(0, 0, 0, .15); }
.work-thumb .mock-body { padding: 14px; }
.work-thumb .mock-nav { margin-bottom: 14px; }
.work-thumb .mock-line { height: 8px; margin-bottom: 6px; }
.work-thumb .mock-line.h { height: 13px; }
.work-thumb .mock-btn { width: 60px; height: 18px; }
.work-body { padding: 22px 24px 26px; }
.work-body h3 { font-size: 1.08rem; margin: 10px 0 6px; }
.work-body p { color: var(--muted); font-size: .93rem; margin: 0; }
.t1 { background: linear-gradient(135deg, #2b2f77, #6d5cff); }
.t2 { background: linear-gradient(135deg, #0f766e, #14d2b4); }
.t3 { background: linear-gradient(135deg, #b45309, #ffb23e); }
.t4 { background: linear-gradient(135deg, #9d174d, #f472b6); }
.t5 { background: linear-gradient(135deg, #1e3a8a, #3f8cff); }
.t6 { background: linear-gradient(135deg, #14532d, #4ade80); }
.t1 .mock-img, .t1 .mock-btn { background: #6d5cff; }
.t2 .mock-img, .t2 .mock-btn { background: #14b8a6; }
.t3 .mock-img, .t3 .mock-btn { background: #f59e0b; }
.t4 .mock-img, .t4 .mock-btn { background: #ec4899; }
.t5 .mock-img, .t5 .mock-btn { background: #3b82f6; }
.t6 .mock-img, .t6 .mock-btn { background: #22c55e; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: #cfcaff; box-shadow: var(--shadow); }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; font-weight: 700; color: var(--ink); position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--bg-tint); color: var(--brand); display: grid; place-items: center; font-size: 1.2rem; font-weight: 700; transition: transform .2s; }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { padding: 0 24px 22px; color: var(--muted); }
.faq-a p:last-child { margin-bottom: 0; }
.faq-group { margin-bottom: 48px; }
.faq-group h2 { font-size: 1.5rem; }

/* ---------- Obszar działania ---------- */
.areas { display: flex; flex-wrap: wrap; gap: 10px; }
.area { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--text); font-weight: 600; transition: all .15s; }
.area .ico { color: var(--brand); }
a.area:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.area small { color: var(--muted); font-weight: 500; }
.section-dark .area { background: var(--ink-2); border-color: var(--ink-3); color: #fff; }
.map-frame { border: 0; width: 100%; height: 100%; min-height: 360px; border-radius: var(--radius); background: var(--bg-soft); }
.radar { position: relative; aspect-ratio: 1; max-width: 460px; margin: 0 auto; }
.radar svg { width: 100%; height: 100%; }

/* ---------- Pasek CTA ---------- */
.cta-band { padding: clamp(56px, 8vw, 90px) 0; }
.cta-box { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; background: var(--ink); color: #b8c0d8; border-radius: 28px; padding: clamp(32px, 5vw, 60px); }
.cta-box::before { content: ""; position: absolute; right: -120px; top: -160px; width: 480px; height: 480px; background: radial-gradient(circle, rgba(109, 92, 255, .55), transparent 65%); }
.cta-box > * { position: relative; }
.cta-box h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.cta-contact { display: grid; gap: 12px; }
.cta-contact a.cta-line { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #fff; text-decoration: none; transition: background .2s; }
.cta-contact a.cta-line:hover { background: rgba(255, 255, 255, .12); }
.cta-line .ico { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: var(--brand); }
.cta-line small { display: block; color: var(--muted-light); font-size: .82rem; }
.cta-line strong { font-size: 1.05rem; }

/* ---------- Formularz ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-lg); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .92rem; color: var(--ink); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px; background: #fbfcfe; color: var(--text); transition: border-color .15s, box-shadow .15s; width: 100%; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(91, 75, 255, .15); background: #fff; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--muted); }
.consent input { margin-top: 4px; accent-color: var(--brand); width: 18px; height: 18px; flex: none; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; justify-content: space-between; margin-top: 8px; }
.form-msg { display: none; padding: 14px 16px; border-radius: 12px; font-weight: 600; margin-top: 16px; }
.form-msg.ok { display: block; background: #e3fbf6; color: #0b6b5b; }
.form-msg.err { display: block; background: #ffe9e9; color: #a32727; }
.hp { position: absolute; left: -9999px; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ico { width: 46px; height: 46px; padding: 12px; border-radius: 14px; background: var(--bg-tint); color: var(--brand); }
.contact-list small { display: block; color: var(--muted); font-size: .85rem; }
.contact-list a, .contact-list strong { color: var(--ink); font-weight: 700; text-decoration: none; font-size: 1.05rem; }

/* ---------- Treści artykułów ---------- */
.prose { font-size: 1.06rem; }
.prose h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.6em; font-size: .97rem; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.prose th { background: var(--bg-soft); color: var(--ink); }
.table-wrap { overflow-x: auto; }
.callout { background: var(--bg-tint); border-left: 4px solid var(--brand); padding: 18px 22px; border-radius: 0 14px 14px 0; margin: 1.4em 0; }
.callout p:last-child { margin: 0; }
.toc { background: var(--bg-soft); border-radius: var(--radius); padding: 22px 26px; margin-bottom: 2em; }
.toc strong { display: block; margin-bottom: 8px; color: var(--ink); }
.toc ol { margin: 0; }
.article-meta { display: flex; flex-wrap: wrap; gap: 18px; font-size: .9rem; margin-top: 18px; }
.post-card .tag { margin-bottom: 14px; }
.post-card h3 { font-size: 1.18rem; }
.post-meta { font-size: .85rem; color: var(--muted); margin-top: 14px; }

/* ---------- Stopka ---------- */
.site-footer { background: var(--ink); color: var(--muted-light); padding: 70px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { color: var(--muted-light); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-brand p { margin: 18px 0; max-width: 340px; }
.footer-brand address { line-height: 1.8; }
.footer-brand strong { color: #fff; }
.hours strong { color: #fff; }
.footer-bottom { margin-top: 56px; border-top: 1px solid var(--ink-3); padding: 22px 0; font-size: .87rem; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

.mobile-bar { display: none; }

/* ---------- Animacje wejścia ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .float-card { animation: none; }
  .btn:hover, a.card:hover, .work:hover { transform: none; }
}

/* ---------- Responsywność ---------- */
@media (max-width: 1100px) {
  .pricing { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .nav-phone span { display: none; }
}
@media (max-width: 1080px) {
  :root { --header-h: 64px; }
  .burger { display: flex; }
  /* backdrop-filter tworzy kontener dla position:fixed, więc na mobile go wyłączamy */
  .navbar { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .main-nav { position: fixed; inset: calc(var(--header-h) + var(--topbar-h)) 0 0 0; background: #fff; padding: 16px 20px 120px; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility .25s; margin: 0; }
  .nav-open .main-nav { transform: none; visibility: visible; }
  .nav-open { overflow: hidden; }
  .main-nav > ul { flex-direction: column; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; }
  .main-nav > ul > li > a { flex: 1; padding: 16px 4px; font-size: 1.08rem; background: none !important; }
  .main-nav .chevron { display: none; }
  .sub-toggle { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: var(--bg-soft); border-radius: 10px; cursor: pointer; color: var(--ink); }
  .sub-toggle[aria-expanded="true"] .ico { transform: rotate(180deg); }
  .submenu { position: static; width: 100%; grid-template-columns: 1fr; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 12px; display: none; }
  .has-sub.is-open .submenu { display: grid; }
  .has-sub:hover .submenu { transform: none; }
  .nav-mobile-cta { display: grid; gap: 10px; margin-top: 24px; }
  .navbar-cta { margin-left: auto; }
  .nav-phone span { display: inline; }
}
@media (max-width: 980px) {
  .hero-grid, .split, .cta-box, .calc { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .hero-visual { max-width: 560px; margin: 10px auto 0; width: 100%; }
  .grid-4, .stats { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .work-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing.three { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .calc-result { position: static; }
}
@media (max-width: 680px) {
  body { font-size: 16px; padding-bottom: 64px; }
  .container, .narrow { width: calc(100% - 32px); }
  .hide-sm { display: none !important; }
  :root { --topbar-h: 0px; }
  .topbar { display: none; }
  .grid-2, .grid-3, .grid-4, .work-grid, .pricing, .compare, .steps, .addons, .opts, .form-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { padding: 18px; }
  .stat strong { font-size: 1.8rem; }
  .choice-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .float-card.one { left: 8px; bottom: -24px; }
  .float-card.two { right: 8px; top: -26px; }
  .hero-visual .mock { transform: none; }
  .mock-body { padding: 16px; }
  .card { padding: 24px; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(16, 24, 48, .08); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 10px; font-weight: 700; text-decoration: none; color: var(--ink); }
  .mobile-bar a.is-primary { background: var(--brand); color: #fff; }
  .nav-phone { display: none; }
  .btn-row .btn { flex: 1 1 auto; }
}
