/* Dukly — style.css (v2, minimal / Apple-like) */
:root {
  --accent-text: #d6002a; /* czerwień do drobnego tekstu: czytelna (kontrast WCAG AA) */
  --ink: #1d1d1f;
  --grey: #6e6e73;
  --line: #d2d2d7;
  --soft: #f5f5f7;
  --white: #ffffff;
  --black: #111111;
  --accent: #ff002d;
  --max: 1120px;
  --pad: clamp(20px, 5vw, 48px);
  --r-lg: 28px;
  --r-md: 18px;
  --ease: cubic-bezier(.7, 0, .2, 1);
  --soft-ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px; line-height: 1.5; color: var(--ink); background: var(--white);
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; padding-right: var(--sbw, 0px); }
a { color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.center { text-align: center; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent; transition: border-color .2s, background-color .25s;
}
.site-header.scrolled { border-bottom-color: rgba(0, 0, 0, .08); }
body.menu-open .site-header { background: transparent; border-bottom-color: transparent; padding-right: var(--sbw, 0px); transition: border-color .2s .3s, background-color .25s .3s; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-size: 24px; font-weight: 800; letter-spacing: -.045em; text-decoration: none; }
.logo-dot { color: var(--accent); }
.logo { display: inline-flex; align-items: center; gap: 9px; }
.logo-mark { width: 27px; height: auto; flex-shrink: 0; color: var(--accent); transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
.logo:hover .logo-mark { transform: rotate(-8deg); }
.logo { transition: color .2s; }
body.menu-open .logo { color: #fff; transition: color .25s .3s; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.mail-btn { display: none; width: 42px; height: 42px; align-items: center; justify-content: center; background: #000; color: #fff; }
@media (hover: hover) { .mail-btn:hover { background: var(--accent); } }
.mail-btn { transition: opacity .2s, background-color .2s; }
body.menu-open .mail-btn { opacity: 0; visibility: hidden; transition: opacity .2s .2s, visibility 0s .4s; }
.menu-toggle { display: flex; flex-direction: column; align-items: center; gap: 5px; width: 72px; padding: 6px 0; background: none; border: 0; cursor: pointer; font: inherit; color: var(--ink); transition: color .2s; }
.menu-label { display: block; width: 100%; text-align: center; }
.menu-label { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; line-height: 1; }
.burger { position: relative; width: 28px; height: 12px; }
.burger i { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.burger i:nth-child(1) { top: 0; }
.burger i:nth-child(2) { top: 10px; }
@media (hover: hover) and (pointer: fine) {
  .menu-toggle:hover .burger { color: var(--accent); }
}
.menu-toggle, .theme-toggle, .mail-btn, .menu-link, .btn, .chip, .seg-btn, button { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
body.menu-open .menu-toggle { color: #fff; transition: color .25s .3s; }
body.menu-open .burger { color: var(--accent); }
body.menu-open .burger i:nth-child(1) { top: 5px; transform: rotate(45deg); }
body.menu-open .burger i:nth-child(2) { top: 5px; transform: rotate(-45deg); }

/* ---------- Fullscreen menu ---------- */
.menu-overlay {
  position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column;
  background: var(--black); color: #fff; overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(100%); visibility: hidden;
  transition: transform .55s var(--ease), visibility 0s linear .55s;
}
body.menu-open .menu-overlay { transform: none; visibility: visible; transition: transform .55s var(--ease), visibility 0s; }
/* Rozmiar menu liczony z szerokości ORAZ wysokości ekranu: 9 pozycji zawsze mieści się w całości,
   od małego laptopa (niski ekran) po duży monitor 4K/8K. margin: auto centruje, a przy nadmiarze pozwala przewinąć. */
.menu-nav {
  --menu-fs: clamp(26px, min(max(34px, calc(7vw + 4px)), calc((82vh - 110px) / 11)), 112px);
  --menu-fs: clamp(26px, min(max(34px, calc(7vw + 4px)), calc((82dvh - 110px) / 11)), 112px);
  width: 100%; max-width: var(--max); margin: auto; padding: clamp(92px, 11vh, 150px) var(--pad) clamp(32px, 6vh, 72px); text-align: right;
}
.menu-nav ul { list-style: none; }
.menu-nav > ul > li { margin: calc(var(--menu-fs) * .04) 0; }
.menu-link {
  display: inline-block; font-family: inherit; font-size: var(--menu-fs); font-weight: 800;
  line-height: 1.1; letter-spacing: -.02em; text-transform: uppercase; text-decoration: none;
  color: #fff; background: none; border: 0; cursor: pointer; transition: color .15s;
}
.menu-link:hover, .menu-link[aria-expanded="true"], .menu-link[aria-current="page"] { color: var(--accent-text); }
.submenu { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.submenu.open { grid-template-rows: 1fr; }
/* Zwinięte podmenu jest niewidoczne także dla klawiatury i czytników ekranu */
.submenu > ul { visibility: hidden; transition: visibility 0s linear .35s; }
.submenu.open > ul { visibility: visible; transition: visibility 0s; }
.submenu > ul { overflow: hidden; }
.submenu > ul > li:first-child { padding-top: calc(var(--menu-fs) * .15); }
.submenu > ul > li:last-child { padding-bottom: calc(var(--menu-fs) * .25); }
.submenu a { display: inline-block; padding: calc(var(--menu-fs) * .08) 0; font-size: clamp(15px, calc(var(--menu-fs) * .38), 36px); font-weight: 700; text-transform: uppercase; color: #b5b5b5; text-decoration: none; }
.submenu a:hover { color: #ff4d6a; }
.menu-contact { margin-top: clamp(20px, calc(var(--menu-fs) * .7), 64px); font-size: clamp(14px, calc(var(--menu-fs) * .3), 24px); color: #9a9a9a; }
.menu-contact a { color: #fff; text-decoration: none; }
.menu-contact a:hover { color: var(--accent-text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font: inherit; font-size: 16px; font-weight: 600; text-decoration: none;
  border: 1.5px solid var(--ink); cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--accent); border-color: var(--accent-text); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { color: var(--accent-text); border-color: var(--accent-text); }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: var(--accent); border-color: var(--accent-text); color: #fff; }
.text-link { font-weight: 600; text-decoration: none; color: var(--ink); border-bottom: 1.5px solid currentColor; padding-bottom: 1px; }
.text-link:hover { color: var(--accent-text); }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- Typography ---------- */
.display { font-size: clamp(44px, 7.4vw, 96px); font-weight: 700; line-height: 1.02; letter-spacing: -.045em; }
.h2 { font-size: clamp(34px, 5vw, 60px); font-weight: 700; line-height: 1.05; letter-spacing: -.04em; }
.sub { font-size: clamp(19px, 2vw, 24px); line-height: 1.4; color: var(--grey); font-weight: 500; letter-spacing: -.01em; }
.section { padding: clamp(88px, 12vw, 160px) 0; }
.section-soft { background: var(--soft); }
.section-intro { max-width: 760px; margin: 0 auto clamp(48px, 7vw, 80px); text-align: center; }
.section-intro .sub { margin-top: 18px; }

/* ---------- Hero ---------- */
.hero { padding: 140px 0 0; overflow: hidden; }
.hero .display { max-width: 15ch; margin: 0 auto; }
.rotator { display: inline-block; white-space: nowrap; }
.rotator-word {
  display: inline-block;
  background: linear-gradient(var(--accent), var(--accent)) no-repeat 0 94% / 100% .06em;
  transition: opacity .35s, transform .35s var(--ease);
}
.rotator-word.out { opacity: 0; transform: translateY(-.2em); }
.rotator-word.in { opacity: 0; transform: translateY(.2em); transition: none; }
.hero .sub { max-width: 34ch; margin: 24px auto 32px; }

/* Device stage */
.stage {
  position: relative; max-width: 1000px; margin: clamp(56px, 8vw, 88px) auto 0;
  padding: 0 clamp(24px, 6vw, 72px) clamp(56px, 8vw, 96px);
  animation: rise 1.2s var(--soft-ease) .15s both;
}
@keyframes rise { from { opacity: 0; transform: translateY(60px) scale(.96); } to { opacity: 1; transform: none; } }

.macbook .screen {
  background: #0c0c0d; border-radius: 2.2% 2.2% 0 0 / 3.4% 3.4% 0 0; padding: 1.8% 1.8% 2.4%;
  box-shadow: 0 0 0 1.5px #c9c9ce, 0 40px 80px -30px rgba(0, 0, 0, .35);
}
.macbook .base {
  position: relative; height: clamp(10px, 1.6vw, 18px); width: 112%; margin-left: -6%;
  background: linear-gradient(#e6e6e9 0%, #cfcfd4 55%, #a9a9ae 100%);
  border-radius: 0 0 40% 40% / 0 0 100% 100%;
}
.macbook .base::before {
  content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  width: 14%; height: 45%; background: #bdbdc2; border-radius: 0 0 10px 10px;
}
.phone {
  position: relative; aspect-ratio: 9 / 19.3; background: #0c0c0d;
  border-radius: 15% / 7%;
  box-shadow: 0 0 0 1.5px #c9c9ce, 0 30px 60px -20px rgba(0, 0, 0, .4);
}
/* Bezel: inset percentages are relative to the phone itself (left/right = width, top/bottom = height),
   so the frame stays thin at any size. 3.6% of width = 1.68% of height for a 9:19.3 phone. */
.phone .screen-inner { position: absolute; inset: 1.68% 3.6%; height: auto; border-radius: 12.4% / 5.8%; }
/* Dynamic Island */
.phone::before {
  content: ""; position: absolute; z-index: 3; left: 50%; top: 2.9%; transform: translateX(-50%);
  width: 31%; height: 2.55%; border-radius: 99px; background: #0c0c0d;
}
.stage .phone { position: absolute; right: 0; bottom: 5%; width: 22%; }
.screen-inner { position: relative; overflow: hidden; background: #fff; container-type: inline-size; }
.macbook .screen-inner { aspect-ratio: 16 / 10; border-radius: 4px; }

/* Photo slots: image if present, gradient if not */
.photo { background-color: #ddd; background-size: cover; background-position: center; }
.ph-restauracja { background-image: url("img/restauracja.jpg"), linear-gradient(135deg, #c8743d, #6b2d12 70%, #2b120a); }
.ph-slub        { background-image: url("img/slub.jpg"), linear-gradient(160deg, #f4e7dc, #d9b99b 60%, #a9805f); }
.ph-biznes      { background-image: url("img/biznes.jpg"), linear-gradient(140deg, #e9eef5, #b8c6d9 55%, #6c7f99); }
.ph-gastronomia { background-image: url("img/branza-gastronomia.jpg"), linear-gradient(160deg, #d9844a, #7a2f14 60%, #2a100a); }
.ph-warsztat    { background-image: url("img/branza-warsztat.jpg"), linear-gradient(160deg, #6f7780, #2e3339 55%, #121417); }
.ph-beauty      { background-image: url("img/branza-beauty.jpg"), linear-gradient(160deg, #f1d2cf, #c98f8a 55%, #7d4a47); }
.ph-uslugi      { background-image: url("img/branza-uslugi.jpg"), linear-gradient(160deg, #9fb7a3, #4d6b55 55%, #1f2e24); }
.ph-sluby       { background-image: url("img/branza-sluby.jpg"), linear-gradient(160deg, #efe3d3, #c7a883 55%, #7e5f3f); }
.ph-freelancer  { background-image: url("img/branza-freelancer.jpg"), linear-gradient(160deg, #b9c2ef, #5b63a8 55%, #23264a); }

/* Mock site: restaurant (scaled with container units) */
.m-site { position: absolute; inset: 0; display: flex; flex-direction: column; text-align: left; font-size: 1.5cqw; color: #1a1a1a; background: #faf7f2; }
.m-nav { display: flex; justify-content: space-between; align-items: center; padding: 2em 4em 1.6em; }
.m-logo { font-size: 1.6em; font-weight: 800; letter-spacing: -.04em; }
.m-links { display: flex; gap: 2.4em; font-size: .95em; color: #555; }
.m-hero { flex: 1; display: grid; grid-template-columns: 1fr 1.1fr; gap: 3em; align-items: center; padding: 0 4em 2.4em; }
.m-hero h4 { font-size: 3em; line-height: 1; letter-spacing: -.045em; font-weight: 700; }
.m-hero p { margin: 1.2em 0 2em; font-size: 1.05em; color: #666; max-width: 26em; line-height: 1.5; }
.m-btn { display: inline-block; padding: .9em 1.8em; border-radius: 99px; background: #1a1a1a; color: #fff; font-weight: 600; font-size: .95em; }
.m-img { height: 100%; min-height: 10em; max-height: 19em; border-radius: 1.4em; }
.m-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6em; padding: 0 4em 2.6em; }
.m-strip div { padding: 1.4em; border-radius: 1em; background: #fff; font-size: .95em; }
.m-strip b { display: block; font-size: 1.1em; margin-bottom: .3em; }
.m-strip span { color: #6e6e73; }

/* Mock site: wedding (phone) */
.m-wed { position: absolute; inset: 0; display: flex; flex-direction: column; font-size: 5.2cqw; background: #fbf8f4; color: #2b2320; text-align: center; }
.m-wed .m-cover { height: 44%; }
.m-wed-body { padding: 1.4em 1.2em; }
.m-wed small { display: block; color: #7a6558; font-size: .8em; letter-spacing: .02em; }
.m-wed h4 { font-size: 2em; font-weight: 700; letter-spacing: -.04em; line-height: 1.05; margin: .3em 0 .5em; }
.m-wed .m-btn { background: #2b2320; font-size: .85em; padding: .8em 1.4em; }
.m-wed ul { list-style: none; margin-top: 1.2em; text-align: left; font-size: .82em; }
.m-wed li { display: flex; justify-content: space-between; padding: .65em 0; border-top: 1px solid #ece4da; }
.m-wed li span { color: #9a877a; }

.m-vento { background: #fff; color: #221e1b; }
.m-vento small { color: #2e5b45; font-weight: 600; }
.m-vento .m-btn { background: #d9a441; color: #171412; }
.m-vento li span { color: #221e1b; font-weight: 600; }

.m-grafit { background: #0d0d0d; color: #ebe6dc; }
.m-grafit h4 { font-family: "Anton", Impact, "Arial Narrow", sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: .02em; }
.m-grafit small { color: #b8976a; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.m-grafit .m-btn { background: #b8976a; color: #0d0d0d; border-radius: 0; text-transform: uppercase; letter-spacing: .08em; }
.m-grafit li { border-top-color: #2a2a2a; }
.m-grafit li span { color: #ebe6dc; font-weight: 600; }
.ph-grafit { background-image: url("grafit/img/hero.jpg"), radial-gradient(ellipse at 60% 40%, #3a3530, #121110 80%); filter: grayscale(.3); }
.case-divider { height: 1px; margin: clamp(80px, 10vw, 120px) 0; background: #2a2a2a; }
.case-grid-rev .phone { order: 2; }
@media (max-width: 820px) { .case-grid-rev .phone { order: 0; } }

/* ---------- "Zobacz swoją stronę" live preview ---------- */
.try { padding: clamp(88px, 12vw, 160px) 0 clamp(72px, 10vw, 140px); }
.try-grid {
  display: grid; grid-template-columns: .85fr 1.15fr; column-gap: clamp(40px, 6vw, 88px); row-gap: 28px;
  grid-template-areas: "head stage" "form stage"; align-items: start;
}
.try-head { grid-area: head; align-self: end; }
.try-head .sub { margin-top: 16px; }
.try-form { grid-area: form; }
.try-stage { grid-area: stage; align-self: center; position: relative; padding: 0 7% 9% 0; }
.try-stage .phone { position: absolute; right: 0; bottom: 0; width: 25%; }
.try-label { display: block; margin: 24px 0 10px; font-size: 14px; font-weight: 600; color: var(--grey); }
.try-form .try-label:first-child { margin-top: 0; }
.try-input {
  width: 100%; padding: 15px 18px; font: inherit; font-size: 19px; font-weight: 600; letter-spacing: -.01em; color: var(--ink);
  background: var(--soft); border: 1.5px solid transparent; border-radius: 14px; transition: border-color .15s, background-color .15s;
}
.try-input::placeholder { color: var(--grey); font-weight: 500; }
.try-input:focus { outline: none; border-color: var(--ink); background: var(--white); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 10px 18px; border-radius: 99px; border: 1.5px solid var(--line); background: transparent;
  font: inherit; font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.try-cta { margin-top: 32px; }
.try-note { margin-top: 14px; font-size: 14px; color: var(--grey); }
.try-lead { font-size: 18px; color: var(--grey); max-width: 40ch; }
.try-lead + .try-cta { margin-top: 24px; }

/* preview palette comes from JS as CSS variables */
.try-stage { --pv-bg: #faf7f2; --pv-ink: #1a1a1a; --pv-mute: #6b6560; --pv-btn: #1a1a1a; --pv-btn-ink: #fff; --pv-card: #fff; --pv-line: #ece4da; }
.try .m-site, .try .m-wed { background: var(--pv-bg); color: var(--pv-ink); transition: opacity .25s ease, background-color .35s ease, color .35s ease; }
.try .m-links, .try .m-hero p, .try .m-strip span, .try .m-wed small, .try .m-wed li span { color: var(--pv-mute); }
.try .m-btn { background: var(--pv-btn); color: var(--pv-btn-ink); transition: background-color .35s ease, color .35s ease; }
.try .m-strip div { background: var(--pv-card); }
.try .m-wed li { border-top-color: var(--pv-line); }
.try .m-logo { max-width: 55%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.try .m-wed h4 { overflow-wrap: anywhere; }
.try .m-img, .try .m-cover { transition: opacity .25s ease; }
.try-stage.switching .m-hero, .try-stage.switching .m-strip, .try-stage.switching .m-wed-body,
.try-stage.switching .m-img, .try-stage.switching .m-cover, .try-stage.switching .m-links { opacity: 0; }
.try .m-hero, .try .m-strip, .try .m-wed-body, .try .m-links { transition: opacity .25s ease; }
.try-stage[data-branch="barber"] .m-logo, .try-stage[data-branch="barber"] .m-hero h4, .try-stage[data-branch="barber"] .m-wed h4 {
  font-family: "Anton", Impact, "Arial Narrow", sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: .01em; line-height: 1.08;
}
.try-stage[data-branch="barber"] .m-btn { border-radius: 0; text-transform: uppercase; letter-spacing: .08em; }
.try-stage[data-branch="slub"] .m-logo, .try-stage[data-branch="slub"] .m-hero h4, .try-stage[data-branch="slub"] .m-wed h4 {
  font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.01em;
}
@media (max-width: 860px) {
  .try-grid { grid-template-columns: 1fr; grid-template-areas: "head" "stage" "form"; }
  .try-stage { padding: 0 8% 12% 0; margin: 12px 0; }
  .try-stage .phone { width: 28%; }
  .try-cta .btn { width: 100%; }
}

/* ---------- Bento (offer) ---------- */
.bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.tile {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  min-height: 560px; padding: clamp(32px, 4vw, 48px); border-radius: var(--r-lg);
  background: var(--white); text-align: center; scroll-margin-top: 88px;
}
.tile-wide { grid-column: 1 / -1; min-height: 520px; }
.tile h3 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 700; letter-spacing: -.04em; line-height: 1.05; }
.tile p { max-width: 38ch; margin: 14px auto 0; font-size: 18px; color: var(--grey); }
.tile .actions { margin-top: 24px; }
.tile-visual { flex: 1; display: flex; align-items: center; justify-content: center; margin-top: 40px; }
.tile-photo { width: 100%; height: 100%; min-height: 240px; border-radius: var(--r-md); }
.tile-dark { background: var(--black); color: #fff; }
.tile-dark p { color: #a1a1a6; }
.tile-dark .text-link { color: #fff; }
.tile-dark .text-link:hover { color: var(--accent-text); }

/* Booking widget mock */
.booking { width: min(100%, 360px); padding: 22px; border-radius: 22px; background: #1d1d1f; text-align: left; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.booking-head { display: flex; justify-content: space-between; font-size: 15px; font-weight: 600; margin-bottom: 16px; }
.booking-head span { color: #a1a1a6; font-weight: 500; }
.days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-bottom: 14px; }
.days div { padding: 10px 0; border-radius: 12px; background: #2c2c2e; text-align: center; font-size: 12px; color: #a1a1a6; }
.days b { display: block; font-size: 17px; color: #fff; }
.days .on { background: #fff; color: #6e6e73; }
.days .on b { color: #1d1d1f; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.slots span { padding: 10px 0; border-radius: 99px; border: 1px solid #3a3a3c; text-align: center; font-size: 14px; }
.slots .on { background: var(--accent); border-color: var(--accent-text); }
.slots .off { color: #5a5a5e; text-decoration: line-through; }

/* Wedding tile phone */
.tile-phone { width: min(56%, 230px); }

/* ---------- Industries carousel ---------- */
.carousel-wrap { position: relative; }
.carousel {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(260px, 30vw, 340px); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 4px max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))) 24px;
  scroll-padding-inline: max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad)));
}
.carousel::-webkit-scrollbar { display: none; }
.card {
  position: relative; overflow: hidden; aspect-ratio: 3 / 4.2; border-radius: var(--r-lg);
  scroll-snap-align: start; color: #fff; isolation: isolate;
}
.card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(0, 0, 0, .45), rgba(0, 0, 0, 0) 45%); }
.card .photo { position: absolute; inset: 0; z-index: -2; transition: transform .8s var(--soft-ease); }
.card:hover .photo { transform: scale(1.04); }
.card-text { padding: 28px; }
.card small { display: block; font-size: 15px; font-weight: 600; opacity: .85; }
.card h3 { margin-top: 6px; font-size: 26px; font-weight: 700; letter-spacing: -.03em; line-height: 1.15; }
.carousel-nav { display: flex; justify-content: flex-end; gap: 10px; }
.carousel-nav button {
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: #e8e8ed; color: var(--ink); font-size: 20px; line-height: 1; transition: background-color .2s, color .2s;
}
.carousel-nav button:hover { background: var(--ink); color: #fff; }

/* ---------- Case ---------- */
.case { background: var(--black); color: #fff; overflow: hidden; }
.case .sub { color: #a1a1a6; }
.case-url { display: inline-block; margin-top: 12px; font-size: clamp(34px, 6vw, 76px); font-weight: 700; letter-spacing: -.045em; line-height: 1.05; text-decoration: none; color: #fff; transition: color .15s; }
.case-url:hover { color: var(--accent-text); }
.case-title { margin-top: 12px; font-size: clamp(40px, 6.5vw, 84px); font-weight: 700; letter-spacing: -.045em; line-height: 1.05; color: #fff; }
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; margin-top: 72px; }
.case-grid .phone { width: min(70%, 300px); margin: 0 auto; }
.case-features { list-style: none; display: grid; gap: 32px; }
.case-features strong { display: block; font-size: 22px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 6px; }
.case-features span { color: #a1a1a6; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; list-style: none; counter-reset: step; text-align: center; }
.steps li::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 22px;
  border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700;
}
.steps h3 { font-size: 21px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 8px; }
.steps p { font-size: 16px; color: var(--grey); max-width: 26ch; margin: 0 auto; }

/* ---------- Care ---------- */
.care { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; }
.care li { padding: 32px 28px; border-radius: var(--r-md); background: #fff; }
.care svg { width: 32px; height: 32px; color: var(--accent); margin-bottom: 20px; }
.care strong { display: block; font-size: 20px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 6px; }
.care span { font-size: 16px; color: var(--grey); }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; cursor: pointer; list-style: none; font-size: clamp(19px, 2vw, 22px); font-weight: 600; letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 28px; font-weight: 300; line-height: 1; transition: transform .25s var(--ease), color .15s; }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--accent-text); }
.faq summary:hover { color: var(--accent-text); }
.faq details p { max-width: 62ch; padding-bottom: 26px; color: var(--grey); }

/* ---------- CTA ---------- */
.cta .display { max-width: 14ch; margin: 0 auto; }
.cta .sub { max-width: 36ch; margin: 22px auto 32px; }

/* ---------- Footer ---------- */
.site-footer { padding: 36px 0; background: var(--soft); font-size: 14px; color: var(--grey); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 24px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--accent-text); }

/* ---------- Contact page ---------- */
.page-head { padding: 150px 0 64px; text-align: center; }
.page-head h1 { font-size: clamp(52px, 8vw, 104px); font-weight: 700; letter-spacing: -.05em; line-height: 1; }
.page-head p { margin: 22px auto 0; max-width: 40ch; font-size: clamp(19px, 2vw, 22px); color: var(--grey); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 20px; padding-bottom: 120px; align-items: start; }
.contact-info { padding: 36px; border-radius: var(--r-lg); background: var(--soft); }
.contact-info dl { display: grid; gap: 26px; }
.contact-info dt { font-size: 14px; color: var(--grey); margin-bottom: 4px; }
.contact-info dd { font-size: 19px; font-weight: 600; }
.contact-info dd a { text-decoration: none; }
.contact-info dd a:hover { color: var(--accent-text); }
.form { display: grid; gap: 20px; padding: 36px; border-radius: var(--r-lg); background: var(--soft); scroll-margin-top: 90px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; font: inherit; font-size: 17px; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: 12px;
  transition: border-color .15s, box-shadow .15s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(29, 29, 31, .08); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--grey); }
.consent input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--accent-text); flex-shrink: 0; }
.hp { position: absolute; left: -9999px; }
.form-status { padding: 14px 18px; border-radius: 12px; font-weight: 600; }
.form-status.ok { background: var(--ink); color: #fff; }
.form-status.error { background: #fff0f2; color: #b0001f; }
.form .btn { justify-self: start; }

/* ---------- Pricing ---------- */
.price-build {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center;
  padding: clamp(32px, 5vw, 56px); border-radius: var(--r-lg); background: #fff;
}
.price-build h3, .plan h3 { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.price-big { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .18em; margin: 10px 0 14px; font-size: clamp(44px, 5.4vw, 72px); white-space: nowrap; font-weight: 700; letter-spacing: -.045em; line-height: 1; }
.price-big small { font-size: .32em; font-weight: 500; letter-spacing: -.01em; color: var(--grey); }
.price-note { max-width: 40ch; margin-bottom: 26px; color: var(--grey); }
.checks { list-style: none; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; color: var(--accent); }
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 20px; }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(32px, 4vw, 44px); border-radius: var(--r-lg); background: #fff; border: 1.5px solid transparent;
}
.plan-featured { border-color: var(--ink); }
.plan-badge {
  position: absolute; top: clamp(32px, 4vw, 44px); right: clamp(32px, 4vw, 44px);
  padding: 5px 12px; border-radius: 99px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 600;
}
.plan-price { margin: 10px 0 8px; font-size: clamp(40px, 4.6vw, 54px); font-weight: 700; letter-spacing: -.04em; line-height: 1.05; }
.plan-price small { font-size: 16px; font-weight: 500; letter-spacing: 0; color: var(--grey); }
.plan-desc { margin-bottom: 26px; color: var(--grey); }
.plan .checks { margin-bottom: 32px; }
.plan .btn { margin-top: auto; align-self: flex-start; }
.price-footnote { max-width: 70ch; margin: 28px auto 0; text-align: center; font-size: 15px; color: var(--grey); }
@media (max-width: 820px) {
  .price-build, .plans { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .plan .btn, .price-build .btn { width: 100%; }
  .plan-badge { position: static; align-self: flex-start; margin-bottom: 14px; }
}

/* ---------- Theme toggle ---------- */
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: transparent; border: 1.5px solid var(--line); color: var(--ink); cursor: pointer;
  transition: color .2s, border-color .2s, background-color .2s;
}
@media (hover: hover) { .theme-toggle:hover { color: var(--accent-text); border-color: var(--accent-text); } }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
body.menu-open .theme-toggle { color: #fff; border-color: rgba(255, 255, 255, .3); transition: color .25s .3s, border-color .25s .3s; }
body.menu-open .theme-toggle:hover { color: var(--accent-text); border-color: var(--accent-text); }

.menu-theme { display: none; align-items: center; justify-content: flex-end; gap: 14px; margin-top: clamp(18px, calc(var(--menu-fs) * .6), 40px); font-size: clamp(15px, calc(var(--menu-fs) * .5), 18px); font-weight: 600; color: #fff; }
.switch {
  position: relative; width: 52px; height: 32px; flex-shrink: 0;
  border-radius: 99px; border: 0; background: #3a3a3c; cursor: pointer; transition: background-color .25s;
}
.switch span {
  position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .3); transition: transform .25s cubic-bezier(.2, .7, .2, 1);
}
.switch[aria-checked="true"] { background: var(--accent); }
.switch[aria-checked="true"] span { transform: translateX(20px); }

/* Smooth colour change only while switching */
html.theme-anim, html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after {
  transition: background-color .35s ease, color .35s ease, border-color .35s ease, fill .35s ease !important;
}

/* ---------- Dark theme ---------- */
:root[data-theme="dark"] {
  --accent-text: #ff4d6a;
  color-scheme: dark;
  --ink: #f5f5f7;
  --grey: #a1a1a6;
  --line: #38383a;
  --soft: #111113;
  --white: #000000;
  --surface: #1c1c1e;
}
:root[data-theme="dark"] .site-header { background: rgba(0, 0, 0, .72); }
:root[data-theme="dark"] .site-header.scrolled { border-bottom-color: rgba(255, 255, 255, .1); }
:root[data-theme="dark"] body.menu-open .site-header { background: transparent; transition: border-color .2s .3s, background-color .25s .3s; }
:root[data-theme="dark"] body.menu-open .logo { color: #fff; }
:root[data-theme="dark"] .mail-btn { background: #f5f5f7; color: #000; }
:root[data-theme="dark"] .mail-btn:hover { background: var(--accent); color: #fff; }
:root[data-theme="dark"] .menu-overlay { background: #0b0b0c; }

:root[data-theme="dark"] .btn-primary { color: #000; }
:root[data-theme="dark"] .btn-primary:hover { color: #fff; }
:root[data-theme="dark"] .btn-light { color: #000; }
:root[data-theme="dark"] .btn-light:hover { color: #fff; }

:root[data-theme="dark"] .tile,
:root[data-theme="dark"] .care li,
:root[data-theme="dark"] .price-build,
:root[data-theme="dark"] .plan { background: var(--surface); }
:root[data-theme="dark"] .tile-dark { background: #000; box-shadow: inset 0 0 0 1px #2c2c2e; }
:root[data-theme="dark"] .plan-featured { border-color: #f5f5f7; }
:root[data-theme="dark"] .steps li::before { color: #000; }
:root[data-theme="dark"] .carousel-nav button { background: #2c2c2e; }
:root[data-theme="dark"] .carousel-nav button:hover { background: #f5f5f7; color: #000; }
:root[data-theme="dark"] .case { background: #0b0b0c; }
:root[data-theme="dark"] .macbook .screen,
:root[data-theme="dark"] .phone { box-shadow: 0 0 0 1.5px #48484a, 0 40px 80px -30px rgba(0, 0, 0, .8); }

:root[data-theme="dark"] .contact-info,
:root[data-theme="dark"] .form { background: var(--surface); }
:root[data-theme="dark"] .field input,
:root[data-theme="dark"] .field select,
:root[data-theme="dark"] .field textarea { background: #2c2c2e; border-color: #3a3a3c; }
:root[data-theme="dark"] .field input:focus,
:root[data-theme="dark"] .field select:focus,
:root[data-theme="dark"] .field textarea:focus { border-color: #f5f5f7; box-shadow: 0 0 0 4px rgba(255, 255, 255, .12); }
:root[data-theme="dark"] .form-status.ok { color: #000; }
:root[data-theme="dark"] .form-status.error { background: #3a1016; color: #ff8a9b; }

/* ---------- Apple-style scroll animation hooks ---------- */
.lid { transform-origin: 50% 100%; will-change: transform; }
.stage .phone { will-change: transform; }
.tilt { transform-style: preserve-3d; transform-origin: 50% 60%; will-change: transform, opacity; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translate3d(0, 32px, 0);
  transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1);
}
.reveal.is-in { opacity: 1; transform: none; }
/* Scroll-driven reveal (Chrome, Edge, Safari 26+): tied to scroll position, never "pops in" */
@supports (animation-timeline: view()) {
  .reveal-sd {
    animation: sdIn linear both;
    animation-timeline: view();
    animation-range: entry calc(var(--ri, 0) * 6%) entry calc(75% + var(--ri, 0) * 6%);
  }
  @keyframes sdIn {
    from { opacity: 0; transform: translate3d(0, 44px, 0); }
    to { opacity: 1; transform: none; }
  }
}
@media (max-width: 768px) {
  @supports (animation-timeline: view()) {
    .reveal-sd { animation-range: entry 0% entry 70%; }
    @keyframes sdIn { from { opacity: 0; transform: translate3d(0, 26px, 0); } to { opacity: 1; transform: none; } }
  }
}
@media (max-width: 768px) {
  .reveal { transform: translate3d(0, 22px, 0); transition-duration: .65s; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .care { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .bento { grid-template-columns: 1fr; }
  .tile, .tile-wide { min-height: 0; }
  .case-grid, .contact-grid { grid-template-columns: 1fr; }
  .case-grid .phone { width: min(62%, 260px); }
}
@media (max-width: 768px) {
  .mail-btn { display: inline-flex; }
  .theme-toggle { display: none; }
  .menu-theme { display: flex; }
  .hero { padding-top: 120px; }
  .stage .phone { width: 28%; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .steps, .care, .form-row { grid-template-columns: 1fr; }
  .form, .contact-info { padding: 24px; }
  .m-links { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation: none !important; }
}

/* ---------- Contact form: validation & success ---------- */
.field-error { margin-top: 7px; font-size: 13.5px; font-weight: 600; color: #c4001f; }
:root[data-theme="dark"] .field-error { color: #ff7a8c; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #e0314b; box-shadow: 0 0 0 4px rgba(224, 49, 75, .1); }
#zgoda-wrap.invalid { color: #c4001f; }
:root[data-theme="dark"] #zgoda-wrap.invalid { color: #ff7a8c; }
.form-submit { gap: 10px; }
.form-submit .spinner { display: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
.form-submit.is-busy .spinner { display: inline-block; }
.form-submit[disabled] { cursor: progress; opacity: .8; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-success { padding: clamp(28px, 5vw, 48px); border-radius: var(--r-lg); background: var(--soft); text-align: center; outline: none; }
:root[data-theme="dark"] .form-success { background: var(--surface); }
.form-success-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; background: #1f9d55; color: #fff; animation: pop .5s cubic-bezier(.2,.9,.3,1.3); }
.form-success-icon svg { width: 30px; height: 30px; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.form-success h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 700; letter-spacing: -.03em; margin-bottom: 10px; }
.form-success p { max-width: 44ch; margin: 0 auto; color: var(--grey); }
.form-success-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }

/* ---------- Dlaczego Dukly: metamorfoza przed/po ---------- */
.mm-eyebrow { margin-bottom: 14px; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); }
.mm { max-width: 1040px; margin: 0 auto; }
.mm-stage {
  position: relative; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 22px; background: #eee;
  box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 40px 80px -40px rgba(0,0,0,.35);
  user-select: none; -webkit-user-select: none; touch-action: pan-y; cursor: ew-resize; --pos: 50%;
}
:root[data-theme="dark"] .mm-stage { box-shadow: 0 0 0 1px #2c2c2e, 0 40px 80px -40px rgba(0,0,0,.9); }
.mm-layer { position: absolute; inset: 0; overflow: hidden; }
.mm-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); z-index: 2; }
.mm-canvas { transform-origin: 0 0; container-type: inline-size; container-name: mm; }
.mm-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 4; width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.12), 0 0 18px rgba(0,0,0,.25); pointer-events: none; }
.mm-knob { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: #fff; color: #1d1d1f; box-shadow: 0 8px 24px rgba(0,0,0,.25); transition: transform .2s; }
.mm-knob svg { width: 22px; height: 22px; }
.mm-stage.is-dragging .mm-knob { transform: scale(1.1); }
.mm-tag { position: absolute; bottom: 16px; z-index: 5; padding: 6px 12px; border-radius: 99px; font-size: 13px; font-weight: 700; pointer-events: none; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: opacity .25s; }
.mm-tag-before { left: 16px; background: rgba(0,0,0,.6); color: #fff; }
.mm-tag-after { right: 16px; background: rgba(255,255,255,.85); color: #1d1d1f; }
.mm-range { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; clip: rect(0 0 0 0); }
.mm-range:focus-visible + .mm-note, .mm-stage:focus-within .mm-knob { box-shadow: 0 0 0 4px var(--accent), 0 8px 24px rgba(0,0,0,.25); }
.mm-note { margin-top: 14px; font-size: 13px; color: var(--grey); text-align: center; }

.mm-points { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; max-width: 1040px; margin: clamp(48px, 6vw, 72px) auto 0; }
.mm-points li { padding-top: 18px; border-top: 1px solid var(--line); }
.mm-points span { display: block; margin-bottom: 14px; font-size: 13px; font-weight: 700; color: var(--accent-text); letter-spacing: .04em; }
.mm-points h3 { font-size: 19px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 8px; }
.mm-points p { font-size: 15.5px; color: var(--grey); }

/* ---- PO: nowoczesna strona (responsywna względem szerokości płótna) ---- */
.af { position: relative; min-height: 100%; background: #0e1116; color: #fff; font-family: "Inter Tight", system-ui, sans-serif; font-size: 15px; }
.af-nav { position: relative; z-index: 2; display: flex; align-items: center; gap: 28px; padding: 22px 44px; }
.af-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -.02em; }
.af-logo i { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, #ffb020, #ff6a00); }
.af-links { flex: 1; display: flex; justify-content: flex-end; gap: 26px; color: rgba(255,255,255,.72); font-size: 14px; }
.af-cta { padding: 10px 18px; border-radius: 99px; background: #ffb020; color: #111; font-weight: 700; font-size: 14px; }
.af-hero { position: relative; display: flex; align-items: center; justify-content: flex-end; min-height: 440px; padding: 30px 44px 60px; isolation: isolate; }
.af-hero::before { content: ""; position: absolute; inset: -90px 0 0 0; z-index: -2; background: url("img/branza-warsztat.jpg") center/cover, linear-gradient(160deg, #3a414b, #0e1116); }
.af-hero::after { content: ""; position: absolute; inset: -90px 0 0 0; z-index: -1; background: linear-gradient(270deg, rgba(14,17,22,.94) 38%, rgba(14,17,22,.3)); }
.af-hero-text { max-width: 430px; margin-right: 12px; }
.af-kicker { font-size: 13px; font-weight: 600; color: #ffb020; letter-spacing: .04em; margin-bottom: 14px; }
.af h3 { font-size: 50px; line-height: 1.02; font-weight: 800; letter-spacing: -.045em; }
.af-lead { margin: 18px 0 26px; font-size: 17px; line-height: 1.55; color: rgba(255,255,255,.78); max-width: 34em; }
.af-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.af-btn { padding: 14px 22px; border-radius: 99px; background: #ffb020; color: #111; font-weight: 700; }
.af-btn-ghost { background: rgba(255,255,255,.12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.af-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.af-chips span { padding: 6px 12px; border-radius: 99px; background: rgba(255,255,255,.08); font-size: 13px; color: rgba(255,255,255,.8); }
.af-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 0 44px 44px; margin-top: -30px; position: relative; z-index: 2; }
.af-services div { display: flex; flex-direction: column; gap: 4px; padding: 20px; border-radius: 16px; background: #fff; color: #111; }
.af-services b { font-size: 17px; } .af-services span { font-size: 13.5px; color: #6b7280; }
.af-services em { margin-top: 8px; font-style: normal; font-weight: 800; font-size: 18px; color: #d97706; }
.af-float { display: none; }
@container mm (max-width: 600px) {
  .af { font-size: 14px; }
  .af-nav { padding: 16px 18px; gap: 12px; }
  .af-links { display: none; }
  .af-logo { flex: 1; font-size: 16px; }
  .af-cta { padding: 8px 14px; font-size: 13px; }
  .af-hero { min-height: 0; padding: 40px 18px 56px; align-items: flex-end; justify-content: flex-start; }
  .af-hero::after { background: linear-gradient(0deg, rgba(14,17,22,.96) 45%, rgba(14,17,22,.4)); }
  .af h3 { font-size: 36px; }
  .af-lead { font-size: 15px; margin: 14px 0 20px; }
  .af-btns { flex-direction: column; } .af-btn { text-align: center; }
  .af-services { grid-template-columns: 1fr; padding: 0 18px 90px; gap: 10px; margin-top: -24px; }
  .af-services div { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; padding: 14px 16px; }
  .af-services span { grid-column: 1; } .af-services em { grid-column: 2; grid-row: 1 / 3; align-self: center; margin: 0; font-size: 16px; }
  .af-float { display: block; position: absolute; left: 18px; right: 18px; bottom: 18px; padding: 14px; border-radius: 99px; background: #ffb020; color: #111; text-align: center; font-weight: 800; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
}

/* ---- PRZED: przestarzała strona (zawsze stała szerokość, jak stare strony) ---- */
.bf { width: 1040px; min-height: 100%; background: #c9d6e8; font-family: Verdana, Tahoma, Arial, sans-serif; font-size: 11px; color: #333; }
.bf-top { display: flex; justify-content: space-between; align-items: flex-end; padding: 18px 16px 12px; background: linear-gradient(#2b5aa6, #173a78); border-bottom: 3px solid #f2c200; }
.bf-logo { font-family: "Arial Black", Arial, sans-serif; font-weight: 900; font-size: 30px; color: #fff; letter-spacing: 1px; text-shadow: 2px 2px 0 #0b1f45; }
.bf-logo span { color: #f2c200; }
.bf-top-right { color: #cfe0ff; font-size: 10px; }
.bf-menu { display: flex; background: linear-gradient(#f4f4f4, #cfcfcf); border-bottom: 1px solid #999; }
.bf-menu span { padding: 7px 12px; border-right: 1px solid #aaa; font-size: 10px; font-weight: bold; color: #1b3b73; }
.bf-marquee { padding: 5px 10px; background: #fff200; color: #d00000; font-weight: bold; font-size: 11px; white-space: nowrap; overflow: hidden; }
.bf-cols { display: grid; grid-template-columns: 170px 1fr 180px; gap: 10px; padding: 10px; }
.bf-side { padding: 8px; background: #eef3fa; border: 1px solid #9fb3d1; }
.bf-side a, .bf-side .bf-a { display: block; padding: 3px 0; color: #0645ad; text-decoration: underline; font-size: 11px; }
.bf-box-title { margin: 6px 0 6px; padding: 3px 6px; background: #2b5aa6; color: #fff; font-weight: bold; font-size: 10px; }
.bf-side p { font-size: 10.5px; line-height: 1.5; }
.bf-counter { display: inline-block; padding: 2px 6px; background: #000; color: #39ff14; font-family: "Courier New", monospace; letter-spacing: 2px; }
.bf-main { padding: 10px 14px; background: #fff; border: 1px solid #9fb3d1; }
.bf-main h3 { font-family: "Times New Roman", serif; font-size: 20px; color: #173a78; margin-bottom: 8px; font-style: italic; }
.bf-photo { float: left; width: 150px; height: 100px; margin: 4px 12px 6px 0; border: 3px double #999; background: url("img/branza-warsztat.jpg") center/cover, #999; filter: saturate(.6) contrast(.9); }
.bf-main p { margin-bottom: 8px; line-height: 1.45; text-align: justify; font-family: "Times New Roman", serif; font-size: 12.5px; color: #555; }
.bf-foot { padding: 8px; text-align: center; font-size: 9.5px; color: #555; background: #b7c6dd; }

@media (max-width: 860px) { .mm-points { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .mm-stage { aspect-ratio: 10 / 16; border-radius: 18px; }
  .mm-points { grid-template-columns: 1fr; gap: 22px; }
  .mm-knob { width: 42px; height: 42px; margin: -21px 0 0 -21px; }
}

/* ---------- Strona 404 ---------- */
.nf-hero { padding: clamp(140px, 16vw, 200px) 0 clamp(56px, 8vw, 90px); text-align: center; }
.nf-code { display: flex; justify-content: center; align-items: center; gap: .06em; font-size: clamp(110px, 20vw, 220px); font-weight: 800; letter-spacing: -.06em; line-height: 1; color: var(--ink); }
.nf-mark { display: inline-grid; place-items: center; width: .82em; height: .82em; margin: 0 .04em; color: var(--accent); animation: nfFloat 4.5s ease-in-out infinite; }
.nf-mark svg { width: 88%; height: 88%; fill: currentColor; }
@keyframes nfFloat { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-.08em) rotate(6deg); } }
.nf-hero h1 { margin-top: 28px; font-size: clamp(34px, 5vw, 56px); font-weight: 700; letter-spacing: -.04em; line-height: 1.05; }
.nf-lead { max-width: 40ch; margin: 18px auto 32px; font-size: clamp(17px, 1.8vw, 20px); color: var(--grey); }
.nf-links { padding-bottom: clamp(90px, 12vw, 140px); }
.nf-label { margin-bottom: 18px; text-align: center; font-size: 14px; font-weight: 600; color: var(--grey); }
.nf-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 1040px; margin: 0 auto; }
.nf-card { display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: 22px; background: var(--soft); text-decoration: none; color: var(--ink); transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s; }
:root[data-theme="dark"] .nf-card { background: var(--surface); }
@media (hover: hover) { .nf-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(0,0,0,.3); } .nf-card:hover b { color: var(--accent-text); } }
.nf-ico { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 12px; border-radius: 12px; background: var(--white); color: var(--accent); }
:root[data-theme="dark"] .nf-ico { background: #2c2c2e; }
.nf-ico svg { width: 22px; height: 22px; }
.nf-card b { font-size: 18px; font-weight: 700; letter-spacing: -.02em; transition: color .2s; }
.nf-card span:last-child { font-size: 14.5px; color: var(--grey); line-height: 1.5; }
@media (max-width: 860px) { .nf-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .nf-grid { grid-template-columns: 1fr; } .nf-card { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 14px; } .nf-ico { margin: 0; } .nf-card span:last-child { flex-basis: 100%; } }
@media (prefers-reduced-motion: reduce) { .nf-mark { animation: none; } }

/* ---------- Podstrony branżowe (landing pages) ---------- */
.lp-hero { padding: clamp(120px, 14vw, 170px) 0 clamp(64px, 8vw, 100px); overflow: hidden; }
.lp-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.lp-hero-text .display { font-size: clamp(40px, 5.6vw, 72px); }
.lp-hero-text .sub { margin-top: 20px; max-width: 34ch; }
.lp-hero-text .actions { justify-content: flex-start; margin-top: 30px; }
.lp-crumbs { display: flex; gap: 8px; margin-bottom: 18px; font-size: 14px; color: var(--grey); }
.lp-crumbs a { color: var(--grey); text-decoration: none; } .lp-crumbs a:hover { color: var(--accent-text); }
.lp-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 28px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.lp-facts b { display: block; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.lp-facts span { font-size: 14px; color: var(--grey); }
.lp-hero-visual { position: relative; display: flex; justify-content: center; }
.lp-hero-visual .phone { width: min(300px, 70vw); transform: rotate(-4deg); animation: lpFloat 6s ease-in-out infinite; }
@keyframes lpFloat { 0%, 100% { transform: rotate(-4deg) translateY(0); } 50% { transform: rotate(-3deg) translateY(-10px); } }
.lp-badge { position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px; background: var(--white); color: var(--ink); font-size: 14px; font-weight: 600; white-space: nowrap; box-shadow: 0 18px 40px -16px rgba(0,0,0,.28), 0 0 0 1px rgba(0,0,0,.04); animation: lpBadge .6s .6s cubic-bezier(.2,.7,.2,1) both; }
:root[data-theme="dark"] .lp-badge { background: #1c1c1e; box-shadow: 0 18px 40px -16px rgba(0,0,0,.9), 0 0 0 1px #2c2c2e; }
.lp-badge i { width: 10px; height: 10px; border-radius: 50%; background: #1f9d55; box-shadow: 0 0 0 4px rgba(31,157,85,.15); }
.lp-badge-1 { top: 16%; left: -2%; }
.lp-badge-2 { bottom: 14%; right: -2%; animation-delay: 1s; }
.lp-badge-2 i { background: var(--accent); box-shadow: 0 0 0 4px rgba(255,0,45,.12); }
@keyframes lpBadge { from { opacity: 0; transform: translateY(10px) scale(.96); } }

.lp-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.lp-split .sub { margin-top: 18px; }
.lp-check { list-style: none; display: grid; gap: 10px; counter-reset: lpc; }
.lp-check li { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; padding: 18px 20px; border-radius: 18px; background: var(--white); }
:root[data-theme="dark"] .lp-check li { background: #000; }
.lp-check li::before { counter-increment: lpc; content: counter(lpc); grid-row: 1 / 3; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--soft); color: var(--accent); font-weight: 800; }
:root[data-theme="dark"] .lp-check li::before { background: var(--surface); }
.lp-check b { font-size: 17px; }
.lp-check span { font-size: 15px; color: var(--grey); }

.lp-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lp-feature { padding: 28px; border-radius: 22px; background: var(--soft); }
:root[data-theme="dark"] .lp-feature { background: var(--surface); }
.lp-ico { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 20px; border-radius: 14px; background: var(--white); color: var(--accent); }
:root[data-theme="dark"] .lp-ico { background: #2c2c2e; }
.lp-ico svg { width: 23px; height: 23px; }
.lp-feature h3 { font-size: 20px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 8px; }
.lp-feature p { font-size: 15.5px; color: var(--grey); }
.lp-case-lead { max-width: 52ch; margin: 18px auto 34px; font-size: clamp(17px, 1.8vw, 20px); color: rgba(255,255,255,.72); }

.lp-pricing { display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; max-width: 980px; margin: 0 auto; }
.lp-price-main, .lp-price-extras { padding: clamp(26px, 3.4vw, 40px); border-radius: 24px; background: var(--white); }
:root[data-theme="dark"] .lp-price-main, :root[data-theme="dark"] .lp-price-extras { background: #000; box-shadow: inset 0 0 0 1px #2c2c2e; }
.lp-price-label { font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-text); }
.lp-price { margin: 10px 0 20px; font-size: clamp(40px, 5vw, 56px); font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.lp-price small { font-size: 16px; font-weight: 600; letter-spacing: 0; color: var(--grey); }
.lp-price-main ul { list-style: none; display: grid; gap: 10px; margin-bottom: 28px; }
.lp-price-main li { position: relative; padding-left: 28px; font-size: 15.5px; }
.lp-price-main li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 12px; height: 7px; border-left: 2.4px solid #1f9d55; border-bottom: 2.4px solid #1f9d55; transform: rotate(-45deg); }
.lp-price-extras ul { list-style: none; margin-top: 14px; }
.lp-price-extras li { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.lp-price-extras li b { white-space: nowrap; }
.lp-price-note { margin-top: 18px; font-size: 14px; color: var(--grey); }
.lp-price-note a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.card-link a { display: block; color: inherit; text-decoration: none; }
.card-more { display: inline-block; margin-top: 10px; font-size: 14px; font-weight: 700; color: var(--accent-text); }
.case-more { align-self: center; margin-left: 8px; padding: 12px 8px; font-weight: 600; color: rgba(255,255,255,.8); text-decoration: none; }
.case-more:hover { color: #fff; }

@media (max-width: 900px) {
  .lp-hero-grid, .lp-split, .lp-pricing { grid-template-columns: 1fr; }
  .lp-hero-visual { margin-top: 10px; }
  .lp-features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .lp-features { grid-template-columns: 1fr; }
  .lp-feature { display: grid; grid-template-columns: 46px 1fr; column-gap: 16px; padding: 20px; }
  .lp-ico { grid-row: 1 / 3; margin: 0; }
  .lp-feature h3 { font-size: 18px; margin-bottom: 4px; }
  .lp-facts { gap: 18px; }
  .lp-badge { font-size: 12.5px; padding: 10px 12px; }
  .lp-badge-1 { left: 0; top: 8%; } .lp-badge-2 { right: 0; }
  .lp-hero-visual .phone { width: 240px; }
}
@media (prefers-reduced-motion: reduce) { .lp-hero-visual .phone, .lp-badge { animation: none; } }

/* ---------- Restauracja: demo na żywo ---------- */
.lp-eyebrow { margin-bottom: 14px; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); }
.lp-demo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.lp-demo-text .sub { margin-top: 18px; }
.lp-demo-steps { list-style: none; display: grid; gap: 8px; margin-top: 28px; }
.lp-demo-steps li { padding: 14px 18px; border-radius: 16px; cursor: pointer; transition: background-color .25s; }
.lp-demo-steps li b { display: block; font-size: 17px; }
.lp-demo-steps li span { font-size: 15px; color: var(--grey); }
.lp-demo-steps li.is-active { background: var(--soft); }
:root[data-theme="dark"] .lp-demo-steps li.is-active { background: var(--surface); }
.lp-demo-steps li.is-active b { color: var(--accent-text); }
.lp-demo-stage { position: relative; display: flex; flex-direction: column; align-items: center; }
.lp-app { width: 320px; max-width: 100%; padding: 10px; border-radius: 48px; background: #0c0c0d; box-shadow: 0 0 0 2px #b9b9be, 0 40px 80px -30px rgba(0,0,0,.45); }
.lp-app-screen { position: relative; height: 600px; overflow: hidden; border-radius: 38px; background: #faf7f2; color: #1f1b17; font-size: 14px; display: flex; flex-direction: column; }
.lp-app-screen::before { content: ""; position: absolute; top: 10px; left: 50%; width: 92px; height: 26px; margin-left: -46px; border-radius: 20px; background: #000; z-index: 6; }
.lp-app-head { display: flex; justify-content: space-between; align-items: center; padding: 48px 20px 12px; }
.lp-app-logo { font-family: Georgia, serif; font-size: 22px; font-weight: 700; }
.lp-open { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 99px; background: #e9f7ef; color: #16794a; font-size: 12px; font-weight: 700; }
.lp-open i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: lpPulse 1.8s ease-in-out infinite; }
.lp-open.is-closed { background: #fdecee; color: #c4001f; }
.lp-open.is-closed i { animation: none; }
@keyframes lpPulse { 50% { opacity: .35; } }
.lp-app-tabs { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 16px; padding: 3px; border-radius: 12px; background: #ece5da; }
.lp-app-tabs button { padding: 8px 0; border: 0; border-radius: 9px; background: none; font: inherit; font-size: 13px; font-weight: 600; color: #6d6660; cursor: pointer; }
.lp-app-tabs button[aria-selected="true"] { background: #fff; color: #1f1b17; box-shadow: 0 1px 4px rgba(0,0,0,.1); }
.lp-app-panel { flex: 1; overflow-y: auto; padding: 14px 16px 18px; animation: lpPanel .35s cubic-bezier(.2,.7,.2,1); scrollbar-width: none; }
.lp-app-panel::-webkit-scrollbar { display: none; }
@keyframes lpPanel { from { opacity: 0; transform: translateY(8px); } }
.lp-cats { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.lp-cats button { flex-shrink: 0; padding: 7px 13px; border-radius: 99px; border: 1px solid #e3dccf; background: #fff; font: inherit; font-size: 13px; font-weight: 600; color: #1f1b17; cursor: pointer; }
.lp-cats button[aria-pressed="true"] { background: #1f1b17; border-color: #1f1b17; color: #fff; }
.lp-veg { display: flex; align-items: center; gap: 8px; margin: 12px 0 4px; font-size: 13px; font-weight: 600; cursor: pointer; }
.lp-veg input { position: absolute; opacity: 0; }
.lp-veg span { position: relative; width: 34px; height: 20px; border-radius: 99px; background: #d9d2c6; transition: background-color .2s; }
.lp-veg span::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; }
.lp-veg input:checked + span { background: #2f8f4e; }
.lp-veg input:checked + span::after { transform: translateX(14px); }
.lp-dishes { list-style: none; }
.lp-dishes li { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 12px 0; border-bottom: 1px solid #ebe4da; animation: lpPanel .3s both; animation-delay: calc(var(--i) * 40ms); }
.lp-dishes b { font-size: 14.5px; }
.lp-dishes em { font-style: normal; font-weight: 800; }
.lp-dishes span { grid-column: 1 / -1; font-size: 12.5px; color: #6d6660; }
.lp-dishes .veg { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 99px; background: #e5f4ea; color: #2f8f4e; font-size: 10.5px; font-weight: 700; vertical-align: 1px; }
.lp-dishes li.is-empty { display: block; color: #6d6660; text-align: center; border: 0; }
.lp-app-label { margin: 6px 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #6d6660; }
.lp-days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-bottom: 8px; }
.lp-days button, .lp-slots button { padding: 8px 0; border-radius: 12px; border: 1px solid #e3dccf; background: #fff; font: inherit; font-size: 12px; color: #6d6660; cursor: pointer; }
.lp-days button b { display: block; font-size: 16px; color: #1f1b17; }
.lp-days button[aria-pressed="true"], .lp-slots button[aria-pressed="true"] { background: #1f1b17; border-color: #1f1b17; color: #fff; }
.lp-days button[aria-pressed="true"] b { color: #fff; }
.lp-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 14px; }
.lp-slots button { font-size: 13.5px; font-weight: 600; color: #1f1b17; }
.lp-slots button:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.lp-people { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-radius: 14px; background: #fff; margin-bottom: 14px; font-weight: 600; }
.lp-people div { display: flex; align-items: center; gap: 12px; }
.lp-people button { width: 30px; height: 30px; border-radius: 50%; border: 1px solid #e3dccf; background: #faf7f2; font-size: 18px; line-height: 1; cursor: pointer; color: #1f1b17; }
.lp-people b { min-width: 16px; text-align: center; font-size: 16px; }
.lp-app-cta { display: block; width: 100%; padding: 13px; border: 0; border-radius: 99px; background: #c8743d; color: #fff; font: inherit; font-weight: 700; text-align: center; cursor: pointer; }
.lp-app-cta-ghost { background: #fff; color: #1f1b17; box-shadow: inset 0 0 0 1px #e3dccf; }
.lp-app-cta:disabled { opacity: .5; cursor: not-allowed; }
.lp-done { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 30px; background: #faf7f2; text-align: center; z-index: 3; animation: lpPanel .4s both; }
.lp-done-ico { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 8px; border-radius: 50%; background: #34c759; color: #fff; animation: pop .5s cubic-bezier(.2,.9,.3,1.3); }
.lp-done-ico svg { width: 30px; height: 30px; }
.lp-done b { font-size: 20px; }
.lp-done span { color: #6d6660; }
.lp-done button { margin-top: 14px; padding: 10px 18px; border: 0; border-radius: 99px; background: #ece5da; font: inherit; font-weight: 600; cursor: pointer; color: #1f1b17; }
.lp-map { position: relative; height: 170px; border-radius: 16px; overflow: hidden; background:
  linear-gradient(90deg, transparent 46%, #fff 46%, #fff 50%, transparent 50%),
  linear-gradient(0deg, transparent 60%, #fff 60%, #fff 64%, transparent 64%),
  linear-gradient(28deg, transparent 72%, #fff 72%, #fff 74.5%, transparent 74.5%),
  repeating-linear-gradient(0deg, transparent 0 22px, rgba(0,0,0,.04) 22px 23px),
  repeating-linear-gradient(90deg, transparent 0 22px, rgba(0,0,0,.04) 22px 23px), #e9e2d6; }
.lp-pin { position: absolute; left: 48%; top: 44%; width: 26px; height: 26px; transform: translate(-50%, -100%) rotate(-45deg); border-radius: 50% 50% 50% 0; background: #c8743d; box-shadow: 0 6px 14px rgba(0,0,0,.25); animation: lpDrop .6s cubic-bezier(.3,1.5,.5,1) both; }
.lp-pin::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: #fff; }
@keyframes lpDrop { from { transform: translate(-50%, -160%) rotate(-45deg); opacity: 0; } }
.lp-addr { margin: 14px 0 10px; }
.lp-addr b, .lp-addr span { display: block; } .lp-addr span { font-size: 13px; color: #6d6660; }
.lp-hours { list-style: none; margin-bottom: 14px; font-size: 13px; }
.lp-hours li { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid #ebe4da; color: #6d6660; }
.lp-hours li.is-today { color: #1f1b17; font-weight: 700; }
.lp-app-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lp-notify {
  position: absolute; top: 90px; right: calc(50% - 250px); z-index: 7; width: 250px; padding: 14px 16px; border-radius: 18px;
  background: rgba(255,255,255,.92); color: #1d1d1f; box-shadow: 0 20px 50px -18px rgba(0,0,0,.35), 0 0 0 1px rgba(0,0,0,.05);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); opacity: 0; transform: translateY(-10px) scale(.96); pointer-events: none;
  transition: opacity .35s, transform .45s cubic-bezier(.2,.9,.3,1.2);
}
:root[data-theme="dark"] .lp-notify { background: rgba(44,44,46,.92); color: #f5f5f7; }
.lp-notify.show { opacity: 1; transform: none; }
.lp-notify-app { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 4px; }
.lp-notify b { display: block; font-size: 15px; }
.lp-notify span:last-child { font-size: 14px; color: var(--grey); }
.lp-demo-note { margin-top: 16px; font-size: 13px; color: var(--grey); }

/* ---------- Restauracja: kalkulator ceny ---------- */
.lp-calc { margin-top: 14px; }
.lp-opt { display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); cursor: pointer; font-size: 15.5px; }
.lp-opt input { position: absolute; opacity: 0; pointer-events: none; }
.lp-opt-box { position: relative; width: 22px; height: 22px; border-radius: 7px; border: 1.6px solid var(--line); background: var(--white); transition: background-color .2s, border-color .2s; }
:root[data-theme="dark"] .lp-opt-box { background: #1c1c1e; border-color: #48484a; }
.lp-opt input:checked + .lp-opt-box { background: var(--ink); border-color: var(--ink); }
.lp-opt input:checked + .lp-opt-box::after { content: ""; position: absolute; left: 7px; top: 3px; width: 5px; height: 10px; border-right: 2px solid var(--white); border-bottom: 2px solid var(--white); transform: rotate(45deg); }
.lp-opt input:focus-visible + .lp-opt-box { box-shadow: 0 0 0 3px var(--accent); }
.lp-opt b { white-space: nowrap; }
.lp-care { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; flex-wrap: wrap; }
.lp-care-label { font-size: 15.5px; }
.lp-care-opts { display: inline-flex; gap: 4px; padding: 3px; border-radius: 99px; background: var(--soft); }
:root[data-theme="dark"] .lp-care-opts { background: #1c1c1e; }
.lp-care-opts input { position: absolute; opacity: 0; pointer-events: none; }
.lp-care-opts span { display: block; padding: 7px 14px; border-radius: 99px; font-size: 14px; font-weight: 600; color: var(--grey); cursor: pointer; transition: background-color .2s, color .2s; }
.lp-care-opts input:checked + span { background: var(--ink); color: var(--white); }
.lp-care-opts input:focus-visible + span { box-shadow: 0 0 0 3px var(--accent); }
.lp-total { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 22px 0 16px; padding: 18px 20px; border-radius: 18px; background: var(--soft); }
:root[data-theme="dark"] .lp-total { background: #1c1c1e; }
.lp-total span { width: 100%; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--grey); }
.lp-total b { font-size: 36px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.lp-total b.bump { animation: lpBump .35s ease; }
@keyframes lpBump { 50% { transform: scale(1.06); } }
.lp-total small { font-size: 14px; color: var(--grey); }
.lp-total-cta { width: 100%; }

@media (max-width: 900px) {
  .lp-demo { grid-template-columns: 1fr; }
  .lp-demo-steps { display: none; }
  .lp-notify { right: max(0px, calc(50% - 250px)); top: 70px; }
}
@media (max-width: 600px) {
  .lp-app { width: 290px; border-radius: 44px; }
  .lp-app-screen { height: 560px; border-radius: 35px; }
  .lp-notify { width: 220px; right: 4px; top: 40px; }
}
@media (prefers-reduced-motion: reduce) { .lp-open i, .lp-pin, .lp-dishes li, .lp-app-panel { animation: none; } }

/* ---------- Mini-telefon: salon beauty ---------- */
.m-beauty { background: #fbf4f1; color: #3b2a28; }
.m-beauty h4 { font-family: "Playfair Display", Georgia, serif; font-weight: 600; }
.m-beauty small { color: #9c4f5b; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.m-beauty .m-btn { background: #a15a66; color: #fff; }
.m-beauty li { border-top-color: #f0e2dd; }

/* ---------- Uniwersalne demo rezerwacji (bk) ---------- */
.bk-app { --bk-bg: #faf7f2; --bk-ink: #1f1b17; --bk-mute: #6d6660; --bk-card: #fff; --bk-line: #ebe4da; --bk-acc: #c8743d; --bk-acc-ink: #fff; --bk-chip: #ece5da; --bk-font: Georgia, serif; }
.bk-barber { --bk-bg: #0d0d0d; --bk-ink: #ebe6dc; --bk-mute: #8f8a82; --bk-card: #171717; --bk-line: #2a2a2a; --bk-acc: #b8976a; --bk-acc-ink: #0d0d0d; --bk-chip: #1f1f1f; --bk-font: "Anton", Impact, sans-serif; }
.bk-beauty { --bk-bg: #fbf4f1; --bk-ink: #3b2a28; --bk-mute: #7a625d; --bk-card: #fff; --bk-line: #f0e2dd; --bk-acc: #a15a66; --bk-acc-ink: #fff; --bk-chip: #f3e6e2; --bk-font: "Playfair Display", Georgia, serif; }
.bk-screen { background: var(--bk-bg); color: var(--bk-ink); }
.bk-head { display: flex; justify-content: space-between; align-items: center; padding: 48px 20px 12px; }
.bk-brand { font-family: var(--bk-font); font-size: 22px; font-weight: 600; letter-spacing: .01em; }
.bk-barber .bk-brand { font-weight: 400; letter-spacing: .04em; }
.bk-barber .lp-open { background: #16301f; color: #6fdc9a; } .bk-barber .lp-open.is-closed { background: #3a1016; color: #ff8a9b; }
.bk-tabs { background: var(--bk-chip); }
.bk-tabs button { color: var(--bk-mute); }
.bk-tabs button[aria-selected="true"] { background: var(--bk-card); color: var(--bk-ink); }
.bk-barber .bk-tabs button[aria-selected="true"] { background: #2a2a2a; }
.bk-panel.no-anim { animation: none; }
.bk-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 3px; margin-bottom: 10px; border-radius: 10px; background: var(--bk-chip); }
.bk-seg button { padding: 7px 0; border: 0; border-radius: 8px; background: none; font: inherit; font-size: 12.5px; font-weight: 700; color: var(--bk-mute); cursor: pointer; letter-spacing: .02em; }
.bk-seg button[aria-pressed="true"] { background: var(--bk-acc); color: var(--bk-acc-ink); }
.bk-cats button { background: var(--bk-card); border-color: var(--bk-line); color: var(--bk-ink); }
.bk-cats button[aria-pressed="true"] { background: var(--bk-ink); border-color: var(--bk-ink); color: var(--bk-bg); }
.bk-list { list-style: none; margin-top: 8px; }
.bk-list li { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 10px; padding: 11px 0; border-bottom: 1px solid var(--bk-line); animation: lpPanel .3s both; animation-delay: calc(var(--i) * 40ms); }
.bk-list b { font-size: 14px; } .bk-list em { font-style: normal; font-weight: 800; }
.bk-list span { font-size: 12px; color: var(--bk-mute); }
.bk-mini { justify-self: end; padding: 5px 10px; border: 0; border-radius: 99px; background: var(--bk-chip); color: var(--bk-ink); font: inherit; font-size: 11.5px; font-weight: 700; cursor: pointer; }
.bk-mini:hover { background: var(--bk-acc); color: var(--bk-acc-ink); }
.bk-person { display: grid; grid-template-columns: 44px 1fr; gap: 4px 12px; align-items: center; padding: 14px; margin-bottom: 8px; border-radius: 16px; background: var(--bk-card); animation: lpPanel .3s both; animation-delay: calc(var(--i) * 60ms); }
.bk-avatar { grid-row: 1 / 3; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--bk-acc), #3a3530); color: #fff; font-weight: 800; }
.bk-person b { display: block; font-size: 15px; } .bk-person small { display: block; font-size: 11.5px; font-weight: 700; color: var(--bk-acc); letter-spacing: .03em; text-transform: uppercase; }
.bk-person span { display: block; font-size: 12.5px; color: var(--bk-mute); }
.bk-person .bk-mini { grid-column: 2; justify-self: start; margin-top: 6px; }
.bk-select, .bk-input { width: 100%; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--bk-line); background: var(--bk-card); color: var(--bk-ink); font: inherit; font-size: 13.5px; }
.bk-who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.bk-who button { padding: 8px 4px; border-radius: 12px; border: 1px solid var(--bk-line); background: var(--bk-card); color: var(--bk-ink); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.bk-who small { display: block; font-size: 10.5px; font-weight: 600; color: var(--bk-mute); }
.bk-who button[aria-pressed="true"] { background: var(--bk-ink); border-color: var(--bk-ink); color: var(--bk-bg); }
.bk-who button[aria-pressed="true"] small { color: var(--bk-bg); opacity: .7; }
.bk-app .lp-days button, .bk-app .lp-slots button { background: var(--bk-card); border-color: var(--bk-line); color: var(--bk-mute); }
.bk-app .lp-days button b, .bk-app .lp-slots button { color: var(--bk-ink); }
.bk-app .lp-days button[aria-pressed="true"], .bk-app .lp-slots button[aria-pressed="true"] { background: var(--bk-ink); border-color: var(--bk-ink); color: var(--bk-bg); }
.bk-app .lp-days button[aria-pressed="true"] b { color: var(--bk-bg); }
.bk-app .lp-app-label { color: var(--bk-mute); }
.bk-sum { display: flex; justify-content: space-between; gap: 10px; margin: 2px 0 12px; padding: 10px 12px; border-radius: 12px; background: var(--bk-card); font-size: 12.5px; }
.bk-sum span { color: var(--bk-mute); } .bk-sum b { white-space: nowrap; }
.bk-cta { background: var(--bk-acc); color: var(--bk-acc-ink); }
.bk-barber .bk-cta { border-radius: 0; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; }
.bk-done { background: var(--bk-bg); color: var(--bk-ink); z-index: 5; }
.bk-done span { color: var(--bk-mute); }
.bk-done button { background: var(--bk-chip); color: var(--bk-ink); }
.bk-voucher { position: relative; display: grid; gap: 2px; padding: 18px; margin-bottom: 6px; border-radius: 18px; overflow: hidden; color: #fff; background: linear-gradient(135deg, #c98f8a, #7d4a47 70%, #3b2a28); box-shadow: 0 14px 30px -14px rgba(0,0,0,.4); }
.bk-voucher::after { content: ""; position: absolute; right: -30px; top: -30px; width: 120px; height: 120px; border-radius: 50%; background: rgba(255,255,255,.12); }
.bk-v-brand { font-family: var(--bk-font); font-size: 15px; }
.bk-v-title { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.bk-v-amount { margin: 10px 0 2px; font-size: 34px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.bk-v-for { font-size: 14px; }
.bk-v-code { font-family: ui-monospace, monospace; font-size: 11.5px; opacity: .75; }
.bk-amounts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.bk-amounts button { padding: 9px 0; border-radius: 12px; border: 1px solid var(--bk-line); background: var(--bk-card); color: var(--bk-ink); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.bk-amounts button[aria-pressed="true"] { background: var(--bk-ink); border-color: var(--bk-ink); color: var(--bk-bg); }
.bk-app .bk-input { margin-bottom: 12px; }

/* ---------- Strona ślubna: demo dla gości ---------- */
.bk-wedding { --bk-bg: #fbf8f4; --bk-ink: #2b2320; --bk-mute: #9a877a; --bk-card: #fff; --bk-line: #ece4da; --bk-acc: #b8976a; --bk-acc-ink: #fff; --bk-chip: #f1ebe3; --bk-font: "Playfair Display", Georgia, serif; }
.wd-head { flex-direction: column; align-items: center; gap: 2px; padding-bottom: 14px; }
.wd-date { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--bk-acc); }
.wd-count { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 14px; }
.wd-count div { padding: 10px 0 8px; border-radius: 14px; background: var(--bk-card); text-align: center; }
.wd-count b { display: block; font-family: var(--bk-font); font-size: 22px; font-variant-numeric: tabular-nums; }
.wd-count span { font-size: 11px; color: var(--bk-mute); }
.wd-plan { list-style: none; margin-bottom: 14px; }
.wd-plan li { display: grid; grid-template-columns: 58px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--bk-line); animation: lpPanel .3s both; animation-delay: calc(var(--i) * 50ms); }
.wd-plan time { font-weight: 700; font-size: 13px; color: var(--bk-acc); }
.wd-plan b { display: block; font-size: 14px; } .wd-plan span { font-size: 12px; color: var(--bk-mute); }
.wd-lead { margin-bottom: 12px; font-size: 13px; color: var(--bk-mute); text-align: center; }
.wd-scan { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; width: 100%; padding: 18px 12px 14px; margin-bottom: 12px; border: 1.5px dashed var(--bk-acc); border-radius: 18px; background: var(--bk-card); color: var(--bk-ink); font: inherit; cursor: pointer; overflow: hidden; }
.wd-qr { width: 84px; height: 84px; margin-bottom: 8px; border-radius: 8px; background:
  linear-gradient(90deg, var(--bk-ink) 0 28%, transparent 28% 36%, var(--bk-ink) 36% 44%, transparent 44% 56%, var(--bk-ink) 56% 64%, transparent 64% 72%, var(--bk-ink) 72%) 0 0 / 100% 14% no-repeat,
  repeating-linear-gradient(90deg, var(--bk-ink) 0 7px, transparent 7px 12px), var(--bk-card);
  -webkit-mask: repeating-linear-gradient(0deg, #000 0 8px, transparent 8px 12px); mask: repeating-linear-gradient(0deg, #000 0 8px, transparent 8px 12px); opacity: .85; }
.wd-scan b { font-size: 15px; } .wd-scan small { font-size: 12px; color: var(--bk-mute); }
.wd-scan-line { position: absolute; left: 10%; right: 10%; top: 18px; height: 2px; background: var(--bk-acc); box-shadow: 0 0 12px var(--bk-acc); opacity: 0; }
.wd-scan.is-scanning .wd-scan-line { opacity: 1; animation: wdScan 1.2s ease-in-out infinite alternate; }
@keyframes wdScan { to { top: 100px; } }
.wd-code { display: grid; grid-template-columns: 1fr auto; gap: 6px; align-items: center; }
.wd-code .bk-input { margin: 0; text-transform: uppercase; }
.wd-err { min-height: 16px; margin-top: 6px; font-size: 12px; color: #c4001f; }
.wd-hello { margin-bottom: 12px; text-align: center; }
.wd-hello small { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--bk-acc); }
.wd-hello b { font-family: var(--bk-font); font-size: 19px; }
.wd-menu { display: grid; grid-template-columns: 70px 1fr; gap: 8px; align-items: center; margin-bottom: 6px; font-size: 13px; }
.wd-stay { margin: 10px 0 12px; }
.wd-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-bottom: 10px; min-height: 40px; }
.wd-ph { aspect-ratio: 1; border-radius: 10px; background: url("/img/slub.jpg") var(--p) 50% / 380% no-repeat, linear-gradient(135deg, #e9dccd, #b8976a); }
.wd-ph-new { animation: wdPop .45s cubic-bezier(.2,.9,.3,1.3) both; }
@keyframes wdPop { from { transform: scale(.5); opacity: 0; } }
.wd-bar { height: 6px; margin-bottom: 12px; border-radius: 99px; background: var(--bk-chip); overflow: hidden; }
.wd-bar span { display: block; width: 0; height: 100%; background: var(--bk-acc); transition: width .3s; }
.lp-opt-name small { display: block; margin-top: 2px; font-size: 13px; color: var(--grey); }
.lp-opt b { font-size: 15px; }
.m-slub { background: #fbf8f4; color: #2b2320; }
.m-slub h4 { font-family: "Playfair Display", Georgia, serif; font-weight: 600; }
.m-slub small { color: #86683f; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.m-slub .m-btn { background: #2b2320; color: #fff; }

/* ---------- Artykuł ---------- */
.art-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 120; height: 3px; pointer-events: none; }
.art-progress span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .1s linear; }
.art-hero { padding: clamp(120px, 14vw, 160px) 0 clamp(36px, 5vw, 56px); }
.art-narrow { max-width: 820px; }
.art-kicker { margin-bottom: 14px; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); }
.art-title { font-size: clamp(36px, 5.2vw, 64px); font-weight: 800; letter-spacing: -.045em; line-height: 1.04; }
.art-lead { margin-top: 20px; font-size: clamp(18px, 2vw, 22px); line-height: 1.5; color: var(--grey); max-width: 44ch; }
.art-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; color: var(--grey); }
.art-author { display: flex; align-items: center; gap: 10px; }
.art-author img { border-radius: 10px; }
.art-author b { display: block; color: var(--ink); }
.art-share { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; padding: 8px 14px; border-radius: 99px; border: 1.5px solid var(--line); background: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; }
.art-share svg { width: 16px; height: 16px; }
@media (hover: hover) { .art-share:hover { border-color: var(--accent-text); color: var(--accent-text); } }
.art-layout { display: grid; grid-template-columns: 230px minmax(0, 720px); gap: clamp(32px, 5vw, 72px); justify-content: center; padding-bottom: clamp(80px, 10vw, 120px); }
.art-toc { position: sticky; top: 100px; align-self: start; font-size: 14px; }
.art-toc p { margin-bottom: 12px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); }
.art-toc ol { list-style: none; border-left: 2px solid var(--line); }
.art-toc a { display: block; margin-left: -2px; padding: 7px 0 7px 14px; border-left: 2px solid transparent; color: var(--grey); text-decoration: none; transition: color .2s, border-color .2s; }
.art-toc a:hover { color: var(--ink); }
.art-toc a.is-active { color: var(--ink); font-weight: 600; border-left-color: var(--accent-text); }
.art-body { font-size: 18px; line-height: 1.7; }
.art-body section { scroll-margin-top: 90px; margin-bottom: 56px; }
.art-body h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 700; letter-spacing: -.03em; line-height: 1.15; margin-bottom: 18px; }
.art-body p { margin-bottom: 16px; color: var(--ink); }
.art-body a:not(.btn) { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.art-body .btn { text-decoration: none; }
.art-tldr { padding: 28px 30px; border-radius: 22px; background: var(--soft); }
:root[data-theme="dark"] .art-tldr { background: var(--surface); }
.art-tldr h2 { font-size: 20px; margin-bottom: 12px; }
.art-tldr ul { list-style: none; display: grid; gap: 10px; }
.art-tldr li { position: relative; padding-left: 26px; font-size: 16.5px; line-height: 1.55; }
.art-tldr li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 11px; height: 6px; border-left: 2.4px solid var(--accent); border-bottom: 2.4px solid var(--accent); transform: rotate(-45deg); }
.art-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
.art-cards div { padding: 18px 20px; border-radius: 18px; background: var(--soft); font-size: 15.5px; line-height: 1.5; }
:root[data-theme="dark"] .art-cards div { background: var(--surface); }
.art-cards b { display: block; margin-bottom: 4px; font-size: 16.5px; }
.art-cards span { color: var(--grey); }
.art-table-wrap { overflow-x: auto; margin: 8px 0 20px; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); }
.art-table { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.art-table th, .art-table td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.art-table thead th { font-size: 13px; color: var(--grey); font-weight: 600; }
.art-table tbody tr:last-child th, .art-table tbody tr:last-child td { border-bottom: 0; }
.art-table tr.art-dukly { background: var(--soft); }
:root[data-theme="dark"] .art-table tr.art-dukly { background: var(--surface); }
.art-table tr.art-dukly th { color: var(--accent-text); }
.art-list { list-style: none; display: grid; gap: 12px; margin-bottom: 18px; }
.art-list li { position: relative; padding-left: 22px; }
.art-list li::before { content: ""; position: absolute; left: 0; top: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.art-note { padding: 18px 22px; border-left: 3px solid var(--accent); border-radius: 0 16px 16px 0; background: var(--soft); font-size: 16.5px; }
:root[data-theme="dark"] .art-note { background: var(--surface); }
.art-calc { display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; margin: 8px 0 12px; }
.art-calc-opts { padding: 8px 22px; border-radius: 22px; background: var(--soft); font-size: 16px; line-height: 1.4; }
:root[data-theme="dark"] .art-calc-opts { background: var(--surface); }
.art-calc-opts .lp-opt:last-of-type { border-bottom: 1px solid var(--line); }
.art-calc-result { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 22px; background: var(--ink); color: var(--white); }
:root[data-theme="dark"] .art-calc-result { background: #1c1c1e; color: #f5f5f7; box-shadow: inset 0 0 0 1px #2c2c2e; }
.art-calc-result div { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; line-height: 1.4; }
.art-calc-result div span { opacity: .75; }
.art-calc-total { flex-direction: column; margin-top: 6px; padding-top: 14px; border-top: 1px solid rgba(128,128,128,.35); }
.art-calc-total b { font-size: 38px; font-weight: 800; letter-spacing: -.04em; line-height: 1.1; }
.art-calc-total b.bump { animation: lpBump .35s ease; }
.art-calc-total small { opacity: .7; }
.art-calc-result .btn { margin-top: auto; background: #fff; color: #111; border-color: #fff; text-align: center; }
.art-small { font-size: 14px; color: var(--grey) !important; }
.art-steps { counter-reset: st; list-style: none; display: grid; gap: 10px; }
.art-steps li { counter-increment: st; position: relative; padding: 14px 16px 14px 56px; border-radius: 16px; background: var(--soft); font-size: 16.5px; line-height: 1.5; }
:root[data-theme="dark"] .art-steps li { background: var(--surface); }
.art-steps li::before { content: counter(st); position: absolute; left: 14px; top: 12px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--white); font-size: 14px; font-weight: 700; }
.art-cta { padding: 34px; border-radius: 26px; background: var(--soft); text-align: center; }
:root[data-theme="dark"] .art-cta { background: var(--surface); }
.art-cta p { color: var(--grey); }
.art-cta .actions { justify-content: center; }
#art-toast { position: fixed; left: 50%; bottom: 28px; z-index: 400; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 12px 18px; border-radius: 99px; background: var(--ink); color: var(--white); font-size: 14px; font-weight: 600; box-shadow: 0 10px 30px rgba(0,0,0,.25); transition: opacity .25s, transform .25s; }
#art-toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 960px) {
  .art-layout { grid-template-columns: minmax(0, 1fr); }
  .art-toc { position: static; padding: 18px 20px; border-radius: 18px; background: var(--soft); }
  :root[data-theme="dark"] .art-toc { background: var(--surface); }
  .art-calc { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .art-body { font-size: 17px; }
  .art-cards { grid-template-columns: 1fr; }
  .art-share { margin-left: 0; }
  .art-tldr, .art-cta { padding: 22px 20px; }
}

/* ---------- Blog: lista wpisów ---------- */
.blog-list-section { padding-top: 0; }
.blog-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 1040px; margin: 0 auto; }
.blog-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 26px; background: var(--soft); color: var(--ink); text-decoration: none; transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s; }
:root[data-theme="dark"] .blog-card { background: var(--surface); }
.blog-card-featured { grid-column: 1 / -1; flex-direction: row; }
@media (hover: hover) { a.blog-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(0,0,0,.3); } a.blog-card:hover h2 { color: var(--accent-text); } }
.blog-card-art { display: grid; place-items: center; min-height: 220px; flex: 1; background: radial-gradient(circle at 30% 30%, #ff4d6a, #ff002d 45%, #8a0019); }
.blog-card-art span { font-size: clamp(64px, 9vw, 110px); font-weight: 800; letter-spacing: -.05em; color: rgba(255,255,255,.95); }
.blog-card-text { flex: 1.2; padding: clamp(24px, 3.5vw, 40px); }
.blog-card small { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-text); }
.blog-card h2 { margin: 10px 0; font-size: clamp(24px, 2.8vw, 32px); font-weight: 700; letter-spacing: -.03em; line-height: 1.15; transition: color .2s; }
.blog-card p { color: var(--grey); }
.blog-card-meta { display: block; margin-top: 16px; font-size: 14px; color: var(--grey); }
.blog-card-soon { background: transparent !important; box-shadow: inset 0 0 0 1.5px var(--line); }
.blog-card-soon small, .blog-card-soon p { color: var(--grey); }
@media (max-width: 760px) { .blog-list { grid-template-columns: 1fr; } .blog-card-featured { flex-direction: column; } .blog-card-art { min-height: 160px; } }

/* ---------- Realizacje (case studies) ---------- */
.cs-hero { padding: clamp(120px, 14vw, 170px) 0 clamp(48px, 6vw, 80px); }
.cs-hero .display { font-size: clamp(48px, 7vw, 96px); }
.cs-hero .sub { margin-top: 18px; max-width: 46ch; }
.cs-index { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
.cs-index-card { display: flex; align-items: center; gap: 22px; padding: 18px; border-radius: 24px; text-decoration: none; transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s; }
.cs-index-card img { width: 90px; height: auto; border-radius: 14px; box-shadow: 0 10px 24px -12px rgba(0,0,0,.4); }
.cs-index-card small { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .7; }
.cs-index-card b { display: block; margin: 4px 0 6px; font-size: 30px; font-weight: 800; letter-spacing: -.04em; }
.cs-index-card em { font-style: normal; font-size: 14px; font-weight: 600; }
@media (hover: hover) { .cs-index-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(0,0,0,.35); } }
.cs-warm { --cs-bg: #f4efe7; --cs-ink: #1f1b17; --cs-mute: #6d6660; --cs-card: #fffdf9; --cs-line: #e5dccf; --cs-acc: #a3561f; }
.cs-dark { --cs-bg: #0d0d0d; --cs-ink: #ebe6dc; --cs-mute: #8f8a82; --cs-card: #171717; --cs-line: #2a2a2a; --cs-acc: #b8976a; }
.cs-index-card.cs-warm, .cs-index-card.cs-dark { background: var(--cs-bg); color: var(--cs-ink); }
.cs-index-card em { color: var(--cs-acc); }
.cs { padding: clamp(80px, 11vw, 140px) 0; background: var(--cs-bg); color: var(--cs-ink); scroll-margin-top: 60px; }
.cs-head { max-width: 760px; }
.cs-kicker { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cs-acc); }
.cs-name { margin-top: 10px; font-size: clamp(56px, 9vw, 120px); font-weight: 800; letter-spacing: -.06em; line-height: .95; }
.cs-lead { margin-top: 22px; font-size: clamp(18px, 2vw, 22px); line-height: 1.5; color: var(--cs-mute); }
.cs-meta { display: flex; flex-wrap: wrap; gap: 12px 36px; margin-top: 28px; }
.cs-meta dt { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--cs-mute); }
.cs-meta dd { margin-top: 2px; font-size: 17px; font-weight: 600; }
.cs-show { position: relative; display: grid; grid-template-columns: 1.55fr 1fr; gap: 28px; align-items: end; margin-top: clamp(40px, 6vw, 72px); }
.cs-show button { padding: 0; border: 0; background: none; cursor: zoom-in; font: inherit; color: inherit; }
.cs-desk { display: block; overflow: hidden; border-radius: 16px; background: var(--cs-card); box-shadow: 0 0 0 1px var(--cs-line), 0 40px 80px -40px rgba(0,0,0,.45); transition: transform .4s cubic-bezier(.2,.7,.2,1); text-align: left; }
.cs-desk-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: var(--cs-line); }
.cs-desk-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; } .cs-desk-bar i:nth-child(2) { background: #febc2e; } .cs-desk-bar i:nth-child(3) { background: #28c840; }
.cs-desk-bar em { margin-left: 14px; font-style: normal; font-size: 12.5px; color: var(--cs-mute); }
.cs-desk img { display: block; width: 100%; height: auto; }
.cs-phones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: end; }
.cs-phone { display: block; padding: 5px !important; border-radius: 26px; background: #0c0c0d !important; box-shadow: 0 0 0 1.5px #b9b9be, 0 30px 60px -30px rgba(0,0,0,.5); transform: translateY(calc(var(--i) * -18px)); transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.cs-phone img { display: block; width: 100%; height: auto; border-radius: 21px; }
@media (hover: hover) { .cs-desk:hover { transform: translateY(-6px); } .cs-phone:hover { transform: translateY(calc(var(--i) * -18px - 8px)); } }
.cs-story { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(48px, 7vw, 88px); }
.cs-story article { padding: 28px; border-radius: 22px; background: var(--cs-card); box-shadow: inset 0 0 0 1px var(--cs-line); }
.cs-step { font-size: 13px; font-weight: 700; color: var(--cs-acc); }
.cs-story h3 { margin: 10px 0 10px; font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.cs-story p { font-size: 16px; line-height: 1.6; color: var(--cs-mute); }
.cs-features { margin-top: 56px; }
.cs-features h3 { font-size: clamp(26px, 3vw, 34px); font-weight: 700; letter-spacing: -.03em; margin-bottom: 20px; }
.cs-features ul { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
.cs-features li { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 18px 0; border-top: 1px solid var(--cs-line); }
.cs-features b { font-size: 18px; } .cs-features span { font-size: 15.5px; color: var(--cs-mute); }
.cs-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-top: 44px; }
.cs-tech { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.cs-tech li { padding: 7px 14px; border-radius: 99px; background: var(--cs-card); box-shadow: inset 0 0 0 1px var(--cs-line); font-size: 13.5px; font-weight: 600; }
.cs-foot .actions { margin: 0; justify-content: flex-start; }
.cs-more { align-self: center; padding: 12px 8px; font-weight: 600; color: var(--cs-ink); text-decoration: none; opacity: .8; }
.cs-more:hover { opacity: 1; color: var(--cs-acc); }
.cs-dark .btn-light:hover { background: var(--cs-acc); border-color: var(--cs-acc); color: #111; }
.cs-warm .btn-primary { background: #1f1b17; border-color: #1f1b17; color: #fff; }
/* lightbox */
.cs-lightbox { position: fixed; inset: 0; z-index: 400; display: flex; align-items: center; justify-content: center; padding: 24px 70px; background: rgba(8,8,10,.92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: lpPanel .25s both; }
.cs-lightbox[hidden] { display: none; }
.cs-lightbox figure { max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.cs-lightbox img { max-width: min(1200px, 100%); max-height: calc(100vh - 110px); border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.cs-lightbox figcaption { color: #d1d1d6; font-size: 14px; }
.cs-lb-close { position: absolute; top: 18px; right: 22px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 26px; cursor: pointer; }
.cs-lb-nav { position: absolute; top: 50%; width: 48px; height: 48px; margin-top: -24px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.cs-lb-prev { left: 14px; } .cs-lb-next { right: 14px; }
@media (hover: hover) { .cs-lb-nav:hover, .cs-lb-close:hover { background: rgba(255,255,255,.25); } }
@media (max-width: 960px) {
  .cs-show { grid-template-columns: 1fr; }
  .cs-phones { max-width: 520px; margin: 0 auto; width: 100%; }
  .cs-story { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .cs-index { grid-template-columns: 1fr; }
  .cs-features ul { grid-template-columns: 1fr; }
  .cs-phone { transform: none; border-radius: 20px; } .cs-phone img { border-radius: 16px; }
  .cs-lightbox { padding: 16px 12px 70px; }
  .cs-lb-nav { top: auto; bottom: 14px; margin-top: 0; } .cs-lb-prev { left: calc(50% - 60px); } .cs-lb-next { right: calc(50% - 60px); }
}

.case-all { margin-top: 48px; text-align: center; }
.case-all a { color: rgba(255,255,255,.85); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.case-all a:hover { color: #fff; }

/* Leniwe ładowanie zdjęć w tle: zdjęcie pobiera się, gdy element zbliża się do ekranu */
.js .photo:not(.bg-on), .js .lp-hero-visual .photo:not(.bg-on) { background-image: none !important; }

/* Nagłówek na starcie widoczny od pierwszej klatki (szybszy LCP), animuje się tylko ruchem */
.hero .display.reveal { opacity: 1; }

/* ---------- Dostępność: klawiatura ---------- */
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 1000; padding: 12px 18px; border-radius: 12px; background: var(--ink); color: var(--white); font-weight: 700; text-decoration: none; transform: translateY(-160%); transition: transform .2s; }
.skip-link:focus { transform: none; outline: 3px solid var(--accent-text); outline-offset: 3px; }
main:focus { outline: none; }
/* Wyraźne podświetlenie elementu wybranego klawiaturą (myszką się nie pokazuje) */
:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 3px; }
.btn:focus-visible, .kr-send:focus-visible, .lp-app-cta:focus-visible { outline-offset: 4px; }
.menu-overlay :focus-visible { outline-color: #ff4d6a; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible, .try-input:focus-visible, .kr-input:focus-visible, .bk-input:focus-visible, .bk-select:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 1px; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-sd { opacity: 1 !important; transform: none !important; animation: none !important; }
  .mm-stage { --pos: 50%; }
}
