/* Wspólne style jasnej wersji holodeck3d.pl (układ, nagłówek, stopka, przyciski).
   Używane przez stronę i przez edytor wizualny (/edytor/). */
@font-face {
  font-family: 'Space Grotesk Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url(/fonts/space-grotesk-latin-ext.woff2) format('woff2-variations');
  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: 'Space Grotesk Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url(/fonts/space-grotesk-latin.woff2) format('woff2-variations');
  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 {
  --bg: #f6f1ec; --card: #f3ece6; --ink: #111; --line: #111; --orange: #ff8a2a; --pink: #ffa3d1; --pink-soft: #ffe0ef;
  --peach: #ffe6d6; --muted: #4a4a4a; --r: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 24px; }
body { margin: 0; background: #fff; color: var(--ink); font-family: 'Space Grotesk Variable', system-ui, sans-serif; font-size: clamp(15px, .55rem + .5vw, 20px); line-height: 1.55; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
main { overflow-x: clip; }
a { color: inherit; }
.wrap { width: calc(100% - 2 * clamp(16px, 4.5vw, 140px)); margin-inline: auto; }
h1, h2, h3 { margin: 0; line-height: 1.05; letter-spacing: -.02em; }
h2 { font-size: clamp(2rem, 4.4vw, 7rem); font-weight: 700; }
.kicker { font-size: clamp(16px, 1.25vw, 26px); line-height: 1.3; max-width: 16em; margin: 0 0 14px; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.btn-pink { display: inline-flex; align-items: center; gap: 14px; padding: 14px 26px; border: 1px solid var(--line); border-radius: 10px; background: var(--pink); color: var(--ink); font: inherit; font-size: clamp(18px, 1.9vw, 40px); text-decoration: none; cursor: pointer; transition: transform .25s, box-shadow .25s; }
.btn-pink:hover { transform: translateY(-2px); box-shadow: 4px 4px 0 var(--ink); }
.btn-pink .ar { display: grid; place-items: center; width: 1.1em; height: 1.1em; border-radius: 50%; background: var(--ink); color: #fff; font-size: .62em; }

.top { display: flex; align-items: center; justify-content: space-between; gap: clamp(24px, 4vw, 80px); padding: 26px 0 22px; }
/* Zakładki maksymalnie do prawej (logo po lewej). */
.top nav { margin-left: auto; justify-content: flex-end; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { display: block; height: clamp(44px, 3.4vw, 72px); width: auto; }
.brand-dot { width: 14px; height: 14px; border: 1.5px solid var(--ink); border-radius: 50%; position: relative; }
.brand-dot::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--orange); }
.top nav { display: flex; gap: clamp(14px, 6vw, 130px); flex-wrap: wrap; }
.top nav a { text-decoration: none; font-size: clamp(15px, 1vw, 21px); }
.top nav a:hover { color: var(--orange); }
.top-cta { padding: 9px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--pink); text-decoration: none; font-weight: 500; white-space: nowrap; }
.burger { display: none; }
/* Telefon: hamburger po prawej, menu rozwija się pod nagłówkiem. */
@media (max-width: 820px) {
  .top { position: relative; flex-wrap: wrap; }
  .burger { display: grid; gap: 5px; margin-left: auto; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); cursor: pointer; }
  .burger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
  .menu-otwarte .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-otwarte .burger span:nth-child(2) { opacity: 0; }
  .menu-otwarte .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .top nav { display: none; order: 3; width: 100%; margin: 0; flex-direction: column; gap: 0; padding: 6px 0; border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
  .menu-otwarte .top nav { display: flex; }
  .top nav a { padding: 12px 16px; font-size: 17px; border-bottom: 1px solid rgba(0, 0, 0, .08); }
  .top nav a:last-child { border-bottom: 0; }
  .top-cta { display: none; }
}

.foot { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 40px clamp(24px, 4vw, 80px); margin-top: 80px; padding: clamp(32px, 3vw, 56px) 0 48px; border-top: 1px solid var(--line); }
.foot-art { display: grid; gap: 16px; align-content: start; }
.foot-znak { display: grid; place-items: center; padding: clamp(18px, 2vw, 40px) 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--orange); color: var(--ink); font-weight: 700; font-size: clamp(34px, 5.2vw, 104px); line-height: .95; letter-spacing: -.02em; text-decoration: none; text-align: center; }
.foot-znak img { display: block; width: 86%; max-width: 520px; height: auto; }
.foot-linia { padding: clamp(18px, 1.8vw, 34px) clamp(18px, 2vw, 40px); border: 1px solid var(--line); border-radius: var(--r); background: var(--pink); }
.foot-linia svg { display: block; width: 100%; height: clamp(20px, 2vw, 40px); fill: var(--ink); stroke: var(--ink); stroke-width: 2; }
.foot-kol { display: grid; gap: 36px; align-content: start; }
.foot-kol > * { display: grid; gap: 10px; align-content: start; font-style: normal; }
.foot-tytul { margin: 0 0 6px; font-size: clamp(18px, 1.3vw, 26px); font-weight: 500; }
.foot-kol a, .foot-kol span { color: var(--ink); text-decoration: none; font-size: clamp(15px, 1vw, 19px); }
.foot-kol a:hover { color: #b34d00; }
.foot-kol small { color: var(--muted); }
.foot-social { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0; }
/* Ikony na białych kafelkach z czarną ramką: dobry kontrast na różowym tle. */
.foot-social > * { display: grid; place-items: center; width: clamp(52px, 4.4vw, 84px); aspect-ratio: 1; border: 1px solid var(--ink); border-radius: 12px; background: #fff; box-shadow: 3px 3px 0 var(--ink); transition: transform .2s, box-shadow .2s; }
.foot-social img { display: block; width: 62%; height: 62%; object-fit: contain; }
.foot-social a:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.foot-firma span { color: var(--muted); }
.foot-note { margin: 10px 0 0; font-size: 14px; font-weight: 600; }
.foot-note a { text-decoration: underline; }
@media (max-width: 900px) { .foot { grid-template-columns: 1fr 1fr; } .foot-art { grid-column: 1 / -1; } }
@media (max-width: 560px) { .foot { grid-template-columns: 1fr; } }
.ciastka { position: fixed; z-index: 50; left: 16px; right: 16px; bottom: 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; max-width: 1240px; margin: 0 auto; padding: 16px 52px 16px 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 4px 4px 0 var(--ink); font-size: 14px; line-height: 1.45; }
.ciastka[hidden] { display: none; }
.ciastka p { margin: 0; flex: 1 1 420px; }
.ciastka-ok { padding: 9px 22px; border: 1px solid var(--ink); border-radius: 999px; background: var(--pink); color: var(--ink); font: inherit; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.ciastka-ok:hover { transform: translate(-1px, -1px); box-shadow: 2px 2px 0 var(--ink); }
.ciastka-x { position: absolute; top: 8px; right: 10px; width: 32px; height: 32px; border: 0; background: none; color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; }

/* Podstrony (Nowości, polityka): wspólne klasy. */
.sub-page { padding-top: clamp(30px, 5vw, 60px); }
.code { display: inline-flex; gap: 0; margin: 0; font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }
.code b { padding: 5px 12px; border: 1px solid var(--line); border-radius: 6px 0 0 6px; background: var(--orange); }
.code span { padding: 5px 14px; border: 1px solid var(--line); border-left: 0; border-radius: 0 6px 6px 0; background: var(--pink); }
.lead { font-size: clamp(16px, .9rem + .4vw, 19px); color: var(--muted); max-width: 640px; }
.panel { border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }

/* Wejście bloków przy przewijaniu. */
.wej { opacity: 0; transform: translateY(28px); transition: opacity .7s, transform .7s; }
.wej.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .wej { opacity: 1; transform: none; transition: none; } * { animation: none !important; } }

/* Tekst tylko dla Google i czytników ekranu (niewidoczny na stronie). */
.sr-tylko { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
