/* Zwierzyniecka 1 · arkusz stylów
   Kolory i fonty zmieniasz w jednym miejscu: sekcja :root poniżej. */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0020-007E, U+00A0-00FF, U+2013-2014, U+2018-201E, U+2022, U+2026, U+2192;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-pl.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0104-0107, U+0118-0119, U+0141-0144, U+015A-015B, U+0179-017C;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jbmono-latin.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
  unicode-range: U+0020-007E, U+00A0-00FF, U+2013-2014, U+2018-201E, U+2022, U+2026, U+2192;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jbmono-pl.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
  unicode-range: U+0104-0107, U+0118-0119, U+0141-0144, U+015A-015B, U+0179-017C;
}

:root {
  --bg: #121315;
  --panel: #1a1b1e;
  --line: #2c2f33;
  --line-strong: #3a3d42;
  --text: #edebe6;
  --text-strong: #ffffff;
  --text-2: #cfccc5;
  --muted: #a3a39e;
  --dim: #8a8a84;
  --accent: #f5b800;
  --accent-hover: #ffd24d;
  --on-accent: #121315;
  --bad: #ff7a6b;

  --sans: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --wrap: 1360px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 10vw, 128px);
  --header-h: 60px;

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--line-strong) var(--bg);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  caret-color: var(--accent);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--accent); color: var(--on-accent); }

img { display: block; max-width: 100%; height: auto; }

a { color: var(--accent); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-hover); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.display {
  font-stretch: 68%;
  font-weight: 850;
  line-height: .9;
  letter-spacing: -.01em;
  text-transform: uppercase;
}

.num { font-variant-numeric: tabular-nums lining-nums; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--accent); color: var(--on-accent);
  padding: 12px 16px; font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Pasek ---------- */
.bar {
  position: sticky; top: 0; z-index: 20;
  background: rgb(18 19 21 / .94);
  border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(8px)) {
  .bar { background: rgb(18 19 21 / .82); backdrop-filter: blur(10px) saturate(1.2); }
}
.bar__in {
  min-height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo {
  color: var(--text); text-decoration: none;
  font-weight: 900; font-size: 1.3rem; letter-spacing: .03em;
  display: inline-flex; align-items: center; gap: .3em;
  min-height: 44px;
}
.logo b { color: var(--accent); font-weight: 900; }
.logo:hover { color: var(--text); }
.nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); }
.nav__link {
  color: var(--text); text-decoration: none; font-size: .95rem; font-weight: 500;
  min-height: 44px; display: inline-flex; align-items: center;
}
.nav__link:hover { color: var(--accent); }
.call {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 16px;
  background: var(--accent); color: var(--on-accent);
  font-weight: 750; text-decoration: none; white-space: nowrap;
}
.call:hover { background: var(--accent-hover); color: var(--on-accent); }
.call svg { width: 18px; height: 18px; flex: none; }
@media (max-width: 760px) {
  .nav__link { display: none; }
  .logo { font-size: 1.1rem; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(40px, 7vw, 88px) clamp(56px, 8vw, 96px); }
.hero__grid {
  display: grid; gap: clamp(32px, 5vw, 64px);
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  align-items: stretch;
}
@media (max-width: 900px) { .hero__grid { grid-template-columns: minmax(0, 1fr); } }
.hero__copy { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.hero h1 { font-size: clamp(3.2rem, 9.2vw, 9.25rem); }
.hero h1 span { color: var(--accent); display: block; }
.lead { max-width: 36rem; font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.5; color: var(--text-2); margin-top: 28px; }
.lead strong { color: var(--text); font-weight: 650; display: block; margin-bottom: .35em; }

.size { display: flex; flex-direction: column; gap: 14px; }
.size__num {
  font-stretch: 62%; font-weight: 800;
  font-size: clamp(4rem, 11vw, 10.5rem); line-height: .8; letter-spacing: -.02em;
}
.size__num i { font-style: normal; color: var(--accent); }
.size__cap { font-family: var(--mono); font-size: .8rem; color: var(--muted); letter-spacing: .02em; }
.tags { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 8px 12px; border: 1px solid var(--line-strong); font-size: .95rem; color: var(--text-2); }

.oven { position: relative; margin: 0; min-height: 440px; overflow: hidden; background: var(--panel); }
.oven img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .oven { min-height: 0; height: min(78vh, 640px); } }
.oven__w, .oven__h { position: absolute; pointer-events: none; }
.oven__w { left: 0; right: 0; top: 20px; border-top: 2px solid var(--accent); transform-origin: left; }
.oven__h { top: 0; bottom: 0; right: 20px; border-left: 2px solid var(--accent); transform-origin: top; }
.oven__tag {
  position: absolute; background: var(--accent); color: var(--on-accent);
  font-family: var(--mono); font-weight: 700; font-size: .8rem; padding: 4px 10px; white-space: nowrap;
}
.oven__tag--w { top: 7px; left: 50%; transform: translateX(-50%); }
.oven__tag--h { right: 7px; top: 50%; transform: translateY(-50%); writing-mode: vertical-rl; padding: 10px 4px; }
.oven figcaption {
  position: absolute; left: 0; bottom: 0; background: var(--bg);
  padding: 10px 14px; font-family: var(--mono); font-size: .78rem; color: var(--text-2);
}

/* Jeden moment ruchu: linie wymiarów rysują się przy wejściu */
@media (prefers-reduced-motion: no-preference) {
  .oven__w { animation: drawX .9s cubic-bezier(.16, 1, .3, 1) .25s both; }
  .oven__h { animation: drawY .9s cubic-bezier(.16, 1, .3, 1) .45s both; }
  .oven__tag { animation: tagIn .5s cubic-bezier(.16, 1, .3, 1) 1s both; }
}
@keyframes drawX { from { transform: scaleX(0); } }
@keyframes drawY { from { transform: scaleY(0); } }
@keyframes tagIn { from { opacity: 0; } }

/* ---------- Pas: piaskarka ---------- */
.no { background: var(--accent); color: var(--on-accent); }
.no__in {
  padding-block: clamp(48px, 7vw, 72px);
  display: grid; gap: 32px 64px; align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
}
@media (max-width: 860px) { .no__in { grid-template-columns: minmax(0, 1fr); } }
.no h2 { font-size: clamp(2.4rem, 4.6vw, 4rem); margin-bottom: 14px; }
.no p { font-size: 1.1rem; line-height: 1.5; max-width: 30rem; }
.no ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 4px 28px;
  font-stretch: 68%; font-weight: 800; text-transform: uppercase;
  font-size: clamp(2rem, 3.8vw, 3.4rem); line-height: 1.08;
}
.no li { text-decoration: line-through; text-decoration-thickness: .09em; }

/* ---------- Sprawdzarka ---------- */
.check { padding-block: var(--section) clamp(56px, 8vw, 96px); }
.check__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 36px; }
.check h2, .section-title { font-size: clamp(2.6rem, 5.6vw, 5.2rem); }
.check__intro { max-width: 26rem; color: var(--muted); font-size: 1rem; }
.check__box {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
@media (max-width: 860px) { .check__box { grid-template-columns: minmax(0, 1fr); } }
.check__form, .check__out { background: var(--panel); padding: clamp(20px, 3vw, 36px); }
.check__form { display: flex; flex-direction: column; gap: 28px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend, .lbl { font-family: var(--mono); font-size: .78rem; letter-spacing: .04em; color: var(--muted); text-transform: uppercase; }
legend { margin-bottom: 12px; }
.modes { display: flex; flex-wrap: wrap; gap: 8px; }
.mode {
  min-height: 48px; padding: 0 18px; cursor: pointer;
  font: 700 1rem/1 var(--sans); color: var(--text);
  background: transparent; border: 1px solid var(--line-strong);
  transition: background-color .15s, border-color .15s, color .15s;
}
.mode:hover { border-color: var(--text-2); }
.mode[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.dims { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field .lbl { min-height: 3.3em; display: flex; align-items: flex-end; }
.field--qty { max-width: 220px; }
.inp {
  min-height: 56px; width: 100%; padding: 0 14px;
  background: var(--bg); color: var(--text); border: 1px solid var(--line-strong); border-radius: 0;
  font: 700 1.7rem/1 var(--sans); font-stretch: 75%; font-variant-numeric: tabular-nums;
  appearance: textfield; -moz-appearance: textfield;
}
.inp::-webkit-outer-spin-button, .inp::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.inp::placeholder { color: var(--dim); font-weight: 500; }
.inp:focus { outline: 2px solid var(--accent); outline-offset: 2px; border-color: var(--accent); }
.check__out { display: flex; flex-direction: column; gap: 24px; }
.verdict { font-size: clamp(2.1rem, 3.8vw, 3.4rem); color: var(--muted); transition: color .2s; }
.verdict[data-state="ok"] { color: var(--accent); }
.verdict[data-state="no"] { color: var(--bad); }
.notes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.notes li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; align-items: start; line-height: 1.45; }
.notes svg { width: 22px; height: 22px; margin-top: 1px; }
.notes .k-ok { color: var(--accent); }
.notes .k-no { color: var(--bad); }
.notes .k-maybe { color: var(--muted); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 24px; border: 0; cursor: pointer;
  background: var(--accent); color: var(--on-accent);
  font: 750 1.05rem/1 var(--sans); text-decoration: none;
}
.btn:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn--light { background: var(--text); }
.btn--light:hover { background: var(--text-strong); }
.check__cta[hidden] { display: none; }
.check__cta { align-self: flex-start; }

/* ---------- Usługi ---------- */
.services { border-top: 1px solid var(--line); padding-block: var(--section); }
.section-title { margin-bottom: clamp(36px, 5vw, 64px); }
.section-title span { color: var(--dim); display: block; }
.svc {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 4vw, 56px); padding-block: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--line); align-items: start;
}
.svc:last-child { border-bottom: 1px solid var(--line); }
@media (max-width: 860px) { .svc { grid-template-columns: minmax(0, 1fr); } }
.svc__img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; background: var(--panel); }
.svc__body { display: flex; flex-direction: column; gap: 20px; }
.svc__top { display: flex; flex-direction: column; gap: 10px; }
.svc h3 { font-size: clamp(2rem, 3.4vw, 3rem); }
.svc__fig { font-stretch: 62%; font-weight: 800; font-size: clamp(2.2rem, 4vw, 3.6rem); line-height: .9; color: var(--accent); white-space: nowrap; }
.svc__fig small { font-size: .45em; color: var(--muted); font-weight: 600; margin-left: .2em; letter-spacing: 0; }
.svc__lead { font-size: 1.15rem; line-height: 1.5; max-width: 40rem; }
.specs { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 24px; font-size: 1rem; line-height: 1.45; color: var(--text-2); }
.specs dt { font-family: var(--mono); font-size: .76rem; letter-spacing: .04em; color: var(--muted); padding-top: .25em; text-transform: uppercase; }
.specs dd { margin: 0; }
@media (max-width: 480px) { .specs { grid-template-columns: minmax(0, 1fr); gap: 2px 0; } .specs dd { margin-bottom: 10px; } }

/* ---------- Jeden adres ---------- */
.addr { background: var(--panel); border-block: 1px solid var(--line); }
.addr__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr); align-items: stretch; }
.addr__in img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.addr__txt { padding: clamp(40px, 6vw, 72px) clamp(20px, 3vw, 44px); display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.addr h2 { font-size: clamp(2.2rem, 4.4vw, 4.2rem); }
.addr p { max-width: 34rem; color: var(--text-2); font-size: 1.1rem; }
@media (max-width: 900px) {
  .addr__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .addr__txt { grid-column: 1 / -1; grid-row: 1; }
  .addr__in img { min-height: 220px; aspect-ratio: 1; }
}

/* ---------- Dla kogo + historia ---------- */
.who { padding-block: var(--section) clamp(40px, 6vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 80px); }
@media (max-width: 860px) { .who { grid-template-columns: minmax(0, 1fr); } }
.who h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: 20px; }
.who ul { list-style: none; margin: 0; padding: 0; font-stretch: 82%; font-weight: 700; font-size: clamp(1.3rem, 2.3vw, 1.85rem); line-height: 1.25; }
.who li { padding: 14px 0; border-top: 1px solid var(--line); }
.who li:last-child { border-bottom: 1px solid var(--line); }
.story { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.story p { font-stretch: 85%; font-weight: 600; font-size: clamp(1.3rem, 2.1vw, 1.75rem); line-height: 1.4; }
.facts { display: flex; flex-wrap: wrap; gap: 12px; }
.fact { display: flex; flex-direction: column; gap: 4px; padding: 16px 20px; border: 1px solid var(--line-strong); }
.fact span { font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; color: var(--muted); text-transform: uppercase; }
.fact b { font-weight: 800; font-size: 1.4rem; }

/* ---------- Kontakt ---------- */
.contact { padding-block: clamp(40px, 6vw, 64px) var(--section); }
.contact__box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 900px) { .contact__box { grid-template-columns: minmax(0, 1fr); } }
.contact__call { background: var(--accent); color: var(--on-accent); padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.contact__call h2 { font-size: clamp(2.4rem, 4.4vw, 4rem); margin-bottom: 16px; }
.contact__call p { font-size: 1.1rem; max-width: 26rem; }
.contact__call a { color: var(--on-accent); }
.contact__call :focus-visible { outline-color: var(--on-accent); }
.bigtel { font-stretch: 66%; font-weight: 850; font-size: clamp(2.8rem, 6vw, 5rem); line-height: .9; text-decoration: none; display: inline-block; padding-block: 6px; }
.bigtel:hover { color: var(--on-accent); text-decoration: underline; text-decoration-thickness: 3px; }
.contact__mail { font-weight: 700; font-size: 1.3rem; }
.contact__meta { font-family: var(--mono); font-size: .88rem; line-height: 1.7; font-style: normal; }

.form { background: var(--panel); padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; gap: 18px; }
.form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px; }
.ff { display: flex; flex-direction: column; gap: 6px; font-size: .95rem; color: var(--text-2); }
.ff > span { display: block; }
.ff em { color: var(--accent); font-style: normal; }
.ff input, .ff textarea {
  min-height: 50px; padding: 12px 14px; width: 100%;
  background: var(--bg); color: var(--text); border: 1px solid var(--line-strong); border-radius: 0;
  font: inherit; font-size: 1rem;
}
.ff textarea { resize: vertical; min-height: 140px; }
.ff input:focus, .ff textarea:focus { outline: 2px solid var(--accent); outline-offset: 2px; border-color: var(--accent); }
.ff input::placeholder, .ff textarea::placeholder { color: var(--dim); }
.ff input:user-invalid, .ff textarea:user-invalid { border-color: var(--bad); }
.form__note { font-size: .9rem; color: var(--muted); }
.form__note .req { color: var(--accent); font-style: normal; }
.form__status { font-weight: 650; min-height: 1.5em; }
.form__status[data-state="ok"] { color: var(--accent); }
.form__status[data-state="err"] { color: var(--bad); }
.form .btn { align-self: flex-start; }
.form .btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Stopka ---------- */
.foot { border-top: 1px solid var(--line); }
.foot__in { padding-block: 28px 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: .9rem; line-height: 1.6; color: var(--muted); }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--accent); }

/* ---------- Podstrona: polityka prywatności ---------- */
.doc { padding-block: clamp(48px, 8vw, 96px); max-width: 46rem; }
.doc h1 { font-size: clamp(2.4rem, 6vw, 4rem); margin-bottom: 32px; }
.doc h2 { font-size: 1.35rem; font-weight: 750; margin: 36px 0 12px; }
.doc p, .doc li { color: var(--text-2); }
.doc ul { padding-left: 1.2em; }
.doc li + li { margin-top: 6px; }
.doc__back { margin-top: 40px; }

@media print {
  .bar, .check, .form, .oven { display: none; }
  body { background: #fff; color: #000; }
}
