/* Kontakt — wariant C: interaktywne lokalizacje */

.contact-page {
  overflow: clip;
  background: #fff;
}

.contact-hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 76px;
  background:
    radial-gradient(circle at 84% 18%, rgba(15, 82, 124, .58), transparent 34%),
    linear-gradient(120deg, #001d34 0%, #002b4c 56%, #043d65 100%);
  color: #fff;
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .34;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
}

.contact-hero::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: 100%;
  background: var(--orange);
}

.contact-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  gap: clamp(56px, 7vw, 108px);
  align-items: center;
}

.contact-hero-copy {
  max-width: 720px;
}

.contact-hero h1 {
  max-width: 650px;
  color: #fff;
  font-size: clamp(3rem, 4.8vw, 4.8rem);
  line-height: .99;
  letter-spacing: -.055em;
}

.contact-hero-lead {
  max-width: 650px;
  margin-top: 22px;
  color: rgba(255,255,255,.68);
  font-size: 1.06rem;
  line-height: 1.72;
}

.contact-direct {
  border-top: 1px solid rgba(255,255,255,.25);
}

.contact-direct-label {
  padding: 0 0 12px;
  color: rgba(255,255,255,.48);
  font: 700 .7rem/1.3 Manrope, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.contact-direct-item {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) 22px;
  gap: 18px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,.12);
  transition: color .2s ease;
}

.contact-direct-item span,
.contact-direct-hours span {
  color: rgba(255,255,255,.48);
  font-size: .72rem;
}

.contact-direct-item strong,
.contact-direct-hours strong {
  overflow-wrap: anywhere;
  color: #fff;
  font: 650 .98rem/1.45 Manrope, sans-serif;
}

.contact-direct-item svg,
.contact-route-link svg,
.contact-cta-button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s ease;
}

.contact-direct-item:hover {
  color: #ff9a4a;
}

.contact-direct-item:hover svg,
.contact-route-link:hover svg,
.contact-cta-button:hover svg {
  transform: translateX(4px);
}

.contact-direct-hours {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.12);
}

.contact-section-heading {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(340px, .7fr);
  gap: 90px;
  align-items: end;
  margin-bottom: 58px;
}

.contact-section-heading h2,
.contact-company-heading h2 {
  max-width: 650px;
}

.contact-section-heading > p {
  max-width: 570px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.78;
}

.contact-locations {
  padding-top: 56px;
  padding-bottom: 96px;
  background: #fff;
}

.contact-page-heading {
  margin-bottom: 26px;
  padding-bottom: 13px;
  border-bottom: 1px solid #d9e1e7;
}

.contact-page-heading .eyebrow {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
}

.contact-locations-heading {
  display: none;
}

.contact-location-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(380px, .84fr);
  min-height: 500px;
  border: 1px solid #dfe5ea;
  background: #fff;
  box-shadow: 0 18px 48px rgba(0,37,66,.07);
}

.contact-map-frame {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(0,37,66,.08), rgba(240,124,0,.08)),
    #edf1f5;
}

.contact-map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 500px;
  border: 0;
  filter: saturate(.72) contrast(1.03);
}

.contact-map-badge {
  position: absolute;
  left: 22px;
  top: 22px;
  display: inline-flex;
  align-items: center;
  min-width: 0;
  padding: 13px 18px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 10px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 12px 34px rgba(0,37,66,.15);
  backdrop-filter: blur(12px);
}

.contact-map-badge strong {
  color: var(--navy);
  font: 750 .84rem/1.3 Manrope, sans-serif;
}

.contact-location-console {
  display: flex;
  min-width: 0;
  flex-direction: column;
  background: #002542;
  color: #fff;
}

.contact-location-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid rgba(255,255,255,.11);
}

.contact-location-tab {
  display: grid;
  min-height: 84px;
  align-content: center;
  padding: 18px 24px;
  border: 0;
  border-right: 1px solid rgba(255,255,255,.11);
  background: transparent;
  color: rgba(255,255,255,.58);
  text-align: left;
  cursor: pointer;
  transition: background .25s ease, color .25s ease;
}

.contact-location-tab:last-child {
  border-right: 0;
}

.contact-location-tab strong {
  color: inherit;
  font: 700 .86rem/1.35 Manrope, sans-serif;
}

.contact-location-tab:hover {
  background: rgba(255,255,255,.045);
  color: rgba(255,255,255,.82);
}

.contact-location-tab.is-active {
  background: var(--orange);
  color: #fff;
}

.contact-location-panels {
  display: flex;
  flex: 1;
}

.contact-location-panel {
  display: flex;
  width: 100%;
  flex-direction: column;
  padding: 32px 38px 28px;
  animation: contact-panel-in .32s ease both;
}

.contact-location-panel[hidden] {
  display: none;
}

@keyframes contact-panel-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.contact-location-panel h3 {
  max-width: 360px;
  margin-top: 0;
  color: #fff;
  font-size: clamp(1.85rem, 2.55vw, 2.55rem);
  line-height: 1.07;
}

.contact-location-panel .contact-location-title {
  max-width: none;
  white-space: nowrap;
  font-size: clamp(1.55rem, 1.85vw, 1.95rem);
  line-height: 1.08;
  letter-spacing: -.03em;
}

.contact-location-description {
  max-width: 430px;
  margin-top: 16px;
  color: rgba(255,255,255,.62);
  font-size: .94rem;
  line-height: 1.72;
}

.contact-location-details {
  display: grid;
  gap: 0;
  margin: 24px 0 0;
}

.contact-location-details div {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 18px;
  padding: 13px 0;
  border-top: 1px solid rgba(255,255,255,.12);
}

.contact-location-details dt {
  color: rgba(255,255,255,.58);
  font-size: .72rem;
}

.contact-location-details dd {
  margin: 0;
  color: #fff;
  font: 650 .9rem/1.55 Manrope, sans-serif;
}

.contact-visit-note {
  display: grid;
  grid-template-columns: 23px 1fr;
  gap: 12px;
  align-items: start;
  margin-top: 14px;
  padding: 13px 15px;
  border-left: 3px solid var(--orange);
  background: rgba(255,255,255,.055);
  color: rgba(255,255,255,.76);
  font-size: .8rem;
  line-height: 1.55;
}

.contact-visit-note svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #ff9958;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-route-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: auto;
  padding-top: 18px;
  color: #fff;
  font-size: .84rem;
  font-weight: 750;
}

.contact-route-link span {
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
}

.contact-route-link span::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--orange);
  transition: right .2s ease;
}

.contact-route-link:hover span::after {
  right: 0;
}

.contact-company {
  padding-top: 92px;
  padding-bottom: 96px;
  border-top: 1px solid #dfe5ea;
  background: #eef2f5;
}

.contact-company-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #d8e0e7;
}

.contact-company-heading .eyebrow {
  margin: 0;
}

.contact-company-heading > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.contact-company-card {
  overflow: hidden;
  border: 1px solid #d8e0e7;
  background: #fff;
  box-shadow: 0 16px 42px rgba(0,37,66,.055);
}

.contact-company-identity {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  grid-template-areas:
    "label actions"
    "title actions"
    "description actions";
  column-gap: 52px;
  min-width: 0;
  padding: 42px 48px 44px;
  color: #fff;
  background: #07172a;
}

.contact-company-label,
.contact-company-actions span {
  color: rgba(255,255,255,.5);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.contact-company-label {
  grid-area: label;
}

.contact-company-identity h2 {
  grid-area: title;
  margin: 16px 0 0;
  color: #fff;
  font-size: clamp(2.25rem, 3.4vw, 3.45rem);
  line-height: 1.02;
  letter-spacing: -.048em;
}

.contact-company-identity h2 br {
  display: none;
}

.contact-company-identity h2 span {
  margin-left: .18em;
  color: rgba(255,255,255,.58);
  font-weight: 460;
}

.contact-company-identity > p {
  grid-area: description;
  max-width: 650px;
  margin: 20px 0 0;
  color: rgba(255,255,255,.64);
  font-size: .84rem;
  line-height: 1.7;
}

.contact-company-actions {
  grid-area: actions;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  padding: 0 0 0 42px;
  border-left: 1px solid rgba(255,255,255,.13);
}

.contact-company-actions a {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr) 20px;
  gap: 14px;
  align-items: center;
  padding: 17px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
  color: #fff;
}

.contact-company-actions a:first-child {
  border-top: 1px solid rgba(255,255,255,.12);
}

.contact-company-actions strong {
  overflow-wrap: anywhere;
  font: 650 .87rem/1.45 Manrope, sans-serif;
}

.contact-company-actions svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s ease;
}

.contact-company-actions a:hover svg {
  transform: translateX(4px);
}

.contact-company-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 36px;
  margin: 0;
  padding: 10px 48px 20px;
  background: #fff;
}

.contact-company-facts > div,
.contact-company-facts > div:nth-child(3n + 1):not(.contact-company-fact-wide),
.contact-company-facts > div:nth-last-child(-n + 3) {
  min-width: 0;
  min-height: 0;
  padding: 24px 0 26px;
  border: 0;
  border-top: 1px solid #e1e6eb;
}

.contact-company-facts .contact-company-fact-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(130px, .32fr) minmax(0, 1fr);
  align-items: center;
  min-height: 0;
  padding: 28px 0;
}

.contact-company-facts dt {
  color: var(--muted);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.contact-company-facts dd {
  margin: 12px 0 0;
  color: var(--navy);
  font: 680 .92rem/1.45 Manrope, sans-serif;
  overflow-wrap: anywhere;
}

.contact-company-fact-wide dd {
  margin: 0;
  font-size: 1.04rem;
}

.contact-cta {
  padding: 58px 0;
  background: #002542;
  color: #fff;
}

.contact-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 56px;
  align-items: center;
}

.contact-cta h2 {
  color: #fff;
  font-size: clamp(2rem, 3.35vw, 3.15rem);
}

.contact-cta p:not(.eyebrow) {
  max-width: 650px;
  margin-top: 15px;
  color: rgba(255,255,255,.62);
}

.contact-cta-button {
  min-width: 240px;
  justify-content: space-between;
  gap: 26px;
  padding-inline: 22px;
  border: 1px solid rgba(255,255,255,.32);
  background: transparent;
  color: #fff;
}

.contact-cta-button:hover {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
}

@media (max-width: 1080px) {
  .contact-hero-grid {
    gap: 48px;
  }

  .contact-location-grid {
    grid-template-columns: minmax(0, 1fr) minmax(340px, .8fr);
  }

  .contact-location-panel {
    padding: 30px 30px 26px;
  }

  .contact-company-card {
    grid-template-columns: minmax(300px, .78fr) minmax(0, 1.22fr);
  }

  .contact-company-facts > div {
    padding: 22px 20px;
  }
}

@media (max-width: 860px) {
  .contact-hero {
    padding: 70px 0 66px;
  }

  .contact-hero-grid,
  .contact-location-grid,
  .contact-company-card,
  .contact-cta-inner {
    grid-template-columns: 1fr;
  }

  .contact-hero h1 {
    max-width: 680px;
  }

  .contact-direct {
    max-width: 620px;
  }

  .contact-locations {
    padding-top: 68px;
    padding-bottom: 78px;
  }

  .contact-location-grid {
    min-height: 0;
  }

  .contact-map-frame,
  .contact-map-frame iframe {
    min-height: 390px;
  }

  .contact-location-console {
    min-height: 0;
  }

  .contact-company-identity {
    min-height: 430px;
  }

  .contact-cta-inner {
    gap: 30px;
  }

  .contact-cta-button {
    width: min(100%, 340px);
  }
}

@media (max-width: 620px) {
  .contact-hero {
    padding: 56px 0 52px;
  }

  .contact-hero h1 {
    font-size: clamp(2.45rem, 12vw, 3.55rem);
  }

  .contact-hero-lead {
    font-size: .95rem;
  }

  .contact-direct-item {
    grid-template-columns: 72px minmax(0, 1fr) 20px;
    gap: 12px;
  }

  .contact-direct-hours {
    grid-template-columns: 72px 1fr;
    gap: 12px;
  }

  .contact-locations {
    padding-top: 48px;
    padding-bottom: 62px;
  }

  .contact-map-frame,
  .contact-map-frame iframe {
    min-height: 310px;
  }

  .contact-map-badge {
    left: 14px;
    top: 14px;
    padding: 10px 14px;
  }

  .contact-location-tabs {
    grid-template-columns: 1fr 1fr;
  }

  .contact-location-tab {
    min-height: 68px;
    padding: 14px 16px;
  }

  .contact-location-panel {
    min-height: 0;
    padding: 30px 24px 26px;
  }

  .contact-company {
    padding-top: 68px;
    padding-bottom: 72px;
  }

  .contact-company-heading {
    align-items: flex-start;
    gap: 10px;
  }

  .contact-company-heading > p:last-child {
    max-width: 130px;
    text-align: right;
  }

  .contact-company-identity {
    min-height: 400px;
    padding: 32px 24px;
  }

  .contact-company-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-company-facts > div,
  .contact-company-facts > div:nth-child(3n + 1):not(.contact-company-fact-wide),
  .contact-company-facts > div:nth-last-child(-n + 3) {
    min-height: 108px;
    padding: 20px 18px;
    border-right: 1px solid #d8dee6;
    border-bottom: 1px solid #d8dee6;
  }

  .contact-company-facts > div:nth-child(odd):not(.contact-company-fact-wide) {
    border-right: 0;
  }

  .contact-company-facts > div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .contact-company-facts .contact-company-fact-wide {
    grid-column: 1 / -1;
    min-height: 118px;
    border-right: 0;
  }

  .contact-company-actions a {
    grid-template-columns: 58px minmax(0, 1fr) 18px;
    gap: 10px;
  }

  .contact-cta {
    padding: 46px 0;
  }
}

@media (max-width: 1080px) {
  .contact-company-identity {
    grid-template-columns: minmax(0, 1fr) minmax(280px, .72fr);
    column-gap: 38px;
    padding-inline: 40px;
  }

  .contact-company-actions {
    padding-left: 32px;
  }

  .contact-company-facts {
    padding-inline: 40px;
  }
}

@media (max-width: 860px) {
  .contact-company-identity {
    grid-template-columns: 1fr;
    grid-template-areas:
      "label"
      "title"
      "description"
      "actions";
    min-height: 0;
    padding: 38px 36px 34px;
  }

  .contact-company-identity h2 br {
    display: initial;
  }

  .contact-company-identity h2 span {
    margin-left: 0;
  }

  .contact-company-actions {
    margin-top: 30px;
    padding: 24px 0 0;
    border-top: 1px solid rgba(255,255,255,.13);
    border-left: 0;
  }

  .contact-company-actions a:first-child {
    border-top: 0;
  }

  .contact-company-facts {
    padding-inline: 36px;
  }
}

@media (max-width: 620px) {
  .contact-company-identity {
    min-height: 0;
    padding: 32px 24px 28px;
  }

  .contact-company-identity h2 {
    font-size: clamp(2.15rem, 11vw, 3rem);
  }

  .contact-company-facts {
    grid-template-columns: 1fr;
    padding: 8px 24px 18px;
  }

  .contact-company-facts > div,
  .contact-company-facts > div:nth-child(3n + 1):not(.contact-company-fact-wide),
  .contact-company-facts > div:nth-last-child(-n + 3),
  .contact-company-facts > div:nth-child(odd):not(.contact-company-fact-wide),
  .contact-company-facts > div:nth-last-child(-n + 2) {
    min-height: 0;
    padding: 20px 0 22px;
    border: 0;
    border-top: 1px solid #e1e6eb;
  }

  .contact-company-facts .contact-company-fact-wide {
    grid-column: 1;
    grid-template-columns: 1fr;
    align-items: start;
    min-height: 0;
    padding: 22px 0;
  }

  .contact-company-fact-wide dd {
    margin-top: 12px;
  }
}

/* Kontakt — lżejszy rytm sekcji i uproszczone dane firmy */
.contact-locations {
  background: #fff;
}

.contact-location-grid {
  border-color: #e2e7eb;
  box-shadow: 0 12px 34px rgba(0,37,66,.055);
}

.contact-company {
  padding-top: 32px;
  padding-bottom: 60px;
  border-top: 0;
  background: #f5f7fa;
}

.contact-company-heading {
  margin-bottom: 0;
  padding-bottom: 18px;
  border-bottom-color: #d9e1e7;
}

.contact-company-heading > p:last-child {
  display: none;
}

.contact-company-card {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
  overflow: visible;
  border: 0;
  border-bottom: 1px solid #d9e1e7;
  background: transparent;
  box-shadow: none;
}

.contact-company-identity {
  display: block;
  min-width: 0;
  padding: 34px 52px 36px 0;
  color: var(--ink);
  background: transparent;
}

.contact-company-label {
  color: var(--muted);
  font-size: .64rem;
}

.contact-company-identity h2 {
  margin: 12px 0 0;
  color: var(--navy);
  font-size: clamp(1.55rem, 2vw, 2.05rem);
  font-weight: 620;
  line-height: 1.14;
  letter-spacing: -.035em;
}

.contact-company-identity h2 br {
  display: initial;
}

.contact-company-identity h2 span {
  margin-left: 0;
  color: var(--navy);
  font-weight: inherit;
}

.contact-company-identity > p {
  max-width: 520px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.7;
}

.contact-company-actions {
  display: none;
}

.contact-company-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 32px;
  margin: 0;
  padding: 14px 0 16px 44px;
  border-left: 1px solid #d9e1e7;
  background: transparent;
}

.contact-company-facts > div,
.contact-company-facts > div:nth-child(3n + 1):not(.contact-company-fact-wide),
.contact-company-facts > div:nth-last-child(-n + 3) {
  min-width: 0;
  min-height: 0;
  padding: 20px 0 22px;
  border: 0;
  border-top: 1px solid #d9e1e7;
}

.contact-company-facts .contact-company-fact-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(120px, .28fr) minmax(0, 1fr);
  align-items: center;
  min-height: 0;
  padding: 20px 0 22px;
}

.contact-company-facts dt {
  color: var(--muted);
  font-size: .63rem;
  letter-spacing: .105em;
}

.contact-company-facts dd {
  margin-top: 10px;
  color: var(--navy);
  font-size: .88rem;
  font-weight: 660;
}

.contact-company-fact-wide dd {
  margin: 0;
  font-size: .94rem;
}

/* Kontakt — firmowa karta danych */
.contact-company-profile-card {
  display: grid;
  grid-template-columns: minmax(430px, .9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 4vw, 56px);
  align-items: stretch;
  padding: 6px 0 2px;
  background: transparent;
}

.contact-company-profile {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 18px 0 24px 24px;
  border-left: 4px solid var(--orange);
  background: transparent;
}

.contact-company-profile-label {
  display: block;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.contact-company-profile h2 {
  display: flex;
  max-width: none;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  padding: 16px 0;
  color: var(--navy);
  font-size: clamp(2.15rem, 3.4vw, 2.85rem);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -.048em;
}

.contact-company-profile .company-name-main {
  display: block;
  color: var(--navy);
  white-space: nowrap;
}

.contact-company-profile .company-name-suffix {
  display: block;
  margin-top: 3px;
  color: var(--navy);
  font-size: .88em;
  font-weight: 480;
}

.contact-company-profile > p:not(.eyebrow) {
  position: relative;
  z-index: 1;
  max-width: 500px;
  margin-top: 0;
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.58;
}

.contact-company-brand-lines {
  position: absolute;
  right: -12px;
  bottom: -24px;
  width: 175px;
  height: 142px;
  opacity: .085;
  pointer-events: none;
}

.contact-company-brand-lines span {
  position: absolute;
  bottom: 0;
  width: 58px;
  border: 4px solid var(--orange);
  border-bottom: 0;
}

.contact-company-brand-lines span:nth-child(1) {
  left: 0;
  height: 88px;
}

.contact-company-brand-lines span:nth-child(2) {
  left: 46px;
  height: 132px;
}

.contact-company-brand-lines span:nth-child(3) {
  left: 92px;
  height: 108px;
  border-color: var(--navy);
}

.contact-company-information {
  padding: 18px 0 24px;
}

.contact-company-group + .contact-company-group {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #d9e1e7;
}

.contact-company-group-label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
}

.contact-company-group-label > span {
  width: 24px;
  height: 2px;
  flex: 0 0 auto;
  background: var(--orange);
}

.contact-company-group-label p {
  color: var(--muted);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.contact-company-address-group address {
  margin: 0;
  color: var(--navy);
  font: normal 600 .98rem/1.3 Inter, Arial, sans-serif;
}

.contact-company-data-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
}

.contact-company-data-grid div {
  min-width: 0;
}

.contact-company-data-grid dt {
  color: var(--muted);
  font-size: .61rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.contact-company-data-grid dd {
  margin: 4px 0 0;
  color: var(--navy);
  font: 600 .89rem/1.3 Inter, Arial, sans-serif;
  overflow-wrap: anywhere;
}

.contact-cta {
  padding: 42px 0;
}

.contact-cta h2 {
  font-size: clamp(1.55rem, 1.85vw, 1.95rem);
  line-height: 1.08;
  letter-spacing: -.03em;
}

.contact-cta p:not(.eyebrow) {
  margin-top: 12px;
  font-size: .9rem;
}

@media (max-width: 860px) {
  .contact-company {
    padding-top: 48px;
    padding-bottom: 52px;
  }

  .contact-company-card {
    grid-template-columns: 1fr;
  }

  .contact-company-identity {
    display: block;
    min-height: 0;
    padding: 30px 0 28px;
  }

  .contact-company-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 10px 0 16px;
    border-top: 1px solid #d9e1e7;
    border-left: 0;
  }
}

@media (max-width: 620px) {
  .contact-company {
    padding-top: 40px;
    padding-bottom: 44px;
  }

  .contact-company-heading {
    padding-bottom: 14px;
  }

  .contact-company-identity {
    padding: 26px 0 24px;
  }

  .contact-company-identity h2 {
    font-size: 1.65rem;
  }

  .contact-company-facts {
    grid-template-columns: 1fr;
    padding: 6px 0 12px;
  }

  .contact-company-facts > div,
  .contact-company-facts > div:nth-child(3n + 1):not(.contact-company-fact-wide),
  .contact-company-facts > div:nth-last-child(-n + 3),
  .contact-company-facts > div:nth-child(odd):not(.contact-company-fact-wide),
  .contact-company-facts > div:nth-last-child(-n + 2) {
    min-height: 0;
    padding: 17px 0 19px;
    border: 0;
    border-top: 1px solid #d9e1e7;
  }

  .contact-company-facts .contact-company-fact-wide {
    grid-column: 1;
    display: block;
    min-height: 0;
    padding: 18px 0;
  }

  .contact-company-fact-wide dd {
    margin-top: 9px;
  }

  .contact-cta {
    padding: 36px 0;
  }
}

@media (max-width: 1080px) {
  .contact-company-profile-card {
    grid-template-columns: minmax(360px, .88fr) minmax(0, 1.12fr);
    gap: 36px;
  }

  .contact-company-profile {
    padding-right: 0;
  }

  .contact-company-information {
    padding-inline: 0;
  }
}

@media (max-width: 860px) {
  .contact-company-profile-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 4px;
  }

  .contact-company-profile {
    padding: 18px 0 22px 24px;
  }

  .contact-company-information {
    padding: 20px 0 12px;
    border-top: 1px solid #d9e1e7;
  }
}

@media (max-width: 620px) {
  .contact-company-profile-card {
    gap: 18px;
    padding-top: 0;
  }

  .contact-company-profile {
    min-height: 0;
    padding: 16px 0 20px 20px;
  }

  .contact-company-profile h2 {
    font-size: clamp(2rem, 10vw, 2.55rem);
  }

  .contact-company-profile .company-name-main {
    white-space: normal;
  }

  .contact-company-profile > p:not(.eyebrow) {
    font-size: .86rem;
  }

  .contact-company-brand-lines {
    right: -18px;
    bottom: -34px;
    transform: scale(.82);
    transform-origin: right bottom;
  }

  .contact-company-information {
    padding: 18px 0 18px;
  }

  .contact-company-data-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-company-data-grid div + div {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #edf0f3;
  }
}

/* Kontakt — jedna rodzina typograficzna, spójna ze stopką */
.contact-page,
.contact-page h1,
.contact-page h2,
.contact-page h3,
.contact-page p,
.contact-page span,
.contact-page strong,
.contact-page small,
.contact-page a,
.contact-page button,
.contact-page label,
.contact-page dt,
.contact-page dd,
.contact-page address,
.contact-page input,
.contact-page select,
.contact-page textarea {
  font-family: Inter, Arial, sans-serif;
}

@media (prefers-reduced-motion: reduce) {
  .contact-location-panel {
    animation: none;
  }
}


