/* ==========================================================================
   JUST-BRUK – arkusz stylów
   Kolory zachowane z poprzedniej strony (pomarańcz #d84b21 + ciemne tło).
   Wszystkie kolory są w :root – zmiana w jednym miejscu zmienia całą stronę.
   ========================================================================== */
@font-face {
  font-family: "Catamaran"; font-style: normal; font-weight: 600 800; font-display: swap;
  src: url("../fonts/catamaran-latin-ext.woff2") format("woff2");
  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: "Catamaran"; font-style: normal; font-weight: 600 800; font-display: swap;
  src: url("../fonts/catamaran-latin.woff2") format("woff2");
  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 {
  --c-brand: #d84b21;        /* pomarańcz JUST-BRUK */
  --c-brand-dark: #b83c17;   /* pomarańcz – hover */
  --c-brand-text: #b83c17;   /* pomarańcz na jasnym tle (kontrast AA) */
  --c-on-brand: #ffffff;
  --c-dark: #1b1d20;         /* nagłówek, stopka */
  --c-dark-2: #2a2d31;
  --c-text: #212529;
  --c-muted: #5a6068;
  --c-bg: #ffffff;
  --c-bg-alt: #f5f4f2;
  --c-line: #e4e1dc;
  --c-ok: #1d7a3e;
  --c-err: #b3261e;

  --radius: 10px;
  --shadow: 0 6px 24px rgba(0, 0, 0, .07);
  --wrap: 1160px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Catamaran", var(--font);
  --header-h: 68px;
}

/* ---------- Baza ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; color: var(--c-text); background: var(--c-bg); }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--c-brand-text); }
h1, h2, h3 { font-family: var(--font-head); font-weight: 800; line-height: 1.15; margin: 0 0 .55em; }
h1 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1em; }
address { font-style: normal; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--alt { background: var(--c-bg-alt); }
.section__head { max-width: 740px; margin-bottom: 40px; }
.section__head p { color: var(--c-muted); }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c-brand-text); margin-bottom: .7em; }
.eyebrow--light { color: #ffb59c; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--c-brand); color: #fff; padding: 10px 14px; border-radius: 6px; }
.skip-link:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--c-brand); outline-offset: 2px; }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .75em 1.3em; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.btn--lg { padding: .95em 1.7em; font-size: 1.05rem; }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn--primary { background: var(--c-brand); color: var(--c-on-brand); }
.btn--primary:hover { background: var(--c-brand-dark); }
.btn--ghost { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }
.btn--ghost-dark { border-color: rgba(255, 255, 255, .35); color: #fff; background: none; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; }

/* ---------- Nagłówek ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--c-dark); color: #fff; }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; letter-spacing: .03em; }
.logo img { width: 40px; height: 40px; }
.logo b { color: var(--c-brand); }
.nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: 10px 12px; color: #e9eaec; text-decoration: none; font-weight: 600; font-size: .95rem; border-radius: 6px; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.header__cta { display: none; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; padding: 10px; margin-right: -10px; cursor: pointer; }
.nav-toggle svg { width: 28px; height: 28px; }
@media (min-width: 1100px) { .header__cta { display: inline-flex; } }
@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; inset: var(--header-h) 0 auto 0; background: var(--c-dark); border-top: 1px solid rgba(255, 255, 255, .08); display: none; box-shadow: 0 12px 24px rgba(0, 0, 0, .3); }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; padding: 8px 16px 16px; }
  .nav a { padding: 14px 8px; font-size: 1.05rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--c-dark); padding: clamp(72px, 12vw, 150px) 0 clamp(60px, 9vw, 120px); }
.hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(17, 18, 20, .93) 25%, rgba(17, 18, 20, .72) 60%, rgba(17, 18, 20, .45)); }
.hero__content > * { max-width: 760px; }
.hero h1 span { color: var(--c-brand); }
.hero__lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: #dcdee1; max-width: 650px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 36px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 28px; list-style: none; padding: 0; margin: 0; color: #dcdee1; font-size: .98rem; }
.hero__trust li { display: flex; align-items: center; gap: 8px; }
.hero__trust svg { width: 20px; height: 20px; color: var(--c-brand); flex: none; }

/* ---------- Usługi ---------- */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.card { background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); border-top: 4px solid var(--c-brand); }
.card__icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--c-dark); color: var(--c-brand); margin-bottom: 16px; }
.card__icon svg { width: 28px; height: 28px; }
.card p { color: var(--c-muted); margin: 0; }

/* ---------- Proces ---------- */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.steps li { padding: 24px 22px 22px; border-radius: var(--radius); background: var(--c-bg); border: 1px solid var(--c-line); }
.steps li::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: block; font-family: var(--font-head); font-size: 2.2rem; font-weight: 800; color: var(--c-brand); line-height: 1; margin-bottom: 10px; }
.steps p { color: var(--c-muted); margin: 0; }

/* ---------- Realizacje ---------- */
.gallery { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--c-dark-2); position: relative; }
.gallery a { display: block; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s; }
.gallery a:hover img, .gallery a:focus-visible img { transform: scale(1.04); }
.gallery figcaption { position: absolute; inset: auto 0 0 0; padding: 32px 14px 12px; color: #fff; font-weight: 600; font-size: .95rem; background: linear-gradient(transparent, rgba(0, 0, 0, .78)); pointer-events: none; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(10, 10, 12, .92); }
.lightbox[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.lightbox img { max-width: min(94vw, 1400px); max-height: 82vh; width: auto; height: auto; border-radius: 6px; }
.lightbox__cap { color: #fff; margin: 12px 16px 0; text-align: center; }
.lightbox__btn { position: fixed; background: rgba(0, 0, 0, .5); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer; }
.lightbox__btn:hover { background: var(--c-brand); }
.lightbox__close { top: 14px; right: 14px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ---------- O nas ---------- */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr .9fr; } }
.split__img { margin: 0; }
.split__img img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.checklist { list-style: none; padding: 0; margin: 0 0 1.6em; }
.checklist li { position: relative; padding-left: 32px; margin-bottom: 10px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .28em; width: 21px; height: 21px; border-radius: 50%;
  background: var(--c-brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- Obszar działania ---------- */
.areas { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0 0 20px; }
.areas li { background: var(--c-bg-alt); border: 1px solid var(--c-line); border-radius: 999px; padding: 8px 16px; font-weight: 600; }
.areas__note { color: var(--c-muted); margin: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--c-line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; font-weight: 700; font-size: 1.08rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 1.7rem; font-weight: 400; color: var(--c-brand); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--c-muted); padding-bottom: 8px; }

/* ---------- Kontakt ---------- */
.contact { display: grid; gap: 40px; }
@media (min-width: 960px) { .contact { grid-template-columns: .85fr 1.15fr; } }
.contact__info { list-style: none; padding: 0; margin: 0 0 24px; }
.contact__info li { display: flex; gap: 14px; margin-bottom: 18px; }
.contact__info svg { width: 22px; height: 22px; color: var(--c-brand); flex: none; margin-top: 3px; }
.contact__info a { font-weight: 700; text-decoration: none; }
.contact__info a:hover { text-decoration: underline; }
.contact__info small { display: block; color: var(--c-muted); font-size: .9rem; }
.contact__info small a { font-weight: 600; }
.map { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--c-bg-alt) repeating-linear-gradient(45deg, transparent 0 14px, rgba(0, 0, 0, .03) 14px 28px); border: 1px solid var(--c-line); display: grid; place-content: center; justify-items: center; gap: 8px; text-align: center; padding: 16px; }
.map p { color: var(--c-muted); font-size: .9rem; margin: 0; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.form { position: relative; background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--radius); padding: clamp(20px, 4vw, 34px); box-shadow: var(--shadow); align-self: start; }
.form__row { display: grid; gap: 0 16px; }
@media (min-width: 620px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.req { color: var(--c-err); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--c-text); background: #fff; border: 1.5px solid #cdc9c2; border-radius: 8px; padding: 12px 14px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--c-brand); outline: none; box-shadow: 0 0 0 3px rgba(216, 75, 33, .2); }
.field .is-invalid { border-color: var(--c-err); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--c-muted); margin: 4px 0 20px; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--c-brand); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { width: 100%; }
.form .btn[disabled] { opacity: .7; cursor: wait; }
.form__status { margin: 14px 0 0; font-weight: 600; min-height: 1.5em; }
.form__status.is-ok { color: var(--c-ok); }
.form__status.is-err { color: var(--c-err); }

/* ---------- Stopka ---------- */
.footer { background: #0f1012; color: #b9bdc3; padding: 52px 0 28px; font-size: .95rem; }
.footer__grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); margin-bottom: 32px; }
.footer .logo { margin-bottom: 14px; }
.footer h2 { color: #fff; font-size: 1.1rem; margin-bottom: .8em; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 6px; }
.footer a { color: #d9dbde; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 20px; display: flex; flex-wrap: wrap; gap: 4px 24px; justify-content: space-between; }
.footer__bottom p { margin: 0; }

/* ---------- Telefon (mobile) ---------- */
.call-fab { position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--c-brand); color: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .3); }
.call-fab svg { width: 26px; height: 26px; }
@media (min-width: 900px) { .call-fab { display: none; } }

/* ---------- Cookies ---------- */
.cookies { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 560px; margin-inline: auto; background: var(--c-dark); color: #e9eaec; border-radius: var(--radius); padding: 18px 20px; box-shadow: 0 12px 40px rgba(0, 0, 0, .35); font-size: .92rem; }
.cookies p { margin: 0 0 12px; }
.cookies a { color: #ffb59c; }
.cookies div { display: flex; gap: 10px; justify-content: flex-end; }
@media (min-width: 900px) { .cookies { left: auto; max-width: 440px; } }
.cookies .btn { padding: .55em 1.1em; }

/* ---------- Podstrony ---------- */
.page { padding: clamp(40px, 7vw, 80px) 0; }
.page .wrap { max-width: 820px; }
.page h2 { font-size: 1.45rem; margin-top: 1.6em; }
.page--center { text-align: center; min-height: 60vh; display: grid; place-items: center; }
.page--center .btn { margin: 6px; }

/* ---------- Galeria: link do wszystkich, podstrona realizacji ---------- */
.gallery__more { margin: 28px 0 0; text-align: center; }
.breadcrumbs { font-size: .92rem; color: var(--c-muted); margin-bottom: 20px; }
.breadcrumbs a { color: var(--c-muted); }
.cta { text-align: center; max-width: 760px; }
.cta .btn { margin: 6px; }
.nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--c-brand); }
