/* ==========================================================================
   Grawelo · style strony
   Kolory i font z identyfikacji: Jost, #3A2A1D #8A6A4B #B0742F #F4EDE3 #FBF7F1
   ========================================================================== */

@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-latin-ext.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-latin.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #3A2A1D;
  --deep: #2A1E14;
  --wood: #8A6A4B;
  --label: #7A5C3F;
  --amber: #B0742F;
  --gold: #D9A866;
  --glow: #FFB35C;
  --cream: #F4EDE3;
  --paper: #FBF7F1;
  --band: #EDE4D7;
  --line: #E0D3C2;
  --sand: #C2A886;
  --muted: #6B523B;
  --on-dark: #D8C7B2;
  --error: #9A3B1F;

  --max: 1240px;
  --pad: clamp(20px, 4vw, 40px);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

/* ---------- podstawy ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: "Jost", "Century Gothic", "Futura", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body.menu-open, body.lb-open { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.1; }
p { margin: 0 0 1em; }
::selection { background: var(--gold); color: var(--deep); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 4px; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.section { position: relative; padding: clamp(76px, 10vw, 132px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }

.eyebrow {
  display: flex; align-items: center; gap: 12px; margin: 0 0 16px;
  font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--label);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow-light { color: var(--sand); }
.hero-eyebrow::before { display: none; }   /* na górze strony bez paska (prośba właściciela) */
h2 { font-size: clamp(32px, 4.6vw, 54px); letter-spacing: -.01em; text-wrap: balance; }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 56ch; margin: 18px 0 0; }

/* ---------- przyciski ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border: 1px solid transparent; border-radius: 3px;
  font-size: 13.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 214, 160, .55) 47%, rgba(255, 179, 92, .4) 53%, transparent 70%);
  transform: translateX(-110%); transition: transform .8s var(--ease);
}
.btn:hover::after { transform: translateX(110%); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.i-arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.btn:hover .i-arrow { transform: translateX(4px); }
.btn-light { background: var(--cream); color: var(--ink); }
.btn-light:hover { background: #fff; box-shadow: 0 12px 34px -12px rgba(255, 179, 92, .55); }
.btn-ghost-light { border-color: rgba(244, 237, 227, .35); color: var(--cream); }
.btn-ghost-light:hover { border-color: var(--cream); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: var(--deep); box-shadow: 0 14px 30px -14px rgba(58, 42, 29, .7); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 12px; }

/* ---------- nagłówek ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60; color: var(--cream);
  transition: background-color .4s, color .4s, box-shadow .4s;
}
.site-header.is-solid {
  background: rgba(244, 237, 227, .9); color: var(--ink);
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 1px 0 rgba(58, 42, 29, .08);
}
/* menu otwarte: pod logo matowe szkło, przewijane linki się rozmywają */
.menu-open .site-header {
  background: rgba(42, 30, 20, .42); color: var(--cream);
  box-shadow: 0 1px 0 rgba(244, 237, 227, .08);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
}
.bar { max-width: var(--max); height: var(--header-h); margin: 0 auto; padding: 0 var(--pad); display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; text-decoration: none; }
.brand-mark { width: 32px; height: 32px; fill: none; stroke: currentColor; transition: transform .6s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-12deg); }
.brand-name { font-size: 16px; letter-spacing: .32em; }
.nav { display: flex; gap: 26px; }
.nav a { position: relative; padding: 6px 0; font-size: 14.5px; letter-spacing: .04em; text-decoration: none; opacity: .85; transition: opacity .2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover, .nav a.is-active { opacity: 1; }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.header-cta { border-color: rgba(244, 237, 227, .4); color: inherit; }
.is-solid .header-cta { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.burger { display: none; position: relative; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; cursor: pointer; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.6px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 26px; }
.menu-open .burger span:first-child { top: 21.5px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 21.5px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 58; overflow-y: auto;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 20px) var(--pad) calc(28px + env(safe-area-inset-bottom));
  background: var(--deep); color: var(--cream); opacity: 0; transition: opacity .35s;
}
.menu[hidden] { display: none; }
.menu.is-open { opacity: 1; }
.menu-nav { display: flex; flex-direction: column; }
.menu-nav a {
  padding: 9px 0; border-bottom: 1px solid rgba(244, 237, 227, .1);
  font-size: clamp(26px, 7.5vw, 38px); font-weight: 300; text-decoration: none;
  opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .6s var(--ease);
}
.menu.is-open .menu-nav a { opacity: 1; transform: none; }
.menu-nav a:nth-child(2) { transition-delay: .04s; } .menu-nav a:nth-child(3) { transition-delay: .08s; }
.menu-nav a:nth-child(4) { transition-delay: .12s; } .menu-nav a:nth-child(5) { transition-delay: .16s; }
.menu-nav a:nth-child(6) { transition-delay: .2s; } .menu-nav a:nth-child(7) { transition-delay: .24s; }
.menu-nav a:nth-child(8) { transition-delay: .28s; } .menu-nav a:nth-child(9) { transition-delay: .32s; }
.menu-nav a:nth-child(10) { transition-delay: .36s; }
.menu-foot { display: flex; flex-direction: column; gap: 6px; margin-top: 32px; color: var(--on-dark); }
.menu-foot a { text-decoration: none; }
.menu-phone { font-size: 24px; color: var(--cream); }
.menu .menu-save { align-self: flex-start; margin: 0 0 6px; color: var(--gold); }

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 100px;
  background: var(--deep); color: var(--cream);
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(640px 480px at var(--mx, 70%) var(--my, 45%), rgba(255, 170, 80, .11), transparent 65%),
    radial-gradient(1100px 760px at 82% 30%, #4A3626, rgba(74, 54, 38, 0) 62%),
    linear-gradient(180deg, var(--ink), var(--deep));
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0; opacity: .08; mix-blend-mode: overlay;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    repeating-linear-gradient(97deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 7px);
}
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(40px, 6vw, 88px); align-items: center; }

.hero-title { margin: 6px 0 0; font-size: clamp(44px, 6.3vw, 80px); line-height: 1.02; letter-spacing: -.02em; }
.hero-title .l { display: block; }
.hero-title.is-alt { font-size: clamp(38px, 4.8vw, 66px); }
.hero-title .l-gold { color: var(--gold); --final: var(--gold); }
.hero-title .w { position: relative; display: inline-block; }
.hero-title .w-in { display: inline-block; padding: .1em .02em .16em 0; margin: -.1em -.02em -.16em 0; }
.hero-lead { max-width: 44ch; margin: 28px 0 0; font-size: clamp(17px, 1.7vw, 20px); line-height: 1.6; color: var(--on-dark); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-note { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 26px 0 0; font-size: 14.5px; color: var(--sand); }
.hero-note a { color: var(--cream); text-decoration: none; border-bottom: 1px solid rgba(244, 237, 227, .3); transition: border-color .2s; }
.hero-note a:hover { border-color: var(--cream); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #86D196; animation: pulse 2.4s infinite; }

/* wejście tekstu hero */
.js .hero-eyebrow { animation: rise .9s .05s var(--ease) both; }
.js .hero-lead { animation: rise .9s 1.15s var(--ease) both; }
.js .hero-cta { animation: rise .9s 1.3s var(--ease) both; }
.js .hero-note { animation: rise .9s 1.45s var(--ease) both; }
.js .hero-media { animation: fade 1.4s .15s var(--ease) both; }

/* wypalanie nagłówka */
.burn .hero-title .w-in { clip-path: inset(0 100% 0 0); animation: burn .78s var(--ease-io) forwards; animation-delay: calc(.3s + var(--i) * .13s); }
.burn .hero-title .w::after {
  content: ""; position: absolute; top: 10%; bottom: 6%; left: 0; width: 2px; border-radius: 2px; pointer-events: none;
  background: #FFF1D6; box-shadow: 0 0 10px 3px rgba(255, 179, 92, .95), 0 0 26px 8px rgba(255, 140, 50, .45);
  opacity: 0; animation: edge .78s var(--ease-io) forwards; animation-delay: calc(.3s + var(--i) * .13s);
}

.hero-media { position: relative; isolation: isolate; display: grid; place-items: center; min-height: 540px; }
.hero-g { position: absolute; z-index: -1; left: 50%; top: 50%; width: min(150%, 760px); max-width: none; height: auto; transform: translate(-50%, -50%); fill: none; overflow: visible; pointer-events: none; }
.hero-g .g-p { stroke: rgba(244, 237, 227, .13); }
.hero-g .g-h { stroke: #FFD9A0; opacity: 0; }
.hero-sparks { position: absolute; z-index: -1; left: -35%; top: -35%; width: 170%; height: 170%; pointer-events: none; }
.hero-video {
  position: relative; width: min(100%, 400px); aspect-ratio: 4 / 5; border-radius: 8px; overflow: hidden; background: #1c140d;
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .8), 0 0 0 1px rgba(244, 237, 227, .08);
  transform: rotate(1.2deg);
  translate: calc(var(--px, 0) * -14px) calc(var(--py, 0) * -14px); transition: translate .7s var(--ease);
}
.hero-video video { width: 100%; height: 100%; object-fit: cover; }
.hero-video::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(20, 14, 9, 0) 55%, rgba(20, 14, 9, .6)); }
.live {
  position: absolute; left: 14px; top: 14px; z-index: 1; display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; border-radius: 40px; background: rgba(20, 14, 9, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: 12px; letter-spacing: .06em; color: var(--cream);
}
.live i { width: 7px; height: 7px; border-radius: 50%; background: #FF6B3D; animation: pulse-hot 1.6s infinite; }
.hero-photo {
  position: absolute; left: -2%; bottom: -5%; width: clamp(150px, 15vw, 206px); margin: 0; padding: 8px 8px 10px;
  background: var(--paper); color: var(--ink); border-radius: 4px; box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .75);
  transform: rotate(-5deg);
  translate: calc(var(--px, 0) * 20px) calc(var(--py, 0) * 20px); transition: translate .7s var(--ease);
}
.hero-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 2px; }
.hero-photo figcaption { margin-top: 8px; text-align: center; font-size: 12px; letter-spacing: .06em; color: var(--muted); }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; width: 24px; height: 38px; border: 1.5px solid rgba(244, 237, 227, .35); border-radius: 14px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--cream); animation: cue 2s infinite; }

/* ---------- pasek gwarancji ---------- */
.trust { overflow: hidden; padding: 18px 0; background: var(--cream); border-bottom: 1px solid var(--line); }
.trust-track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.trust-track.x4 { animation-name: marquee4; }
.trust:hover .trust-track { animation-play-state: paused; }
.trust-list { display: flex; flex-shrink: 0; gap: 52px; margin: 0; padding: 0 26px; list-style: none; }
.trust-list li { display: flex; align-items: center; gap: 12px; font-size: 15px; letter-spacing: .02em; white-space: nowrap; }
.trust-list svg { width: 22px; height: 22px; fill: none; stroke: var(--amber); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- realizacje ---------- */
.realizacje { background: var(--cream); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px;
  border: 1px solid rgba(58, 42, 29, .22); border-radius: 100px; background: transparent;
  font-size: 14.5px; cursor: pointer; white-space: nowrap; transition: background-color .25s, color .25s, border-color .25s;
}
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.chip .count { font-size: 12px; opacity: .6; font-variant-numeric: tabular-nums; }

.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(140px, 14.5vw, 196px); grid-auto-flow: dense; gap: 14px; }
.tile { position: relative; isolation: isolate; margin: 0; grid-row: span 2; overflow: hidden; border-radius: 4px; background: var(--band); }
.tile.t-wide { grid-column: span 2; }
.tile.t-feature { grid-column: span 2; grid-row: span 3; }
.tile.is-hidden { display: none; }
.tile-btn { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.tile img, .tile video { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.tile:hover img, .tile:hover video { transform: scale(1.045); }
.tile figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; pointer-events: none;
  padding: 44px 16px 14px; font-size: 14px; line-height: 1.4; color: var(--cream);
  background: linear-gradient(to top, rgba(33, 23, 16, .88), rgba(33, 23, 16, 0));
  opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .45s var(--ease);
}
.tile:hover figcaption, .tile:focus-within figcaption { opacity: 1; transform: none; }
.tile-cat { display: block; margin-bottom: 4px; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.tile-play {
  position: absolute; top: 12px; right: 12px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; pointer-events: none;
  padding: 6px 11px 6px 9px; border-radius: 40px; background: rgba(33, 23, 16, .6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--cream);
}
.tile-play svg { width: 12px; height: 12px; fill: currentColor; }
.js .tile { opacity: 0; transform: translateY(18px); }
.js .tile.is-in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .tile.is-out { opacity: 0; transform: scale(.97); transition: opacity .24s, transform .24s; transition-delay: 0s; }
.tile.pop { animation: tile-in .6s var(--ease) both; animation-delay: var(--d, 0s); }
.gallery-static .tile { opacity: 1; transform: none; }
.gallery-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px;
  margin-top: 44px; padding: 26px 30px; background: var(--paper); border: 1px solid var(--line); border-radius: 6px;
}
.gallery-cta p { margin: 0; font-size: 19px; }

/* ---------- co robię ---------- */
.uslugi { background: var(--paper); }
.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.service {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--cream); border: 1px solid var(--line); border-radius: 6px;
  transition: transform .5s var(--ease), box-shadow .5s;
}
.service:hover { transform: translateY(-6px); box-shadow: 0 34px 60px -38px rgba(58, 42, 29, .5); }
.service-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--band); }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.service:hover .service-media img { transform: scale(1.06); }
.service-body { position: relative; padding: 0 26px 28px; }
.service-icon {
  position: relative; z-index: 1; display: grid; place-items: center; width: 74px; height: 74px; margin: -37px 0 16px;
  border-radius: 50%; background: var(--ink); color: var(--cream); box-shadow: 0 12px 26px -10px rgba(0, 0, 0, .55), 0 0 0 5px var(--cream);
}
.service-icon svg { width: 52px; height: 52px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.ic-laser .beam { stroke: var(--glow); stroke-dasharray: 16; stroke-dashoffset: 16; }
.ic-laser .spot { fill: var(--glow); stroke: none; opacity: 0; }
.ic-laser .sparks, .ic-cnc .chips { stroke: var(--glow); stroke-width: 1.4; opacity: 0; }
.ic-3d .fil { stroke: var(--glow); stroke-dasharray: 6; stroke-dashoffset: 6; }
.service.is-in .ic-laser .beam { animation: beam 2.4s var(--ease-io) infinite; }
.service.is-in .ic-laser .spot, .service.is-in .ic-laser .sparks { animation: spot 2.4s var(--ease-io) infinite; }
.service.is-in .ic-cnc .bit { animation: bit 2.4s var(--ease-io) infinite; }
.service.is-in .ic-cnc .chips { animation: spot 2.4s var(--ease-io) infinite; }
.service.is-in .ic-3d .fil { animation: beam 1.4s linear infinite; }
.ic-3d [class^="l"] { opacity: .15; }
.service.is-in .ic-3d .l1 { animation: layer 2.8s infinite; }
.service.is-in .ic-3d .l2 { animation: layer 2.8s .35s infinite; }
.service.is-in .ic-3d .l3 { animation: layer 2.8s .7s infinite; }
.service.is-in .ic-3d .l4 { animation: layer 2.8s 1.05s infinite; }
.ic-sub .heat { stroke: var(--glow); stroke-width: 1.4; opacity: 0; }
.ic-sub .print { stroke: var(--glow); opacity: .15; }
.service.is-in .ic-sub .heat { animation: heat 2.4s var(--ease-io) infinite; }
.service.is-in .ic-sub .print { animation: layer 2.4s .5s infinite; }
.service-num { margin: 0 0 6px; font-size: 12px; letter-spacing: .24em; color: var(--label); }
.service h3 { margin-bottom: 10px; font-size: 24px; font-weight: 500; }
.service p { color: var(--muted); font-size: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 0; padding: 0; list-style: none; }
.tags li { padding: 5px 11px; border-radius: 40px; background: var(--paper); border: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }

/* ---------- okazje ---------- */
.okazje { background: var(--band); }
.occasions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.occasion {
  position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  min-height: 176px; padding: 24px 22px 22px; text-align: left; cursor: pointer;
  background: var(--paper); border: 1px solid rgba(58, 42, 29, .12); border-radius: 6px;
  transition: transform .45s var(--ease), border-color .3s, box-shadow .45s;
}
.occasion svg { width: 46px; height: 46px; margin-bottom: auto; fill: none; stroke: var(--amber); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease); }
.o-name { margin-top: 18px; font-size: 18px; font-weight: 500; }
.o-hint { font-size: 14px; color: var(--muted); }
.occasion::after {
  content: "Wybierz \2192"; position: absolute; top: 22px; right: 18px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--amber);
  opacity: 0; transform: translateX(-6px); transition: opacity .35s, transform .35s var(--ease);
}
.occasion:hover { transform: translateY(-4px); border-color: var(--amber); box-shadow: 0 22px 40px -28px rgba(58, 42, 29, .5); }
.occasion:hover svg { transform: scale(1.08) rotate(-4deg); }
.occasion:hover::after { opacity: 1; transform: none; }
.draw-ready [data-draw] svg * { stroke-dasharray: 1; stroke-dashoffset: 1; }
.draw-ready [data-draw].is-in svg * { animation: draw 1.4s var(--ease) forwards; }
.draw-ready [data-draw].is-in .occasion:nth-child(2) svg * { animation-delay: .08s; }
.draw-ready [data-draw].is-in .occasion:nth-child(3) svg * { animation-delay: .16s; }
.draw-ready [data-draw].is-in .occasion:nth-child(4) svg * { animation-delay: .24s; }
.draw-ready [data-draw].is-in .occasion:nth-child(5) svg * { animation-delay: .32s; }
.draw-ready [data-draw].is-in .occasion:nth-child(6) svg * { animation-delay: .4s; }
.draw-ready [data-draw].is-in .occasion:nth-child(7) svg * { animation-delay: .48s; }
.draw-ready [data-draw].is-in .occasion:nth-child(8) svg * { animation-delay: .56s; }

/* ---------- dla firm ---------- */
.firmy { background: var(--cream); }
.firmy-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 84px); align-items: center; }
.checks { display: grid; gap: 14px; margin: 28px 0 34px; padding: 0; list-style: none; }
.checks li { position: relative; padding-left: 38px; color: var(--muted); }
.checks li strong { color: var(--ink); font-weight: 500; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F4EDE3' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 12.5l4 4 9-9'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.firmy-media { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fm { position: relative; margin: 0; overflow: hidden; border-radius: 6px; background: var(--band); box-shadow: 0 30px 60px -44px rgba(58, 42, 29, .7); }
.fm img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.fm:hover img { transform: scale(1.05); }
.fm-1 { grid-column: 1 / 3; aspect-ratio: 16 / 10; }
.fm-1 img { object-position: 50% 85%; }
.fm-2, .fm-3 { aspect-ratio: 4 / 3; }
.fm figcaption { position: absolute; left: 14px; bottom: 14px; padding: 6px 13px; border-radius: 40px; background: rgba(251, 247, 241, .92); font-size: 13px; }

/* ---------- Grawelo Creator ---------- */
.creator { background: var(--paper); }
.creator-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 84px); align-items: center; }
.creator-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.creator-alt { padding-bottom: 2px; text-decoration: none; border-bottom: 1px solid var(--line); transition: border-color .2s; }
.creator-alt:hover { border-color: var(--ink); }
.creator-media { position: relative; padding-bottom: 14%; }
.cr-window { width: 86%; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 30px 60px -40px rgba(58, 42, 29, .6); }
.cr-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--cream); font-size: 12px; letter-spacing: .04em; color: var(--muted); }
.cr-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--sand); opacity: .7; }
.cr-bar span { margin-left: 10px; }
.cr-stage { padding: 22px 22px 18px; background: radial-gradient(ellipse at 50% 40%, #fff 0%, var(--paper) 75%); }
.cr-art { display: block; width: 100%; height: auto; }
.cr-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; font-size: 12.5px; }
.cr-chips li { padding: 5px 12px; border: 1px solid var(--line); border-radius: 40px; background: #fff; color: var(--muted); }
.cr-chips li.on { border-color: var(--ink); color: var(--ink); }
.cr-photo { position: absolute; right: 0; bottom: 0; width: 40%; aspect-ratio: 3 / 4; margin: 0; overflow: hidden; border: 6px solid var(--paper); border-radius: 8px; box-shadow: 0 30px 60px -34px rgba(58, 42, 29, .75); }
.cr-photo img { width: 100%; height: 100%; object-fit: cover; }
.cr-photo figcaption { position: absolute; left: 8px; right: 8px; bottom: 8px; padding: 5px 10px; border-radius: 40px; background: rgba(251, 247, 241, .92); font-size: 12px; text-align: center; }
@media (max-width: 900px) {
  .creator-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .cr-window { width: 100%; }
  .creator-media { padding-bottom: 0; }
  .cr-photo { position: relative; width: 62%; margin: -18% 0 0 auto; }
}

/* ---------- jak pracuję ---------- */
.proces { overflow: hidden; background: var(--ink); color: var(--cream); }
.proces::before {
  content: ""; position: absolute; right: -180px; top: -200px; width: 640px; height: 640px; opacity: .06; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='14 14 92 92' fill='none' stroke='%23F4EDE3'%3E%3Cpath d='M82.83 67.42 A24 24 0 1 1 79.65 46.24' stroke-width='3.6'/%3E%3Cpath d='M74 60 L100 60 A40 40 0 1 1 92.76 37.06' stroke-width='12'/%3E%3C/svg%3E") center / contain no-repeat;
}
.steps-wrap { position: relative; }
.steps-track { position: absolute; left: 23px; right: 23px; top: 23px; height: 2px; border-radius: 2px; background: rgba(244, 237, 227, .12); }
.steps-fill { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--p, 0) * 100%); border-radius: 2px; background: linear-gradient(90deg, var(--amber), var(--glow)); box-shadow: 0 0 12px rgba(255, 179, 92, .5); }
.steps-fill::after {
  content: ""; position: absolute; right: -5px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%;
  background: #FFE9C7; box-shadow: 0 0 10px 3px rgba(255, 179, 92, .9), 0 0 24px 8px rgba(255, 140, 50, .4);
}
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin: 0; padding: 0; list-style: none; }
.step-num {
  display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 22px; border-radius: 50%;
  border: 1.5px solid rgba(244, 237, 227, .25); background: var(--ink);
  font-size: 13px; letter-spacing: .1em; color: var(--sand); transition: background-color .5s, border-color .5s, color .5s, box-shadow .5s;
}
.step h3 { margin-bottom: 10px; font-size: 21px; font-weight: 500; }
.step p { margin: 0; font-size: 15.5px; color: var(--on-dark); }
.reveal-ready .step { opacity: .5; transition: opacity .6s; }
.reveal-ready .step.is-lit { opacity: 1; }
.step.is-lit .step-num { background: var(--gold); border-color: var(--glow); color: var(--deep); box-shadow: 0 0 0 6px rgba(255, 179, 92, .12), 0 0 26px rgba(255, 179, 92, .45); }

/* ---------- kto to robi ---------- */
.onas { background: var(--paper); }
.onas-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 100px); align-items: center; }
.onas-media { position: relative; padding-bottom: 16%; }
.om { margin: 0; overflow: hidden; border-radius: 6px; background: var(--band); box-shadow: 0 40px 70px -44px rgba(58, 42, 29, .65); }
.om img { width: 100%; height: 100%; object-fit: cover; }
.om-1 { width: 78%; aspect-ratio: 3 / 4; }
.om-2 { position: absolute; right: 0; bottom: 0; width: 56%; aspect-ratio: 4 / 3; border: 8px solid var(--paper); }
.onas-copy > p:not(.eyebrow):not(.sign) { font-size: 17.5px; color: var(--muted); }
.onas-copy h2 { margin-bottom: 26px; }
.sign { display: flex; flex-direction: column; align-items: flex-start; margin: 30px 0 36px; }
.sign-name { position: relative; font-size: 30px; font-weight: 300; color: var(--ink); }
.sign-name::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 2px; background: linear-gradient(90deg, var(--amber), var(--glow)); transform: scaleX(0); transform-origin: left; transition: transform 1.3s .5s var(--ease); }
.is-in .sign-name::after, .no-motion .sign-name::after { transform: scaleX(1); }
.sign-role { margin-top: 12px; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--label); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding-top: 26px; border-top: 1px solid var(--line); }
.stat-num { display: block; font-size: clamp(46px, 5vw, 62px); font-weight: 300; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-label { display: block; margin-top: 8px; font-size: 14px; line-height: 1.4; color: var(--muted); }

/* ---------- faq ---------- */
.faq { background: var(--cream); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 84px); align-items: start; }
.faq .section-head { position: sticky; top: calc(var(--header-h) + 32px); margin: 0; }
.faq-phone { display: inline-block; margin-top: 22px; font-size: 24px; text-decoration: none; border-bottom: 1px solid var(--line); transition: border-color .2s; }
.faq-phone:hover { border-color: var(--ink); }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 0;
  font-size: 19px; font-weight: 500; list-style: none; cursor: pointer; transition: color .2s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--amber); }
.qa summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); color: var(--ink);
  background: linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat;
  transition: transform .4s var(--ease), background-color .3s;
}
.qa[open] summary::after { transform: rotate(45deg); background-color: var(--paper); }
.qa.is-closing summary::after { transform: none; }
.qa-body { overflow: hidden; }
.qa-body p { margin: 0; padding: 0 48px 24px 0; color: var(--muted); }

/* ---------- kontakt ---------- */
.kontakt { background: var(--paper); }
.kontakt-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 84px); align-items: start; }
.k-row { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.k-phone { margin-top: 30px; border-top: 1px solid var(--line); }
.k-ic { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--cream); border: 1px solid var(--line); transition: background-color .3s, color .3s; }
.k-ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
a.k-row:hover .k-ic { background: var(--ink); color: var(--cream); }
.k-label { display: block; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--label); }
.k-value { display: block; font-size: 20px; }
.k-phone .k-value { font-size: clamp(24px, 2.6vw, 30px); }
.k-save { display: inline-flex; align-items: center; gap: 10px; margin: 14px 0 2px; font-size: 14.5px; color: var(--amber); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s; }
.k-save:hover { border-color: currentColor; }
.k-save svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.k-social-label { margin: 30px 0 12px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--label); }
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.socials a {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 12px;
  border: 1px solid var(--line); border-radius: 40px; font-size: 14.5px; text-decoration: none; transition: background-color .3s, color .3s, border-color .3s;
}
.socials a:hover { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.socials svg { width: 20px; height: 20px; }
.socials-light { margin-top: 16px; }
.socials-light a { padding: 0 12px; border-color: rgba(244, 237, 227, .22); color: var(--cream); }
.socials-light a:hover { background: var(--cream); color: var(--ink); }

.kform-wrap { position: relative; padding: clamp(22px, 3.5vw, 40px); background: var(--cream); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 40px 80px -64px rgba(58, 42, 29, .6); }
.seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 0 0 22px; padding: 4px; border: 1px solid var(--line); border-radius: 40px; background: var(--paper); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 6px 12px; border-radius: 40px; font-size: 14px; line-height: 1.25; text-align: center; cursor: pointer; transition: background-color .3s, color .3s; }
.seg input:checked + label { background: var(--ink); color: var(--cream); }
.seg input:focus-visible + label { outline: 2px solid var(--amber); outline-offset: 2px; }
.field { position: relative; margin-bottom: 16px; }
.field label { display: block; margin-bottom: 7px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--label); }
.opt { text-transform: none; letter-spacing: 0; opacity: .75; }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 4px; -webkit-appearance: none; appearance: none;
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--amber); background: #fff; box-shadow: 0 0 0 4px rgba(176, 116, 47, .14); }
.field input::placeholder, .field textarea::placeholder { color: #A58E76; }
.err { display: none; margin-top: 6px; font-size: 13px; color: var(--error); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #C0563A; }
.field.is-invalid .err { display: block; }
.field.flash input { animation: flash 1.4s var(--ease); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-row[hidden] { display: none; }
.field-row.appear { animation: rise .5s var(--ease) both; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rodo { margin: 6px 0 20px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.rodo a { color: var(--ink); }
.btn-submit { width: 100%; }
.spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(244, 237, 227, .3); border-top-color: var(--cream); border-radius: 50%; animation: spin .8s linear infinite; }
.is-sending .spinner { display: block; }
.is-sending .btn-submit { pointer-events: none; opacity: .85; }
.form-msg { margin: 14px 0 0; font-size: 14.5px; }
.form-msg:empty { display: none; }
.form-msg.is-error { color: var(--error); }
.form-msg a { color: inherit; }
.form-success { padding: 40px 10px; text-align: center; outline: none; }
.form-success[hidden] { display: none; }
.form-success h3 { margin-bottom: 10px; font-size: 26px; }
.form-success p { max-width: 38ch; margin: 0 auto; color: var(--muted); }
.check { width: 74px; height: 74px; margin: 0 auto 20px; fill: none; stroke: var(--amber); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.check circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: dash .8s var(--ease) forwards; }
.check path { stroke-dasharray: 36; stroke-dashoffset: 36; animation: dash .5s .6s var(--ease) forwards; }

/* ---------- stopka ---------- */
.site-footer { padding: 72px 0 calc(28px + env(safe-area-inset-bottom)); background: var(--deep); color: var(--on-dark); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1fr; gap: 36px; }
.f-logo { display: inline-flex; align-items: center; gap: 14px; color: var(--cream); text-decoration: none; }
.f-logo svg { width: 52px; height: 52px; fill: none; stroke: currentColor; }
.f-logo b { display: block; font-size: 20px; font-weight: 400; letter-spacing: .32em; }
.f-logo small { display: block; margin-top: 4px; font-size: 10.5px; letter-spacing: .34em; color: var(--sand); }
.f-brand p { max-width: 32ch; margin: 18px 0 0; }
.f-col { display: flex; flex-direction: column; gap: 8px; }
.f-col h3 { margin-bottom: 8px; font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--sand); }
.f-col a { width: fit-content; color: var(--cream); text-decoration: none; opacity: .85; transition: opacity .2s; }
.f-col a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 22px; font-size: 13.5px; }
.footer-bottom::before { content: ""; position: absolute; top: 0; left: var(--pad); right: var(--pad); height: 1px; background: rgba(244, 237, 227, .1); }
.legal-page .footer-bottom::before { display: none; }
.footer-bottom a { color: var(--on-dark); }

/* ---------- pasek na telefonie ---------- */
.mbar { display: none; }

/* ---------- cookies ---------- */
.cookie {
  position: fixed; left: 16px; bottom: 16px; z-index: 55; display: flex; align-items: center; gap: 14px; max-width: 380px;
  padding: 14px 14px 14px 18px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 20px 50px -20px rgba(33, 23, 16, .5); font-size: 14px; line-height: 1.45;
  opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .5s var(--ease);
}
.cookie[hidden] { display: none; }
.cookie.is-on { opacity: 1; transform: none; }
.cookie p { margin: 0; }
.cookie-ok { flex: none; min-height: 40px; padding: 0 16px; border: 0; border-radius: 6px; background: var(--ink); color: var(--cream); font-size: 13.5px; cursor: pointer; }
.cookie-ok:hover { background: var(--deep); }

/* ---------- podgląd zdjęć ---------- */
.lb {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(22, 15, 10, .96); color: var(--cream); overscroll-behavior: contain;
}
.lb[open] { display: grid; place-items: center; animation: fade .3s var(--ease); }
.lb::backdrop { background: rgba(22, 15, 10, .6); }
.lb-fig { display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: min(92vw, 1300px); margin: 0; }
.lb-media { display: grid; place-items: center; min-height: 40vh; }
.lb-media img, .lb-media video { width: auto; height: auto; max-width: 90vw; max-height: 80vh; object-fit: contain; border-radius: 4px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8); transition: opacity .35s, transform .45s var(--ease); }
.lb-media.is-swapping img, .lb-media.is-swapping video { opacity: 0; transform: scale(.985); }
.lb-cap { max-width: 60ch; padding: 0 16px; text-align: center; font-size: 15px; color: var(--on-dark); }
.lb-btn { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(244, 237, 227, .2); background: rgba(42, 30, 20, .6); color: var(--cream); cursor: pointer; transition: background-color .25s, color .25s; }
.lb-btn:hover { background: var(--cream); color: var(--ink); }
.lb-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; top: 32px; left: 26px; margin: 0; font-size: 13px; letter-spacing: .14em; color: var(--sand); font-variant-numeric: tabular-nums; }

/* ---------- pojawianie przy przewijaniu ---------- */
.reveal-ready [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal-ready [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- strony prawne ---------- */
.legal-page .site-header { position: sticky; }
.legal-page .site-footer { padding-top: 30px; }
.legal { max-width: 780px; padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(64px, 9vw, 110px); }
.legal h1 { font-size: clamp(34px, 5vw, 52px); margin-bottom: 12px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 40px; }
.legal h2 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 500; margin: 44px 0 14px; scroll-margin-top: calc(var(--header-h) + 20px); }
.legal p, .legal li { color: #4B3826; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--amber); }
.legal .btn-dark { color: var(--cream); }
.legal .box { margin: 24px 0; padding: 20px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; }
.legal .box p:last-child { margin: 0; }

/* ---------- o mnie ---------- */
.about-photo { margin: 36px 0 8px; overflow: hidden; border-radius: 6px; background: var(--paper); box-shadow: 0 30px 60px -40px rgba(58, 42, 29, .6); }
.about-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.about-photo figcaption { padding: 10px 14px; font-size: 13px; color: var(--muted); }
.legal .socials a { color: var(--ink); }
.legal .socials a:hover { color: var(--cream); }
.onas-more { color: var(--amber); font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; }
.onas-more:hover { color: var(--ink); }
.back { display: inline-flex; align-items: center; gap: 8px; margin-top: 40px; }

/* ---------- animacje ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes burn {
  0% { clip-path: inset(0 100% 0 0); color: #FFE2B8; text-shadow: 0 0 22px rgba(255, 160, 70, .95); }
  62% { clip-path: inset(0 0 0 0); color: #FFC98C; text-shadow: 0 0 16px rgba(255, 150, 60, .55); }
  100% { clip-path: inset(0 0 0 0); color: var(--final, var(--cream)); text-shadow: 0 0 0 rgba(255, 150, 60, 0); }
}
@keyframes edge { 0% { left: 0; opacity: 1; } 62% { left: 100%; opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(134, 209, 150, .55); } 70% { box-shadow: 0 0 0 9px rgba(134, 209, 150, 0); } 100% { box-shadow: 0 0 0 0 rgba(134, 209, 150, 0); } }
@keyframes pulse-hot { 0% { box-shadow: 0 0 0 0 rgba(255, 107, 61, .7); } 70% { box-shadow: 0 0 0 8px rgba(255, 107, 61, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 107, 61, 0); } }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 80% { opacity: 0; transform: translateY(12px); } 100% { opacity: 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee4 { to { transform: translateX(-25%); } }
@keyframes tile-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes beam { 0%, 15% { stroke-dashoffset: 17; } 45%, 70% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -17; } }
@keyframes spot { 0%, 38% { opacity: 0; } 48%, 72% { opacity: 1; } 90%, 100% { opacity: 0; } }
@keyframes bit { 0%, 100% { transform: translateY(-3px); } 50% { transform: translateY(3px); } }
@keyframes layer { 0% { opacity: .15; } 12%, 70% { opacity: 1; } 100% { opacity: .15; } }
@keyframes heat { 0% { opacity: 0; transform: translateY(3px); } 40%, 60% { opacity: 1; } 100% { opacity: 0; transform: translateY(-4px); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes flash { 0% { box-shadow: 0 0 0 0 rgba(255, 179, 92, 0); } 30% { box-shadow: 0 0 0 6px rgba(255, 179, 92, .38); border-color: var(--amber); } 100% { box-shadow: 0 0 0 0 rgba(255, 179, 92, 0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes dash { to { stroke-dashoffset: 0; } }

/* ==========================================================================
   Responsywność
   ========================================================================== */
@media (max-width: 1100px) {
  .nav { gap: 18px; }
  .nav a { font-size: 14px; }
  .occasions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .nav, .header-cta { display: none; }
  .burger { display: block; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  body { font-size: 16.5px; }

  .hero { align-items: flex-end; padding: calc(var(--header-h) + 24px) 0 calc(96px + env(safe-area-inset-bottom)); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { position: absolute; inset: 0; z-index: -1; display: block; min-height: 0; }
  .hero-video { position: absolute; inset: 0; width: auto; aspect-ratio: auto; border-radius: 0; box-shadow: none; transform: none; translate: none; }
  .hero-video::after { background: linear-gradient(180deg, rgba(33, 23, 16, .62) 0%, rgba(33, 23, 16, .55) 30%, rgba(33, 23, 16, .88) 58%, var(--deep) 100%); }
  .live { display: none; }
  .hero-eyebrow { font-size: 11px; letter-spacing: .16em; }
  .hero-photo, .scroll-cue { display: none; }
  .hero-g { z-index: 1; left: 76%; top: 34%; width: 118vw; }
  /* ziarno tła i tak jest tu pod filmem, a mieszanie warstw (overlay) mocno spowalniało animację na iPhonie */
  .hero-bg::after { display: none; }
  .hero-sparks { z-index: 1; left: 0; top: 0; width: 100%; height: 100%; }
  .hero-title { font-size: clamp(40px, 11vw, 64px); }
  .hero-cta .btn { flex: 1 1 auto; }

  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 27vw; gap: 10px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--pad) * -1) 22px; padding: 2px var(--pad) 6px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }

  .services { grid-template-columns: 1fr; gap: 22px; }
  .firmy-grid, .onas-grid, .faq-grid, .kontakt-grid { grid-template-columns: 1fr; }
  .onas-media { max-width: 520px; }
  .faq .section-head { position: static; }

  .steps { grid-template-columns: 1fr; gap: 34px; padding-left: 72px; }
  .steps-track { left: 23px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; }
  .steps-fill { width: 100%; height: calc(var(--p, 0) * 100%); background: linear-gradient(180deg, var(--amber), var(--glow)); }
  .steps-fill::after { right: auto; left: 50%; top: auto; bottom: -5px; margin: 0 0 0 -5px; }
  .step { position: relative; }
  .step-num { position: absolute; left: -72px; top: -8px; margin: 0; }

  .mbar {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40;
    display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px; padding: 6px; border-radius: 14px;
    background: rgba(42, 30, 20, .93); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .55);
    transform: translateY(160%); transition: transform .5s var(--ease);
  }
  .mbar.is-on { transform: none; }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 10px; color: var(--cream); font-size: 15px; font-weight: 500; text-decoration: none; }
  .mbar svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .mbar .mbar-main { background: var(--cream); color: var(--ink); }

  .cookie { left: 12px; right: 12px; bottom: calc(82px + env(safe-area-inset-bottom)); max-width: none; }

  .lb-prev, .lb-next { top: auto; bottom: 22px; transform: none; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
  .lb-media img, .lb-media video { max-width: 94vw; max-height: 70vh; }
}

@media (max-width: 640px) {
  .hide-sm, .hero-note .sep { display: none; }
  .occasion { min-height: 150px; padding: 18px 16px; }
  .occasion::after { display: none; }
  .o-name { font-size: 16.5px; }
  .o-hint { font-size: 13px; }
  .gallery-cta { padding: 22px; }
  .gallery-cta .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats { gap: 12px; }
  .stat-label { font-size: 13px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .qa summary { font-size: 17.5px; }
  .qa-body p { padding-right: 0; }
}

@media (hover: none) {
  .tile figcaption { opacity: 1; transform: none; padding: 30px 12px 10px; font-size: 13px; }
  .tile figcaption .tile-txt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}

/* ograniczony ruch: wszystko od razu na miejscu */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .reveal-ready [data-reveal], .js .tile { opacity: 1; transform: none; }
  .draw-ready [data-draw] svg * { stroke-dashoffset: 0; }
  .trust-track { width: auto; animation: none; }
  .trust-list { flex-wrap: wrap; justify-content: center; row-gap: 10px; }
  .trust-list[aria-hidden="true"] { display: none; }
  .reveal-ready .step { opacity: 1; }
}
