/* Arpaprint.pl – arkusz stylów strony */
:root {
    --ink: #0b1530; --ink-2: #16234a; --text: #1b2236; --muted: #5b6680; --line: #e2e6ef;
    --bg: #fff; --tint: #f4f6fb; --tint-2: #eaeef7;
    --magenta: #e5007d; --magenta-600: #c3006a; --magenta-100: #fde6f2;
    --cyan: #00a3e0; --cyan-100: #e0f4fc; --yellow: #ffd200; --yellow-100: #fff7d1;
    --ok: #1f7a46; --warn: #8a5a00; --err: #b3261e;
    --radius: 18px; --radius-sm: 12px;
    --shadow-sm: 0 1px 2px rgba(11, 21, 48, .06), 0 2px 8px rgba(11, 21, 48, .05);
    --shadow: 0 2px 4px rgba(11, 21, 48, .04), 0 12px 32px rgba(11, 21, 48, .08);
    --shadow-lg: 0 24px 60px rgba(11, 21, 48, .16);
    --header-h: 76px;
    --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--magenta-600); text-underline-offset: 3px; }
a:hover { color: var(--magenta); }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 4px; }
.container { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }

/* Typografia */
.display, .h1, .h2, .h3, .h4 { font-weight: 800; line-height: 1.12; letter-spacing: -.025em; color: var(--ink); margin: 0 0 .5em; }
.display { font-size: clamp(2.3rem, 5.2vw, 4rem); }
.h1 { font-size: clamp(2rem, 4vw, 3rem); }
.h2 { font-size: clamp(1.65rem, 3vw, 2.4rem); }
.h3 { font-size: 1.35rem; letter-spacing: -.015em; }
.h4 { font-size: 1.1rem; letter-spacing: -.01em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); line-height: 1.6; margin: 0 0 1.2em; }
.lead--muted { color: var(--muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--magenta-600); margin: 0 0 14px; }
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--cyan), var(--magenta), var(--yellow)); }
.eyebrow--light { color: #fff; }

.prose { color: var(--text); }
.prose p { margin: 0 0 1em; }
.prose h3 { font-size: 1.25rem; font-weight: 800; color: var(--ink); letter-spacing: -.015em; margin: 1.6em 0 .6em; }
.prose ul { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 8px; }
.prose li { position: relative; padding-left: 28px; }
.prose li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--magenta); box-shadow: 6px 0 0 -2px var(--cyan); }
.prose strong { color: var(--ink); }
.prose > :last-child { margin-bottom: 0; }

/* Przyciski */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent; font-weight: 700; font-size: .95rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--magenta); color: #fff; box-shadow: 0 8px 22px rgba(229, 0, 125, .3); }
.btn--primary:hover { background: var(--magenta-600); color: #fff; box-shadow: 0 10px 26px rgba(229, 0, 125, .38); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { color: var(--magenta-600); }
.btn--outline-light { color: #fff; border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .06); }
.btn--outline-light:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .14); }
.btn--sm { padding: 9px 16px; font-size: .88rem; }
.btn--lg { padding: 15px 28px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn.is-disabled { opacity: .45; pointer-events: none; box-shadow: none; }
.link-btn { background: none; border: 0; padding: 0; color: var(--magenta-600); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }

/* Ogłoszenie i górny pasek */
.announce { background: var(--yellow); color: var(--ink); font-size: .92rem; font-weight: 600; }
.announce__inner { display: flex; align-items: center; justify-content: center; gap: 10px; padding-top: 9px; padding-bottom: 9px; text-align: center; }
.announce p { margin: 0; }
.announce a { color: inherit; }
.topline { background: var(--ink); color: #c9d1e6; font-size: .84rem; }
.topline__inner { display: flex; justify-content: space-between; gap: 20px; padding-top: 8px; padding-bottom: 8px; }
.topline span, .topline a { display: inline-flex; align-items: center; gap: 7px; }
.topline__right { gap: 22px !important; }
.topline a { color: #fff; text-decoration: none; }
.topline a:hover { color: var(--yellow); }
.topline .icon { width: 15px; height: 15px; color: var(--cyan); }
.topline__alt { position: relative; }
.topline__alt::before { content: ""; position: absolute; left: -12px; top: 50%; width: 1px; height: 14px; transform: translateY(-50%); background: rgba(255, 255, 255, .35); }

/* Nagłówek */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: box-shadow .2s, border-color .2s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(11, 21, 48, .07); }
.header__inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand img { max-height: 48px; width: auto; }
.brand__dots { display: grid; grid-template-columns: repeat(2, 13px); gap: 3px; }
.brand__dots i { width: 13px; height: 13px; border-radius: 50%; }
.brand__dots i:nth-child(1) { background: var(--cyan); }
.brand__dots i:nth-child(2) { background: var(--magenta); }
.brand__dots i:nth-child(3) { background: var(--yellow); }
.brand__dots i:nth-child(4) { background: var(--ink); }
.brand--light .brand__dots i:nth-child(4) { background: #fff; }
.brand__text { display: flex; flex-direction: column; font-weight: 800; font-size: 1.35rem; letter-spacing: -.03em; line-height: 1.05; }
.brand__text small { font-size: .7rem; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-top: 3px; }
.brand__text--light { color: #fff; }
.brand__text--light small { color: #9aa6c4; }

.nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav__list { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: 5px; padding: 10px 14px; border-radius: 999px; background: none; border: 0; color: var(--ink); font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer; }
.nav__link:hover, .has-sub.is-open > .nav__link { background: var(--tint); color: var(--ink); }
.nav__link[aria-current="page"], .has-sub.is-current > .nav__link { color: var(--magenta-600); }
.nav__link .icon { width: 16px; height: 16px; transition: transform .2s; }
.has-sub.is-open .nav__link .icon { transform: rotate(180deg); }
.nav__sub { list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 8px); left: -8px; min-width: 330px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; }
.has-sub.is-open .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub a { display: block; padding: 12px 14px; border-radius: 12px; color: var(--ink); font-weight: 700; text-decoration: none; }
.nav__sub a small { display: block; font-weight: 500; color: var(--muted); font-size: .82rem; line-height: 1.4; margin-top: 2px; }
.nav__sub a:hover, .nav__sub a[aria-current="page"] { background: var(--tint); }
.nav__cta .btn[aria-current="page"] { background: var(--ink); box-shadow: none; }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon--close, .nav-toggle[aria-expanded="true"] .icon--open { display: none; }
.nav-toggle[aria-expanded="true"] .icon--close { display: block; }

/* Hero */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; padding: clamp(64px, 9vw, 120px) 0 0; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 21, 48, .97) 0%, rgba(11, 21, 48, .86) 42%, rgba(11, 21, 48, .35) 100%), linear-gradient(0deg, rgba(11, 21, 48, .9), transparent 45%); }
.hero::after { content: ""; position: absolute; right: -120px; top: -160px; width: 480px; height: 480px; border-radius: 50%; z-index: -1; background: radial-gradient(circle, rgba(229, 0, 125, .35), transparent 65%); }
.hero__content { max-width: 660px; }
.hero .display { color: #fff; }
.hero .lead { color: #d3daea; max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.stats { list-style: none; margin: clamp(56px, 7vw, 90px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255, 255, 255, .14); }
.stats li { padding: 26px 20px 30px 0; display: flex; flex-direction: column; gap: 4px; }
.stats li + li { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .14); }
.stats strong { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 800; letter-spacing: -.02em; }
.stats li:nth-child(4n+1) strong { color: var(--cyan); }
.stats li:nth-child(4n+2) strong { color: #ff4fa8; }
.stats li:nth-child(4n+3) strong { color: var(--yellow); }
.stats span { color: #aab4cc; font-size: .9rem; }

/* Sekcje */
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--ink); color: #d3daea; }
.section--dark .h2 { color: #fff; }
.section--page { padding-top: clamp(40px, 5vw, 64px); }
.section__head { max-width: 720px; margin-bottom: 44px; }

.intro { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.intro__media { position: relative; margin: 0; }
.intro__media img { width: 100%; border-radius: 24px; box-shadow: var(--shadow-lg); }
.intro__media::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; border-radius: 24px; background: linear-gradient(135deg, var(--cyan-100), var(--magenta-100)); z-index: -1; }
.intro__media { isolation: isolate; }
.intro__badge { position: absolute; left: -18px; bottom: 28px; display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--ink); font-weight: 700; font-size: .9rem; padding: 12px 18px; border-radius: 999px; box-shadow: var(--shadow); }
.intro__badge .icon { color: #fff; background: var(--ok); border-radius: 50%; padding: 3px; width: 22px; height: 22px; }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { background: #fff; border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }
.feature__icon { display: inline-flex; width: 50px; height: 50px; border-radius: 14px; align-items: center; justify-content: center; margin-bottom: 18px; }
.feature__icon .icon { width: 24px; height: 24px; }
.feature__icon--0 { background: var(--cyan-100); color: #007fb0; }
.feature__icon--1 { background: var(--magenta-100); color: var(--magenta-600); }
.feature__icon--2 { background: var(--yellow-100); color: #9a7a00; }
.feature__icon--3 { background: var(--tint-2); color: var(--ink); }

.service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.service-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; text-decoration: none; color: var(--text); box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: var(--text); }
.service-card__media { aspect-ratio: 16 / 9; background: var(--tint); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.service-card:hover .service-card__media img { transform: scale(1.04); }
.service-card__media--icon { background: linear-gradient(135deg, var(--ink), var(--ink-2)); color: #fff; position: relative; }
.service-card__media--icon::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; right: -40px; bottom: -70px; background: radial-gradient(circle, rgba(0, 163, 224, .45), transparent 70%); }
.service-card__media--icon .icon { width: 64px; height: 64px; stroke-width: 1.5; color: var(--yellow); position: relative; z-index: 1; }
.service-card--calc .service-card__media--icon { background: linear-gradient(135deg, var(--magenta), #8c0a5c); }
.service-card--calc .service-card__media--icon .icon { color: #fff; }
.service-card__body { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px 24px; flex: 1; }
.service-card__group { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.service-card__title { font-size: 1.2rem; font-weight: 800; color: var(--ink); letter-spacing: -.015em; line-height: 1.25; }
.service-card__text { color: var(--muted); font-size: .95rem; flex: 1; }
.service-card__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--magenta-600); margin-top: 8px; }
.service-card__more .icon { transition: transform .2s; }
.service-card:hover .service-card__more .icon { transform: translateX(4px); }

.calc-band { position: relative; overflow: hidden; }
.calc-band::before { content: ""; position: absolute; left: -200px; bottom: -260px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 163, 224, .25), transparent 65%); }
.calc-band__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; }
.calc-band .lead { color: #c3cce0; }
.checks { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 10px; }
.checks li { display: flex; align-items: center; gap: 10px; color: #e6eaf4; }
.checks .icon { color: var(--yellow); }
.calc-band__visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 300px; }
.calc-band__visual > img { position: absolute; right: 0; bottom: 0; width: 200px; border-radius: 16px; box-shadow: var(--shadow-lg); border: 4px solid #fff; }
.roll { position: relative; width: 300px; height: 300px; }
.roll__core { position: absolute; left: 30px; top: 30px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, var(--ink) 0 22%, #d9dfeb 23% 26%, #fff 27% 100%); box-shadow: 0 0 0 10px rgba(255, 255, 255, .08), var(--shadow-lg); }
.roll__web { position: absolute; left: 120px; top: 120px; width: 200px; height: 90px; background: #fff; border-radius: 0 10px 10px 0; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); gap: 6px; padding: 8px 8px 8px 26px; transform: rotate(18deg); transform-origin: left center; box-shadow: var(--shadow); }
.roll__web i { border-radius: 5px; background: var(--magenta); }
.roll__web i:nth-child(3n+2) { background: var(--cyan); }
.roll__web i:nth-child(3n) { background: var(--yellow); }

.machine-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.machine { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--cyan); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.machine:nth-child(4n+2) { border-top-color: var(--magenta); }
.machine:nth-child(4n+3) { border-top-color: var(--yellow); }
.machine:nth-child(4n+4) { border-top-color: var(--ink); }
.machine:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.machine__media { aspect-ratio: 4 / 3; background: #fff; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: center; padding: 14px; }
.machine__media img { width: 100%; height: 100%; object-fit: contain; }
.machine__body { padding: 20px 22px 24px; flex: 1; background: var(--tint); }
.machine__body .h4 { margin-bottom: .4em; }
.machine p { margin: 0; color: var(--muted); font-size: .95rem; }

.cta-band { background: linear-gradient(120deg, var(--magenta) 0%, #a3005a 100%); color: #fff; padding: 56px 0; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: 8%; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255, 210, 0, .18); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-band .h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; color: #ffe1f0; font-size: 1.08rem; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Stopka */
.site-footer { background: #070e22; color: #aab4cc; padding: 72px 0 0; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr; gap: 48px; padding-bottom: 48px; }
.footer__about p { margin: 18px 0; max-width: 380px; }
.footer__title { color: #fff; font-size: .95rem; font-weight: 700; margin: 0 0 16px; }
.footer__links, .footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #dfe5f2; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact .icon { color: var(--cyan); margin-top: 4px; }
.social { display: flex; gap: 10px; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .07); }
.social a:hover { background: var(--magenta); color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 22px; padding-bottom: 28px; font-size: .85rem; }

/* Podstrony */
.page-hero { background: var(--tint); padding: clamp(40px, 5vw, 64px) 0 clamp(32px, 4vw, 48px); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(229, 0, 125, .14), transparent 65%); }
.page-hero .lead { max-width: 760px; margin-bottom: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.layout-aside { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.aside { display: grid; gap: 20px; }
.aside--sticky { position: sticky; top: calc(var(--header-h) + 20px); }
.content { display: grid; gap: 36px; min-width: 0; }
.page-media { margin: 0; }
.page-media img { width: 100%; max-height: 460px; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow); cursor: zoom-in; }
.specs { padding: 24px; }
.specs dl { margin: 0; display: grid; gap: 0; }
.specs dl > div { padding: 12px 0; border-top: 1px solid var(--line); }
.specs dt { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.specs dd { margin: 2px 0 0; font-weight: 700; color: var(--ink); }
.teaser { padding: 26px 24px; background: linear-gradient(160deg, #fff 50%, var(--magenta-100)); }
.teaser__icon { display: inline-flex; width: 48px; height: 48px; border-radius: 14px; background: var(--magenta); color: #fff; align-items: center; justify-content: center; margin-bottom: 14px; }
.teaser p { margin: 0 0 14px; font-size: .95rem; }
.teaser__price strong { color: var(--magenta-600); font-size: 1.2rem; }
.ask { padding: 24px; display: grid; gap: 10px; }
.ask .h4 { margin-bottom: 4px; }
.ask a { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; }
.ask a:hover { color: var(--magenta-600); }
.ask .icon { color: var(--cyan); }

.price-section { display: grid; gap: 24px; padding: 28px; border-radius: var(--radius); background: var(--tint); }
.price-section.has-image { grid-template-columns: 220px 1fr; }
.price-section__img { border-radius: 14px; width: 100%; aspect-ratio: 1; object-fit: cover; }
.price-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; margin: 16px 0; }
.price-tile { background: #fff; border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; border: 1px solid var(--line); }
.price-tile__qty { font-size: .85rem; color: var(--muted); font-weight: 600; }
.price-tile__net { font-weight: 800; color: var(--ink); font-size: 1.1rem; }
.price-tile__net small { font-weight: 500; color: var(--muted); font-size: .75rem; }
.price-tile__gross { font-size: .8rem; color: var(--muted); }
.price-section__foot { font-size: .9rem; color: var(--muted); }

.downloads { display: flex; flex-wrap: wrap; gap: 12px; }
.download { display: inline-flex; align-items: center; gap: 12px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); font-weight: 700; }
.download small { display: block; color: var(--muted); font-weight: 500; font-size: .75rem; }
.download:hover { border-color: var(--magenta); color: var(--magenta-600); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.gallery__item { padding: 0; border: 0; border-radius: 14px; overflow: hidden; cursor: zoom-in; aspect-ratio: 4 / 3; background: var(--tint); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery__item:hover img { transform: scale(1.05); }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(7, 14, 34, .9); display: flex; align-items: center; justify-content: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 90vh; border-radius: 12px; box-shadow: var(--shadow-lg); }
.lightbox__close { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 18px; align-items: flex-start; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); background: #fff; box-shadow: var(--shadow-sm); transition: border-color .2s, transform .2s; }
a.contact-card:hover { border-color: var(--magenta); transform: translateY(-2px); color: var(--text); }
.contact-card__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--cyan-100); color: #007fb0; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-card > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.contact-card small { color: var(--muted); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.contact-card strong { color: var(--ink); font-size: 1.1rem; }
.contact-card em { font-style: normal; color: var(--muted); font-size: .95rem; }
.contact-card--accent { background: var(--ink); border-color: var(--ink); }
.contact-card--accent strong { color: #fff; }
.contact-card--accent small { color: #aab4cc; }
.contact-card--accent .contact-card__icon { background: var(--magenta); color: #fff; }
.map { overflow: hidden; min-height: 520px; position: sticky; top: calc(var(--header-h) + 20px); }
.map iframe { width: 100%; height: 100%; min-height: 520px; border: 0; display: block; }
.notfound { text-align: center; }
.notfound .lead, .notfound .hero__actions { margin-left: auto; margin-right: auto; justify-content: center; max-width: 560px; }

/* Kalkulator */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
.calc__form { display: grid; gap: 20px; min-width: 0; }
.calc__step { margin: 0; padding: 26px; min-width: 0; }
.calc__step legend { float: left; width: 100%; display: flex; align-items: center; gap: 12px; font-weight: 800; color: var(--ink); font-size: 1.12rem; margin-bottom: 18px; padding: 0; }
.calc__step legend + * { clear: both; }
.calc__step > p { margin: 14px 0 0; display: flex; gap: 8px; align-items: flex-start; }
.calc__step > p .icon { margin-top: 3px; color: var(--cyan); }
.calc__num { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: .9rem; flex-shrink: 0; }
.choice-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.choice { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; transition: border-color .15s, background .15s; font-weight: 600; color: var(--ink); line-height: 1.35; }
.choice:hover { border-color: #b9c2d6; }
.choice input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #b9c2d6; margin: 0; flex-shrink: 0; transition: border .15s; }
.choice input:checked { border: 6px solid var(--magenta); }
.choice:has(input:checked) { border-color: var(--magenta); background: var(--magenta-100); }
.choice:has(input:focus-visible) { outline: 3px solid var(--cyan); outline-offset: 2px; }
.choice span { flex: 1; }
.choice strong { font-size: .88rem; white-space: nowrap; color: var(--muted); }
.calc__dims { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 14px; }
.field { min-width: 0; display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: .9rem; color: var(--ink); }
.input-unit { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.input-unit:focus-within { border-color: var(--magenta); box-shadow: 0 0 0 4px var(--magenta-100); }
.input-unit input { flex: 1; width: 100%; min-width: 0; border: 0; background: none; padding: 13px 0 13px 14px; font: 700 1.1rem var(--font); color: var(--ink); outline: none; -moz-appearance: textfield; }
.input-unit input::-webkit-outer-spin-button, .input-unit input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.input-unit input::placeholder { color: #b3bbcc; font-weight: 500; }
.input-unit em { font-style: normal; color: var(--muted); font-weight: 600; padding: 0 14px; }
.toggle { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: var(--tint); cursor: pointer; font-weight: 700; color: var(--ink); }
.toggle input { position: absolute; opacity: 0; }
.toggle__ui { width: 46px; height: 26px; border-radius: 99px; background: #c4cbda; position: relative; flex-shrink: 0; transition: background .2s; }
.toggle__ui::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .2s; }
.toggle input:checked + .toggle__ui { background: var(--magenta); }
.toggle input:checked + .toggle__ui::after { transform: translateX(20px); }
.toggle input:focus-visible + .toggle__ui { outline: 3px solid var(--cyan); outline-offset: 2px; }
.lam-choice { margin-top: 20px; }
.lam-choice__label { display: block; font-weight: 700; font-size: .9rem; color: var(--ink); margin-bottom: 8px; }
.summary__list dt small { color: var(--muted); font-size: .8rem; }
.winding-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.winding { cursor: pointer; }
.winding input { position: absolute; opacity: 0; }
.winding__card { display: flex; align-items: center; justify-content: center; border: 2px solid var(--line); border-radius: 14px; padding: 6px; background: #fff; transition: border-color .15s, box-shadow .15s, transform .15s; aspect-ratio: 180 / 99; overflow: hidden; }
.winding__card img { width: 100%; border-radius: 8px; }
.winding__no { font-weight: 800; font-size: 1.4rem; color: var(--ink); }
.winding:hover .winding__card { border-color: #b9c2d6; }
.winding input:checked + .winding__card { border-color: var(--magenta); box-shadow: 0 0 0 4px var(--magenta-100); }
.winding input:focus-visible + .winding__card { outline: 3px solid var(--cyan); outline-offset: 2px; }

.calc__summary { position: sticky; top: calc(var(--header-h) + 20px); }
.summary { padding: 24px; display: grid; gap: 16px; box-shadow: var(--shadow); }
.summary__preview { background: var(--tint); border-radius: 14px; padding: 16px 16px 10px; }
.summary__preview svg { width: 100%; height: auto; max-height: 190px; display: block; }
.pv-web { fill: #fff; stroke: #c9d0df; stroke-width: 1.5; }
.pv-blank { fill: rgba(91, 102, 128, .12); }
.pv-label { fill: var(--magenta); opacity: .85; }
.pv-label:nth-of-type(3n) { fill: var(--cyan); }
.summary__cap { margin: 8px 0 0; font-size: .8rem; color: var(--muted); text-align: center; }
.summary__msgs:empty { display: none; }
.summary__msgs { display: grid; gap: 8px; }
.msg { margin: 0; padding: 12px 14px; border-radius: 12px; font-size: .9rem; line-height: 1.5; }
.msg--info { background: var(--cyan-100); color: #075b80; }
.msg--warn { background: var(--yellow-100); color: var(--warn); }
.msg--err { background: #fde8e6; color: var(--err); }
.summary__list { margin: 0; display: grid; }
.summary__list > div, .summary__details dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.summary__list > div[hidden] { display: none; }
.summary__list dt { color: var(--muted); }
.summary__list dd { margin: 0; font-weight: 700; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
.summary__sum dt { color: var(--ink) !important; font-weight: 700; }
.summary__total { border-bottom: 0 !important; padding-top: 14px !important; align-items: baseline; }
.summary__total dt { color: var(--ink) !important; font-weight: 800; }
.summary__total dt small { display: block; color: var(--muted); font-weight: 500; }
.summary__total dd { font-size: 1.75rem; font-weight: 800; color: var(--magenta-600); letter-spacing: -.02em; }
.summary__unit { margin: -8px 0 0; text-align: right; color: var(--muted); font-size: .85rem; }
.summary__unit:empty { display: none; }
.summary__details { font-size: .88rem; border-radius: 12px; background: var(--tint); padding: 10px 14px; }
.summary__details summary { cursor: pointer; font-weight: 700; color: var(--ink); }
.summary__details dl { margin: 8px 0 0; }
.summary__details dl > div:last-child { border-bottom: 0; }
.summary__details dt { color: var(--muted); }
.summary__details dd { margin: 0; font-weight: 700; color: var(--ink); text-align: right; }
.summary__hint { margin: -8px 0 0; text-align: center; }
.calc-info { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; margin-top: 56px; align-items: start; }
.note { display: flex; gap: 14px; padding: 22px; background: var(--ink); border: 0; color: #d3daea; }
.note .icon { color: var(--yellow); width: 24px; height: 24px; margin-top: 2px; }
.note p { margin: 0; }
.note a { color: #fff; font-weight: 700; }

/* Kalkulator dla pośredników */
.note__link { margin-top: 10px !important; }
.partner-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 14px 20px; margin-bottom: 24px; background: var(--ink); color: #d3daea; border: 0; }
.partner-bar strong { color: #fff; }
.partner-bar .badge { display: inline-block; background: var(--yellow); color: var(--ink); font-weight: 800; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; margin-right: 10px; }
.partner-bar form { margin: 0; }
.login-card { max-width: 440px; margin: 0 auto; padding: 32px; }
.login-card .h3 { margin-bottom: .4em; }
.login-card .prose { margin-bottom: 20px; color: var(--muted); }
.login-card .field { margin-bottom: 14px; }
.login-card input[type=text], .login-card input[type=password] { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 14px; font: 600 1rem var(--font); color: var(--ink); }
.login-card input:focus { outline: none; border-color: var(--magenta); box-shadow: 0 0 0 4px var(--magenta-100); }
.login-card .msg { margin-bottom: 14px; }

/* Zapytanie i oferta */
.summary__actions { display: grid; gap: 10px; }
.btn.is-busy { opacity: .6; pointer-events: none; }
.dialog { width: min(640px, calc(100vw - 24px)); max-height: calc(100vh - 24px); border: 0; border-radius: 22px; padding: 26px; box-shadow: var(--shadow-lg); color: var(--text); }
.dialog::backdrop { background: rgba(7, 14, 34, .6); }
.dialog__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.dialog__head .h3 { margin: 0; }
.dialog__close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.inq__quote dl { margin: 0 0 16px; padding: 12px 16px; background: var(--tint); border-radius: 14px; display: grid; gap: 2px; font-size: .9rem; }
.inq__quote dl > div { display: flex; justify-content: space-between; gap: 12px; }
.inq__quote dt { color: var(--muted); }
.inq__quote dd { margin: 0; font-weight: 700; color: var(--ink); text-align: right; }
.inq { display: grid; gap: 12px; }
.inq__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.inq input:not([type=checkbox]):not([type=file]), .inq textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 13px; font: 500 .98rem var(--font); color: var(--ink); background: #fff; }
.inq textarea { resize: vertical; }
.inq input:focus, .inq textarea:focus { outline: none; border-color: var(--magenta); box-shadow: 0 0 0 4px var(--magenta-100); }
.inq .field small { font-weight: 500; color: var(--muted); }
.file-field input { padding: 10px; border: 1.5px dashed var(--line); border-radius: 12px; background: var(--tint); font: inherit; width: 100%; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--muted); line-height: 1.5; }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--magenta); flex-shrink: 0; }
.inq__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.inq__done { text-align: center; padding: 10px 0; }
.inq__ok { display: inline-flex; width: 64px; height: 64px; border-radius: 50%; background: #e3f5ea; color: var(--ok); align-items: center; justify-content: center; margin-bottom: 10px; }
.inq__ok .icon { width: 32px; height: 32px; }
.contact-side { display: grid; gap: 24px; align-content: start; }
.contact-form { padding: 26px; scroll-margin-top: calc(var(--header-h) + 16px); }
.contact-form .h3 { margin-bottom: .3em; }
.contact-side .map { position: static; min-height: 360px; }
.contact-side .map iframe { min-height: 360px; }
.history { margin-top: 48px; }
.history table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.history th, .history td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.history th { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.history td:last-child { white-space: nowrap; text-align: right; }
.history .table-scroll { overflow-x: auto; }
.footer__legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer__legal button { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 150; max-width: 560px; margin-left: auto; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); padding: 20px 22px; border: 1px solid var(--line); }
.cookie[hidden] { display: none; }
.cookie p { margin: 0 0 14px; font-size: .9rem; color: var(--muted); }
.cookie strong { color: var(--ink); }
.cookie__btns { display: flex; gap: 10px; flex-wrap: wrap; }
picture { display: contents; }
@media (max-width: 720px) {
    .inq__grid { grid-template-columns: 1fr; }
    .dialog { padding: 20px 16px; }
}

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

/* Responsywność */
@media (max-width: 1100px) {
    .feature-grid, .machine-grid { grid-template-columns: repeat(2, 1fr); }
    .calc, .calc-info { grid-template-columns: minmax(0, 1fr) 340px; }
}
@media (max-width: 1024px) {
    .nav-toggle { display: inline-flex; }
    .nav { position: fixed; left: 0; right: 0; top: var(--header-top, var(--header-h)); bottom: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 16px; padding: 20px 24px 32px; overflow-y: auto; transform: translateX(100%); transition: transform .25s; visibility: hidden; }
    .nav.is-open { transform: none; visibility: visible; }
    body.nav-open { overflow: hidden; }
    body.nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
    .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
    .nav__link { width: 100%; justify-content: space-between; padding: 14px 12px; font-size: 1.05rem; border-radius: 12px; }
    .nav__sub { position: static; min-width: 0; box-shadow: none; border: 0; padding: 0 0 6px 8px; opacity: 1; visibility: visible; transform: none; display: none; }
    .has-sub.is-open .nav__sub { display: block; }
    .nav__cta .btn { width: 100%; }
    .layout-aside, .contact-grid, .calc, .calc-info { grid-template-columns: 1fr; }
    .aside--sticky, .calc__summary, .map { position: static; }
    .intro, .calc-band__inner { grid-template-columns: 1fr; }
    .calc-band__visual { display: none; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .stats li:nth-child(3) { padding-left: 0; border-left: 0; }
    .stats li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .14); }
}
@media (max-width: 720px) {
    :root { --header-h: 66px; }
    .container { padding: 0 16px; }
    .topline__inner > span:first-child { display: none; }
    .topline__inner { justify-content: center; }
    .topline__right { gap: 14px !important; flex-wrap: wrap; justify-content: center; }
    .topline__right a:nth-child(2) { display: none; }
    .brand__text small { display: none; }
    .feature-grid, .machine-grid { grid-template-columns: 1fr; }
    .service-grid { grid-template-columns: 1fr; }
    .hero__actions .btn { width: 100%; }
    .calc__dims { grid-template-columns: 1fr 1fr; }
    .field--wide { grid-column: 1 / -1; }
    .winding-grid { grid-template-columns: repeat(2, 1fr); }
    .choice-list { grid-template-columns: 1fr; }
    .calc__step, .summary { padding: 20px 16px; }
    .footer__grid { grid-template-columns: 1fr; gap: 32px; }
    .price-section.has-image { grid-template-columns: 1fr; }
    .intro__badge { left: 12px; }
    .intro__media::before { inset: 14px -10px -14px 14px; }
    .cta-band__actions, .cta-band__actions .btn { width: 100%; }
    .map, .map iframe { min-height: 360px; }
}
