/* Znak „Dialog i relacja”: dwa doświadczenia spotykają się w bezpiecznej przestrzeni. */
.brand { gap: 13px; }
.brand-copy { display: block; position: relative; }
.brand-copy small { position: absolute; top: 100%; left: 0; margin-top: 1px; white-space: nowrap; }
.brand-mark { width: 50px; height: 42px; overflow: visible; flex: none; border-radius: 0; background: none; }
.brand-mark .shape-one { fill: #315b53; }
.brand-mark .shape-two { fill: #be765e; opacity: .9; }
.brand-mark .shape-light { fill: #f3dfb7; }

.credentials { grid-template-columns: repeat(3, 1fr); }
.credentials strong { line-height: 1.04; }
.credentials .credential-line { display: block; font-family: inherit; color: inherit; }
.credentials .experience-line { margin-top: 4px; font-size: 23px; }
.credentials .education { line-height: 1.04; }
.credentials .education .credential-line { font-size: inherit; }
.contact-card .button { font-size: 16px; }

/* Formularz kontaktowy */
.contact-form-card h3 {
  margin: 0 0 24px;
  color: var(--forest);
  font-family: var(--serif);
  font-size: clamp(32px, 3.2vw, 43px);
  font-weight: 500;
  line-height: 1;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin: 0;
  padding: 15px 16px;
  border: 1px solid rgba(36, 54, 51, .22);
  border-radius: 4px;
  color: var(--ink);
  background: rgba(255, 255, 255, .72);
  font: inherit;
  line-height: 1.4;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #66736f;
  opacity: 1;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--clay);
  outline: 3px solid rgba(190, 118, 94, .2);
  outline-offset: 1px;
}

.contact-form .contact-submit {
  width: 100%;
  margin-top: 4px;
  border: 0;
  color: #fff;
  background: var(--forest);
  cursor: pointer;
}

.contact-form .contact-submit:hover {
  background: #18332f;
}

.form-privacy {
  margin: 0;
  color: #65736f;
  font-size: 12px;
  line-height: 1.5;
}

.form-privacy a {
  text-underline-offset: 3px;
}

.form-status {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-left: 3px solid var(--forest-2);
  background: #fff;
  font-size: 14px;
}

.form-status.is-error {
  border-left-color: #a64040;
  color: #7e2727;
}

.sr-only,
.contact-trap {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.about { display: block; }
.about-copy { max-width: 820px; margin-left: auto; }
footer { justify-content: space-between; }

@media (max-width: 1050px) {
  .topbar nav { gap: 18px; }
  .topbar nav a { font-size: 13px; }
}

@media (max-width: 950px) {
  .about-copy { margin-left: 0; }
}

@media (min-width: 951px) {
  .credentials .education .credential-line { white-space: nowrap; }
}

@media (max-width: 620px) {
  .credentials { grid-template-columns: 1fr; }
  .credentials div { border-left: 0; border-top: 1px solid var(--line); }
  .credentials div:first-child { border-top: 0; }
}

/* Uzupełnienia SEO i danych firmy — 26.10.2026 */
.brand, .brand-copy { min-width: 0; }
.menu-btn { flex: none; }
.page-hero h1, .article-content h2 { overflow-wrap: anywhere; hyphens: auto; }
.credentials { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.credentials div { min-width: 0; padding-inline: clamp(14px, 2.2vw, 30px); }
.credentials strong { font-size: clamp(24px, 2.6vw, 30px); }
.site-footer { display: grid; grid-template-columns: 1.2fr 1fr; align-items: start; gap: 26px 40px; }
.site-footer .footer-links { justify-content: flex-end; }
.footer-identity p { margin: 8px 0 0; }
.footer-registration { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid #ffffff24; }
.footer-registration p, .footer-registration address { margin: 4px 0; color: #c8d5d2; font-size: 13px; font-style: normal; line-height: 1.65; }
.footer-registration .registration-name { color: #e8eeec; }
.reveal { opacity: 1; transform: none; }
@media (max-width: 950px) {
  .credentials { grid-template-columns: 1fr; }
  .credentials div { border-left: 0; border-top: 1px solid var(--line); }
  .credentials div:first-child { border-top: 0; }
  .credentials strong { font-size: 28px; }
  .topbar nav.open a:nth-child(2) { display: block; }
}
@media (max-width: 620px) {
  .site-footer { grid-template-columns: minmax(0, 1fr); }
  .site-footer .footer-links { justify-content: flex-start; }
  .credentials strong { font-size: 24px; }
  .brand-copy strong { max-width: 220px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .card { transition: none; }
}
