/* Kontakt — page-specific styles; the shared subpage kit is at the end of assets/css/styles.css. */

/* --------------------------------------------------------------------------
   Napisz w sprawie — prose column + side box
   -------------------------------------------------------------------------- */

#napisz .contact-main__title {
  max-width: 20ch;
  font-size: var(--h2);
  font-weight: 700;
  line-height: 1.12;
}
#napisz .contact-main__lead {
  max-width: 56ch;
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.7;
}

#napisz .side-box .btn {
  padding-inline: 16px;
  font-size: 0.9375rem;
}

/* Three numbered message topics: ruled rows, not a plain bullet list. */
.message-topics {
  counter-reset: topic;
  margin: clamp(28px, 4vw, 44px) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-strong);
}
.message-topics li {
  counter-increment: topic;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 4px 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-strong);
}
.message-topics li::before {
  content: "0" counter(topic);
  grid-row: span 2;
  padding-top: 3px;
  color: var(--brand-strong);
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.message-topics h3 {
  font-size: 1.25rem;
  line-height: 1.25;
}
.message-topics p {
  max-width: 62ch;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Formularz — white panel on the tinted band
   -------------------------------------------------------------------------- */

#formularz .wbm-c-contact-form {
  align-items: start;
}
#formularz .wbm-c-contact-form__form {
  border: 1px solid var(--line);
  background: #fff;
}
#formularz .wbm-c-contact-form__lead {
  max-width: 42ch;
}

.form-notes {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.form-notes li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}
.form-notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 12px;
  height: 2px;
  background: var(--coral);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 600px) {
  .message-topics li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .message-topics li::before {
    grid-row: auto;
  }
}
