/* Fonty hostowane lokalnie: szybszy render (brak łańcucha do fonts.googleapis.com
   i fonts.gstatic.com) i brak przekazywania IP użytkownika do Google. */
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-sans-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-mono-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/ibm-plex-mono-500.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/ibm-plex-mono-600.woff2") format("woff2"); }
@font-face { font-family: Archivo; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/archivo-700.woff2") format("woff2"); }
@font-face { font-family: Archivo; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/archivo-800.woff2") format("woff2"); }

/* Złota Rączka Kraków, arkusz stylów */

:root {
  --bg:        #DFE0DB;
  --panel:     #F3F3EF;
  --ink:       #16211E;
  --ink-2:     #2C3733;
  --ink-3:     #3E4A46;
  --muted:     #58615D;
  --green:     #0B6E5F;
  --green-dk:  #075045;
  --yellow:    #E8C221;
  --on-dark:   #EDEEE9;
  --on-dark-2: #B9BFBB;
  --on-dark-3: #8D948F;

  --rule:      rgba(22, 33, 30, .14);
  --rule-2:    rgba(22, 33, 30, .22);
  --rule-dash: rgba(22, 33, 30, .3);
  --rule-inv:  rgba(243, 243, 239, .28);

  --sans: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --display: Archivo, system-ui, sans-serif;

  --wrap: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  background:
    repeating-linear-gradient(0deg,  rgba(22,33,30,.035) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(90deg, rgba(22,33,30,.035) 0 1px, transparent 1px 32px),
    var(--bg);
  overflow-x: hidden;
}

a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-dk); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
input, select, textarea, button { font: inherit; }
/* height:auto jest konieczne, bo atrybuty width/height w HTML (dodane dla CLS)
   działają jak presentational hint i bez tego wygrywają z aspect-ratio */
img { max-width: 100%; height: auto; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { border-top: 1px solid var(--rule); }
.section--panel { background: var(--panel); }
.section--dark  { background: var(--ink); color: var(--on-dark); }
.section__inner { padding-top: 64px; padding-bottom: 64px; }

.skip-link {
  position: absolute; left: 20px; top: -100px; z-index: 60;
  background: var(--green); color: var(--panel);
  padding: 12px 18px; text-decoration: none; font-family: var(--mono); font-size: 13px;
}
.skip-link:focus { top: 12px; color: var(--panel); }

/* ---------- typografia ---------- */

.eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted);
}
.eyebrow--rule { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.eyebrow--rule::before { content: ""; width: 26px; height: 1px; background: var(--muted); }

.meta {
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted);
}

.h1 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(38px, 6.4vw, 68px); line-height: .98; letter-spacing: -.03em;
  margin: 0 0 22px; text-wrap: balance;
}
.h1 em { font-style: normal; color: var(--green); }

.h2 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(28px, 4vw, 42px); letter-spacing: -.025em; margin: 0;
}
.h2--sm { font-size: clamp(26px, 3.6vw, 38px); }

.lede { font-size: 18px; line-height: 1.55; max-width: 52ch; margin: 0 0 30px; color: var(--ink-2); text-wrap: pretty; }

/* ---------- przyciski ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: .01em;
  padding: 16px 26px; border: 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: background-color .16s ease, color .16s ease;
}
.btn--primary { background: var(--green); color: var(--panel); }
.btn--primary:hover { background: var(--green-dk); color: var(--panel); }
.btn--ghost { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--panel); }

/* ---------- pasek górny ---------- */

.topbar {
  position: sticky; top: 0; z-index: 40;
  border-bottom: 1px solid var(--rule);
  background: rgba(243, 243, 239, .7);
  backdrop-filter: saturate(1.2) blur(6px);
}
.topbar__inner {
  max-width: var(--wrap); margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.topbar__brand { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.topbar__name {
  font-family: var(--display); font-weight: 800; font-size: 17px;
  letter-spacing: -.01em; text-transform: uppercase;
}
.topbar__area { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.topbar__nav { display: flex; align-items: center; gap: 12px; }
.topbar__link {
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em;
  color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule-dash);
}
.topbar__call {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green); color: var(--panel); text-decoration: none;
  padding: 9px 16px; font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .04em;
  white-space: nowrap;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  transition: background-color .16s ease;
}
.topbar__call:hover { background: var(--green-dk); color: var(--panel); }

@media (max-width: 560px) {
  .topbar__area, .topbar__link { display: none; }
}

/* ---------- hero ---------- */

.hero { padding-top: 56px; padding-bottom: 40px; }
.split {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 44px; align-items: start;
}

.badges {
  list-style: none; margin: 0; padding: 18px 0 0;
  border-top: 1px dashed var(--rule-dash);
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink-3);
}
.badges li { display: flex; align-items: center; gap: 8px; }
.badges li::before { content: ""; width: 7px; height: 7px; background: var(--yellow); }

.factcard__caption { margin: 0 0 10px; }
.factcard__photo { border: 1px solid rgba(22, 33, 30, .2); }
.factcard__photo img {
  display: block; width: 100%; aspect-ratio: 16 / 10;
  object-fit: cover; filter: saturate(.75) contrast(1.03);
}
.factcard__list {
  margin: 10px 0 0; border: 1px solid rgba(22, 33, 30, .2); background: var(--panel);
  display: grid; grid-template-columns: auto 1fr;
}
.factcard__list dt, .factcard__list dd {
  margin: 0; padding: 11px 14px;
  border-bottom: 1px dashed rgba(22, 33, 30, .22);
}
.factcard__list dt {
  font-family: var(--mono); font-size: 10px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); white-space: nowrap;
  border-right: 1px dashed rgba(22, 33, 30, .22);
}
.factcard__list dd { font-size: 15px; color: var(--ink-2); }
.factcard__list dt:nth-last-of-type(1), .factcard__list dd:nth-last-of-type(1) { border-bottom: 0; }

/* ---------- usługi ---------- */

.section__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; margin-bottom: 34px;
}

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }

.card { background: var(--panel); border: 1px solid rgba(22, 33, 30, .18); padding: 22px; }
.card__media { margin: -22px -22px 16px; }
.card__media img {
  display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  filter: saturate(.8) contrast(1.02);
}
.card__num {
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em; color: var(--muted);
  padding-bottom: 10px; border-bottom: 1px dashed rgba(22, 33, 30, .25); margin-bottom: 14px;
}
.card__title {
  font-family: var(--display); font-weight: 700; font-size: 21px;
  letter-spacing: -.01em; margin: 0 0 10px;
}
.card__text { margin: 0; font-size: 15px; line-height: 1.65; color: var(--ink-3); }

.card--lead {
  background: var(--bg); border-color: var(--rule-2); padding: 26px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}
.card--lead .card__media { margin: -26px -26px 18px; }
.card--lead .card__media img { aspect-ratio: 16 / 9; filter: saturate(.85) contrast(1.02); }
.card--lead .card__num {
  display: flex; align-items: center; justify-content: space-between;
  color: var(--green); padding-bottom: 12px;
  border-bottom-color: var(--rule-dash); margin-bottom: 18px;
}
.card--lead .card__num span:last-child { color: var(--muted); }
.card--lead .card__title { font-weight: 800; font-size: 30px; letter-spacing: -.02em; margin-bottom: 14px; }
.card__list { margin: 0; padding-left: 18px; font-size: 16px; line-height: 1.7; color: var(--ink-2); }

.card--desat img { filter: saturate(.7) contrast(1.02); }

.limits {
  margin-top: 16px; padding: 22px 24px;
  border: 1px dashed rgba(22, 33, 30, .35);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 8px 32px;
  align-items: start;
}
.limits__title {
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted); margin: 0; font-weight: 500;
}
.limits__text { margin: 0; font-size: 15px; line-height: 1.65; color: var(--ink-3); max-width: 68ch; }

/* ---------- jak to działa ---------- */

.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  border: 1px solid var(--rule-2); background: var(--panel);
}
.steps li { padding: 24px; border-right: 1px dashed rgba(22, 33, 30, .28); }
.steps li:last-child { border-right: 0; }
.steps b {
  display: block; font-family: var(--display); font-weight: 800;
  font-size: 44px; line-height: 1; color: var(--green); letter-spacing: -.04em;
}
.steps p { margin: 12px 0 0; font-size: 16px; line-height: 1.55; color: var(--ink-2); }

/* ---------- cennik ---------- */

.section--dark .h2 { color: var(--panel); }
.price__intro { font-size: 17px; line-height: 1.6; color: var(--on-dark-2); margin: 0 0 24px; max-width: 44ch; }
.price__terms {
  border: 1px solid var(--rule-inv); padding: 16px 18px;
  font-family: var(--mono); font-size: 12px; line-height: 1.9; letter-spacing: .05em; color: var(--on-dark);
}
.price__terms .hi { color: var(--yellow); }
.price__terms b { font-weight: 600; color: #fff; }

.price__notes {
  margin: 16px 0 0; padding: 0; list-style: none;
  font-size: 14px; line-height: 1.65; color: var(--on-dark-2);
}
.price__notes li { padding-left: 16px; position: relative; }
.price__notes li::before { content: "·"; position: absolute; left: 4px; color: var(--yellow); }
.price__photo {
  display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-top: 20px;
  filter: saturate(.75) contrast(1.03);
}

.table { border: 1px solid var(--rule-inv); }
.table__head, .table__row { display: flex; justify-content: space-between; gap: 16px; }
.table__head {
  padding: 14px 18px; font-family: var(--mono); font-size: 11px; letter-spacing: .16em;
  color: var(--on-dark-3); border-bottom: 1px dashed var(--rule-inv);
}
.table__row { padding: 15px 18px; border-bottom: 1px dashed rgba(243, 243, 239, .18); font-size: 16px; }
.table__row:last-child { border-bottom: 0; }
.table__row span:last-child { font-family: var(--mono); font-size: 15px; white-space: nowrap; }

/* ---------- zasady współpracy ---------- */

.promises { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }

.promise { background: var(--bg); border: 1px solid rgba(22, 33, 30, .22); padding: 0 20px 22px; }
.promise__media { margin: 0 -20px 16px; }
.promise__media img {
  display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  filter: saturate(.7) contrast(1.03);
}
.promise__title {
  font-family: var(--display); font-weight: 700; font-size: 19px;
  line-height: 1.25; letter-spacing: -.01em; margin: 0 0 10px;
  padding-bottom: 10px; border-bottom: 1px dashed rgba(22, 33, 30, .3);
}
/* dwie linie na tytuł, żeby kreski i akapity równały się między kartami */
@media (min-width: 760px) { .promise__title { min-height: 2.5em; } }
.promise__text { margin: 0; font-size: 15px; line-height: 1.65; color: var(--ink-3); }


/* ---------- o firmie ---------- */

.about p { font-size: 17px; line-height: 1.65; color: var(--ink-2); margin: 0 0 16px; max-width: 56ch; }
.about__sign { font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: -.01em; margin-top: 24px; }
.about__photo { border: 1px solid rgba(22, 33, 30, .2); margin-bottom: 20px; }
.about__photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: saturate(.8) contrast(1.03); }

.stamps { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-start; }
.stamp {
  border: 2px solid var(--ink); color: var(--ink); padding: 13px 14px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em;
  text-align: center; line-height: 1.5;
}
.stamp--green { border-color: var(--green); color: var(--green); }
.stamp:nth-child(1) { transform: rotate(-3deg); }
.stamp:nth-child(2) { transform: rotate(2deg); }
.stamp:nth-child(3) { transform: rotate(1.5deg); }
.stamp:nth-child(4) { transform: rotate(-2deg); }

/* ---------- FAQ ---------- */

.faq { border-top: 1px solid rgba(22, 33, 30, .2); }
.faq__item { border-bottom: 1px solid rgba(22, 33, 30, .2); }
.faq__q {
  width: 100%; background: none; border: 0; padding: 18px 0; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  text-align: left; color: var(--ink);
  font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: -.01em;
}
.faq__sign { font-family: var(--mono); font-size: 18px; color: var(--green); }
.faq__a { margin: 0; padding: 0 0 20px; font-size: 16px; line-height: 1.65; color: var(--ink-3); max-width: 64ch; }
.faq__a[hidden] { display: none; }

/* ---------- formularz ---------- */

.contact__links {
  display: flex; flex-direction: column; gap: 10px;
  font-family: var(--mono); font-size: 13px; letter-spacing: .05em;
}
.contact__links a { color: var(--ink); }
.contact__links span { color: var(--muted); }
.contact__photo { margin-top: 28px; border: 1px solid rgba(22, 33, 30, .2); }
@media (max-width: 700px) { .contact__photo { display: none; } }
.contact__photo img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; filter: saturate(.8) contrast(1.03); }

.form {
  border: 1px solid var(--rule-2); background: var(--panel); padding: 24px;
  display: grid; gap: 16px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
}
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.form label {
  display: grid; gap: 6px; min-width: 0;
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-3);
}
.form input, .form select, .form textarea {
  width: 100%; min-width: 0; max-width: 100%;
  border: 1px solid var(--rule-dash); background: var(--bg);
  padding: 11px 12px; font-family: var(--sans); font-size: 16px;
  color: var(--ink); letter-spacing: 0; text-transform: none;
}
.form textarea { resize: vertical; }
.form input[type="file"] {
  border-style: dashed; border-color: rgba(22, 33, 30, .4);
  padding: 10px 12px; font-family: var(--mono); font-size: 12px; color: var(--ink-3);
}
.form label.form__consent {
  display: flex; gap: 10px; align-items: flex-start;
  font-family: var(--sans); font-size: 13px; line-height: 1.5;
  color: var(--ink-3); letter-spacing: 0; text-transform: none;
}
.form__consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--green); }
.form__rodo {
  margin: -6px 0 0; font-size: 12px; line-height: 1.55; color: var(--muted);
}
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__status {
  margin: 0; padding: 12px 14px; font-size: 14px; line-height: 1.5;
  border-left: 3px solid var(--green); background: rgba(11, 110, 95, .08); color: var(--ink-2);
}
.form__status--blad { border-left-color: #A8321E; background: rgba(168, 50, 30, .08); }
.form__foot {
  border-top: 1px dashed var(--rule-dash); padding-top: 16px;
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between;
}
.form__note { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.form__submit { font-size: 16px; padding: 15px 26px; }

/* ---------- stopka ---------- */

.footer { border-top: 1px solid var(--rule); background: var(--ink); color: var(--on-dark-2); }
.footer__inner {
  padding-top: 48px; padding-bottom: 96px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px;
}
.footer__name {
  font-family: var(--display); font-weight: 800; font-size: 20px;
  color: var(--panel); text-transform: uppercase; letter-spacing: -.01em;
}
.footer__col { font-family: var(--mono); font-size: 12px; line-height: 1.9; letter-spacing: .05em; }
.footer__col h3 { font: inherit; color: var(--on-dark-3); margin: 0; }
.footer__col a { color: var(--panel); }
.footer__social { display: flex; gap: 14px; margin-top: 6px; }

/* ---------- strona prawna ---------- */

.legal { padding-top: 48px; padding-bottom: 72px; max-width: 760px; }
.legal__meta { font-family: var(--mono); font-size: 12px; color: var(--muted); margin: 8px 0 32px; }
.legal h2 {
  font-family: var(--display); font-weight: 700; font-size: 19px;
  letter-spacing: -.01em; margin: 30px 0 8px;
}
.legal p { font-size: 16px; line-height: 1.7; color: var(--ink-2); margin: 0 0 12px; }

/* ---------- pasek mobilny ---------- */

.mobilebar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(22, 33, 30, .92);
  display: flex; gap: 10px;
}
.mobilebar a {
  text-align: center; text-decoration: none; min-height: 48px;
  font-family: var(--display); font-weight: 700; font-size: 17px;
}
.mobilebar__call { flex: 2; background: var(--green); color: var(--panel); padding: 15px 12px; }
.mobilebar__wa { flex: 1; background: transparent; color: var(--panel); border: 2px solid rgba(243, 243, 239, .5); padding: 13px 12px; }
@media (min-width: 900px) { .mobilebar { display: none; } }

/* ---------- animacja wejścia ---------- */

[data-reveal] {
  opacity: 0; transform: translateY(16px);
  transition: opacity .55s ease, transform .55s ease;
}
[data-reveal].on { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none; }
  .stamp { transform: none; }
}
