/* ===== CONTACT PAGE ===== */

.contact-article {
  min-width: 0;
}

/* ===== HERO ===== */

.contact-hero-card {
  position: relative;
  overflow: visible;
  margin-bottom: 30px;
  padding: 6px 0 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.contact-hero-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: center;
}

.contact-hero-copy {
  min-width: 0;
}

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



.contact-hero-card h1 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.65rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: #0b1730;
}

.contact-hero-address {
  margin: 16px 0 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #344054;
}

.contact-hero-intro {
  max-width: 720px;
  margin: 16px 0 0;
  font-size: 1rem;
  line-height: 1.7;
  color: #667085;
}

/* ===== ANIMOWANA WIZUALKA IT ===== */

.contact-network-visual {
  position: relative;
  width: 360px;
  height: 220px;
  justify-self: end;
  overflow: hidden;
  border-radius: 22px;

  background:
    radial-gradient(circle at 72% 28%, rgba(229, 0, 125, 0.06), transparent 28%),
    radial-gradient(circle at 38% 68%, rgba(86, 182, 255, 0.09), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);

  border: 1px solid #e4eaf2;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.045);

  opacity: 0;
  transform: translateX(-26px) scale(0.98);
  animation: networkPanelEnter 0.7s cubic-bezier(.22,.8,.25,1) 0.1s forwards;
}

.contact-network-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(31, 42, 68, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 42, 68, 0.035) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.7;
  pointer-events: auto;
}

.contact-network-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 24%, rgba(229, 0, 125, 0.045), transparent 14%),
    radial-gradient(circle at 76% 42%, rgba(229, 0, 125, 0.04), transparent 16%);
  pointer-events: none;
}
/* ===== SVG: LINIE I IMPULSY ===== */
/* ===== SVG: PŁYNNE LINIE DO DZIAŁU IT ===== */

.network-svg {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  clip-path: inset(0 100% 0 0);
  animation: networkReveal 0.65s ease 0.25s forwards;
}

.wire {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wire-base {
  stroke: rgba(31, 42, 68, 0.18);
  stroke-width: 3;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0;
  filter: drop-shadow(0 0 0 rgba(229, 0, 125, 0));
  animation-name: drawWireToCenter;
  animation-duration: 0.75s;
  animation-timing-function: cubic-bezier(.2,.8,.25,1);
  animation-fill-mode: forwards;
}
/* 
.pulse-1 {
  animation: pinkCurrentToCenter 0.9s ease-out 2.9s forwards;
}

.pulse-2 {
  animation: pinkCurrentToCenter 0.9s ease-out 3.05s forwards;
}

.pulse-3 {
  animation: pinkCurrentToCenter 0.9s ease-out 3.2s forwards;
}

.pulse-4 {
  animation: pinkCurrentToCenter 0.9s ease-out 3.35s forwards;
}

.pulse-5 {
  animation: pinkCurrentToCenter 0.9s ease-out 3.5s forwards;
}

.pulse-6 {
  animation: pinkCurrentToCenter 0.9s ease-out 3.65s forwards;
}
/* start po pojawieniu się kafelków, ale bez martwego czekania */
 */



.network-node {
  fill: #0b1730;
  stroke: #56b6ff;
  stroke-width: 3;
  opacity: 0;
  filter: drop-shadow(0 0 8px rgba(86, 182, 255, 0.35));
  transform-origin: center;
  animation: nodeWake 0.5s ease var(--node-delay) forwards;
}

.network-node--center {
  stroke: #e5007d;
  filter: drop-shadow(0 0 12px rgba(229, 0, 125, 0.55));
}

/* ===== KAFELKI W WIZUALCE ===== */

.network-tile {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;

  min-width: 48px;
  min-height: 48px;
  padding: 8px;
  border-radius: 14px;

  background: #ffffff;
  border: 1px solid #dce6f2;
  box-shadow:
    0 8px 18px rgba(15, 23, 42, 0.07),
    0 0 0 1px rgba(255, 255, 255, 0.8);

  color: #1f2a44;
  opacity: 0;
  transform: translateX(-14px) scale(0.96);
  animation: tileEnter 0.5s ease var(--tile-delay) forwards;
}

.network-tile-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1f2a44;
}

.network-tile-icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.8;
}
.tile-center {
  left: 126px;
  top: 78px;
  width: 104px;
  height: 66px;
  border-radius: 16px;
  flex-direction: column;
  gap: 5px;
  z-index: 4;

  animation:
    tileEnter 0.5s ease var(--tile-delay) forwards,
    centerPinkFrame 0.55s ease 2.55s forwards;
}

.tile-center .network-tile-title {
  font-size: 14px;
  font-weight: 700;
  color: #12203b;
  letter-spacing: -0.01em;
}

.tile-center .network-tile-icon {
  width: 24px;
  height: 24px;
}

.tile-center .network-tile-icon svg {
  width: 23px;
  height: 23px;
}

.tile-center::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  border: 2px solid transparent;
  opacity: 0;
  pointer-events: none;
  animation: centerPinkBorder 0.55s ease 2.55s forwards;
}

.tile-center::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 24px;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 0 0 rgba(229, 0, 125, 0);
  animation: centerPinkGlow 0.55s ease 2.55s forwards;
}

.tile-1 {
  left: 58px;
  top: 62px;
}

.tile-2 {
  left: 196px;
  top: 28px;
}

.tile-3 {
  left: 274px;
  top: 42px;
}

.tile-4 {
  left: 264px;
  top: 118px;
}

.tile-5 {
  left: 92px;
  top: 154px;
}

.tile-6 {
  left: 204px;
  top: 158px;
}

/* ===== KIEROWNIK ===== */
/* ===== KIEROWNIK ===== */

.contact-manager-card {
  margin-bottom: 28px;
  padding: 26px 30px;
  border: 1px solid #e4eaf2;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.045);
}

.contact-manager-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 30px;
  align-items: center;
}

.contact-manager-heading {
  min-width: 0;
}

.contact-eyebrow {
  margin: 0 0 8px;
  font-size: 0.74rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7b8494;
}

.contact-manager-heading h2 {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1.25;
  font-weight: 750;
  letter-spacing: -0.025em;
  color: #12203b;
}

.contact-manager-role {
  margin: 9px 0 0;
  font-size: 0.98rem;
  line-height: 1.6;
  color: #667085;
}

.contact-manager-details {
  display: grid;
  gap: 10px;
}

.contact-manager-detail {
  position: relative;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid #eef2f6;
  border-radius: 12px;
  background: #f8fafc;
  color: #344054;
  font: inherit;
  text-align: left;
}

button.contact-manager-detail {
  cursor: pointer;
}

button.contact-manager-detail:hover,
button.contact-manager-detail:focus {
  background: #ffffff;
  border-color: #d9e0ea;
}

.contact-manager-detail-label {
  font-size: 0.78rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #7b8494;
}

.contact-manager-detail-value {
  min-width: 0;
  font-size: 0.95rem;
  line-height: 1.35;
  font-weight: 650;
  color: #1f2a44;
  word-break: break-word;
}

.contact-manager-detail--static {
  cursor: default;
}
/* ===== KARTY SEKCJI ===== */

.contact-card {
  margin-bottom: 24px;
  padding: 28px 30px;
  border: 1px solid #e4eaf2;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
}

.contact-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 14px;
}

.contact-card-header h2 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.25;
  font-weight: 700;
  color: #12203b;
}

.contact-desc {
  margin: 0 0 18px;
  max-width: 760px;
  font-size: 0.98rem;
  line-height: 1.65;
  color: #667085;
}

/* ===== NUMER POKOJU ===== */

.room-number {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #f2f5f9;
  color: #1f2a44;
  font-size: 13px;
  font-weight: 700;
}

/* ===== BLOK OGÓLNY DZIAŁU ===== */

.contact-general {
  display: grid;
  gap: 10px;
  margin: 18px 0 22px;
  padding: 16px 18px;
  border: 1px solid #e8edf3;
  border-radius: 14px;
  background: #f8fafc;
  color: #344054;
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-general strong {
  color: #12203b;
  font-weight: 700;
}

/* ===== LISTA OSÓB ===== */

.contact-people {
  display: grid;
  gap: 0;
  margin-top: 8px;
}

.contact-person {
  padding: 16px 0;
  border-top: 1px solid #eef2f6;
}

.contact-person:first-child {
  border-top: 0;
}

.person-name {
  margin: 0 0 8px;
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 700;
  color: #12203b;
}

.person-email,
.person-phone {
  margin-top: 5px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #475467;
}

/* ===== PRZYCISKI KOPIOWANIA ===== */

.copy-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #344054;
  font: inherit;
  cursor: pointer;
  text-align: left;
}

.copy-trigger:hover {
  color: #1f2a44;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-copy {
  margin: 0 16px 8px 0;
}

.contact-copy-label {
  font-weight: 700;
  color: #667085;
}

.copy-feedback {
  position: absolute;
  left: 0;
  bottom: calc(100% + 6px);
  opacity: 0;
  pointer-events: none;
  padding: 4px 8px;
  border-radius: 999px;
  background: #1f2a44;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  transform: translateY(4px);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.copy-trigger.copied .copy-feedback {
  opacity: 1;
  transform: translateY(0);
}

/* ===== PILNE ===== */

.person-phone.urgent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #fff7f7;
  color: #9f1239;
}

.urgent-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: #fee2e2;
  color: #9f1239;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 700;
}

/* ===== SIDEBAR ===== */

.contact-sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ===== ANIMACJE ===== */

@keyframes networkPanelEnter {
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes networkReveal {
  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes tileEnter {
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes baseWireShow {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes pinkCurrentToCenter {
  0% {
    opacity: 0;
    stroke-dashoffset: 158;
  }

  10% {
    opacity: 1;
  }

  75% {
    opacity: 1;
    stroke-dashoffset: 0;
  }

  100% {
    opacity: 0.95;
    stroke-dashoffset: 0;
  }
}

@keyframes nodeWake {
  0% {
    opacity: 0;
    transform: scale(0.7);
  }

  60% {
    opacity: 1;
    transform: scale(1.22);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes centerPinkFrame {
  0% {
    box-shadow:
      0 0 0 1px rgba(255, 196, 61, 0.12),
      0 0 18px rgba(80, 180, 255, 0.18),
      0 8px 18px rgba(0, 0, 0, 0.18);
  }

  100% {
    border-color: rgba(229, 0, 125, 0.72);
    box-shadow:
      0 0 0 1px rgba(229, 0, 125, 0.38),
      0 0 18px rgba(229, 0, 125, 0.36),
      0 0 34px rgba(229, 0, 125, 0.18),
      0 8px 18px rgba(0, 0, 0, 0.2);
  }
}

@keyframes centerPinkBorder {
  0% {
    opacity: 0;
    border-color: transparent;
    transform: scale(0.96);
  }

  100% {
    opacity: 1;
    border-color: rgba(229, 0, 125, 0.75);
    transform: scale(1);
  }
}

/* @keyframes centerPinkGlow {
  0% {
    opacity: 0;
    box-shadow: 0 0 0 rgba(229, 0, 125, 0);
  }

  100% {
    opacity: 1;
    box-shadow: 0 0 26px rgba(229, 0, 125, 0.36);
  }
} */

/* ===== RESPONSIVE ===== */

@media (max-width: 1180px) {
  .contact-hero-main {
    grid-template-columns: 1fr;
  }

  .contact-network-visual {
    justify-self: start;
  }
}

@media (max-width: 768px) {
  .contact-hero-card,
  .contact-manager-card,
  .contact-card {
    padding: 22px;
    border-radius: 16px;
  }

  .contact-hero-copy,
  .contact-manager-person {
    grid-template-columns: 1fr;
  }

  .contact-person-avatar {
    width: 64px;
    height: 64px;
  }

  .contact-person-avatar svg {
    width: 30px;
    height: 30px;
  }

  .contact-network-visual {
    display: none;
  }

  .contact-manager-header,
  .contact-card-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-copy {
    display: flex;
    width: 100%;
    margin-right: 0;
  }
}

/* ===== ACCESSIBILITY: mniej ruchu ===== */

@media (prefers-reduced-motion: reduce) {
  .contact-network-visual,
  .network-svg,
  .network-tile,
  .wire-base,
  .tile-center,
  .tile-center::before,
  .tile-center::after {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }

  .wire-base {
    stroke-dashoffset: 0;
    stroke: rgba(229, 0, 125, 0.35);
  }
}

@keyframes drawWireToCenter {
  0% {
    opacity: 0;
    stroke-dashoffset: 1;
    stroke: rgba(31, 42, 68, 0.14);
    filter: drop-shadow(0 0 0 rgba(229, 0, 125, 0));
  }

  20% {
    opacity: 1;
  }

  72% {
    stroke-dashoffset: 0;
    stroke: rgba(31, 42, 68, 0.22);
  }

  100% {
    opacity: 1;
    stroke-dashoffset: 0;
    stroke: rgba(229, 0, 125, 0.42);
    filter: drop-shadow(0 0 5px rgba(229, 0, 125, 0.16));
  }
}

@keyframes centerPinkFrame {
  0% {
    border-color: #dce6f2;
    box-shadow:
      0 8px 18px rgba(15, 23, 42, 0.07),
      0 0 0 rgba(229, 0, 125, 0);
  }

  100% {
    border-color: rgba(229, 0, 125, 0.5);
    box-shadow:
      0 8px 18px rgba(15, 23, 42, 0.06),
      0 0 0 3px rgba(229, 0, 125, 0.08),
      0 0 16px rgba(229, 0, 125, 0.12);
  }
}

@keyframes centerPinkBorder {
  0% {
    opacity: 0;
    border-color: transparent;
    transform: scale(0.98);
  }

  100% {
    opacity: 1;
    border-color: rgba(229, 0, 125, 0.35);
    transform: scale(1);
  }
}

@keyframes centerPinkGlow {
  0% {
    opacity: 0;
    box-shadow: 0 0 0 rgba(229, 0, 125, 0);
  }

  100% {
    opacity: 1;
    box-shadow: 0 0 14px rgba(229, 0, 125, 0.16);
  }
}

.contact-hero-icon--location {
  background: #f8f1f6;
  color: #9b2f6b;
}

.contact-map-chip {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  padding: 10px 12px;
  border: 1px solid #e4eaf2;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.045);
}

.contact-map-chip-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 999px;
  background: #f8f1f6;
  color: #9b2f6b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.contact-map-chip-icon svg {
  width: 18px;
  height: 18px;
}

.contact-map-chip-text {
  color: #344054;
  font-size: 0.94rem;
  font-weight: 600;
  white-space: nowrap;
}

.contact-map-chip-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #f8fafc;
  color: #1f2a44;
  border: 1px solid #dce3ee;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.contact-map-chip-link:hover,
.contact-map-chip-link:focus {
  background: #fff5fa;
  color: #c9006d;
  border-color: rgba(229, 0, 125, 0.35);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .contact-map-chip {
    width: 100%;
    align-items: flex-start;
    border-radius: 16px;
    flex-wrap: wrap;
  }

  .contact-map-chip-text {
    white-space: normal;
  }

  .contact-map-chip-link {
    width: 100%;
    justify-content: center;
  }
}
.contact-map-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  color: #344054;
  font-size: 0.95rem;
  line-height: 1.4;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(52, 64, 84, 0.26);
  transition: color 0.18s ease, border-color 0.18s ease, gap 0.18s ease;
}

.contact-map-link:hover,
.contact-map-link:focus {
  color: #e5007d;
  border-bottom-color: #e5007d;
  gap: 10px;
}

.contact-map-link span {
  line-height: 1;
}

/* ===== CONTACT HERO WITH MAP ===== */

.contact-hero-card--map {
  position: relative;
  margin-bottom: 30px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.contact-hero-main--map {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1.14fr);
  gap: 0;
  align-items: stretch;
  overflow: hidden;
  min-height: 360px;
  border: 1px solid #e4eaf2;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
}

.contact-hero-copy--map {
  position: relative;
  z-index: 2;
  min-width: 0;
  padding: 46px 44px;
  background:
    radial-gradient(circle at 18% 18%, rgba(229, 0, 125, 0.06), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

.contact-hero-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 22px;
  padding: 5px 11px;
  border-radius: 999px;
  background: #fff5fa;
  color: #c9006d;
  font-size: 0.78rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-hero-card--map h1 {
  max-width: 520px;
  margin: 0;
  font-size: clamp(2.7rem, 4.1vw, 4.45rem);
  line-height: 0.96;
  font-weight: 800;
  letter-spacing: -0.06em;
  color: #0b1730;
}

.contact-hero-card--map h1::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin-top: 24px;
  border-radius: 999px;
  background: #e5007d;
}

.contact-hero-address-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 26px;
}

.contact-hero-address-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 999px;
  background: #fff0f7;
  color: #e5007d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.contact-hero-card--map .contact-hero-address {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.55;
  font-weight: 650;
  color: #1f2a44;
}

.contact-map-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  margin-top: 28px;
  padding: 14px 22px;
  border-radius: 12px;
  background: #e5007d;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.98rem;
  line-height: 1.2;
  font-weight: 800;
  box-shadow: 0 16px 28px rgba(229, 0, 125, 0.22);
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.contact-map-button:hover,
.contact-map-button:focus {
  background: #c9006d;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(229, 0, 125, 0.28);
}

.contact-map-button span {
  font-size: 1.1rem;
  line-height: 1;
}

.contact-hero-card--map .contact-hero-intro {
  max-width: 520px;
  margin: 22px 0 0;
  font-size: 1rem;
  line-height: 1.7;
  color: #667085;
}

/* ===== MAP PANEL ===== */

.contact-hero-map {
  position: relative;
  display: block;
  min-height: 360px;
  overflow: hidden;
  background: #f3f6f9;
  text-decoration: none;
  isolation: isolate;
}

.contact-hero-map-frame {
  position: absolute;
  inset: -70px -70px;
  width: calc(100% + 140px);
  height: calc(100% + 140px);
  border: 0;
  filter: grayscale(0.12) saturate(0.86) contrast(0.94) brightness(1.05);
  transform: scale(1.02);
  pointer-events: auto;
}

.contact-hero-map::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0.10) 34%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.contact-hero-map::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-left: 1px solid rgba(228, 234, 242, 0.86);
  pointer-events: none;
}

.contact-hero-map-overlay {
  position: absolute;
  left: 22px;
  bottom: 22px;
  z-index: 4;
  pointer-events: none;
}

.contact-hero-map-label {
  position: static;
  max-width: 260px;
  padding: 13px 15px;
  border: 1px solid rgba(228, 234, 242, 0.95);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.10);
  backdrop-filter: blur(8px);
  color: #12203b;
  pointer-events: none;
}

.contact-hero-map-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.contact-hero-pin {
  position: relative;
  width: 74px;
  height: 74px;
  border-radius: 999px 999px 999px 8px;
  background: #e5007d;
  transform: rotate(-45deg);
  box-shadow:
    0 14px 26px rgba(229, 0, 125, 0.28),
    0 0 0 14px rgba(229, 0, 125, 0.10);
}

.contact-hero-pin-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #ffffff;
  transform: translate(-50%, -50%);
}

.contact-hero-map-label {
  position: absolute;
  left: 52%;
  top: 35%;
  max-width: 250px;
  padding: 13px 15px;
  border: 1px solid rgba(228, 234, 242, 0.95);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.10);
  backdrop-filter: blur(8px);
  color: #12203b;
}

.contact-hero-map-label strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.95rem;
  line-height: 1.25;
  font-weight: 800;
}

.contact-hero-map-label span {
  display: block;
  font-size: 0.84rem;
  line-height: 1.45;
  color: #667085;
}

.contact-hero-map:hover .contact-hero-map-frame,
.contact-hero-map:focus .contact-hero-map-frame {
  filter: grayscale(0.04) saturate(0.98) contrast(0.96) brightness(1.04);
}

/* ===== RESPONSIVE HERO MAP ===== */

@media (max-width: 1180px) {
  .contact-hero-main--map {
    grid-template-columns: 1fr;
  }

  .contact-hero-map {
    min-height: 300px;
  }

  .contact-hero-map::after {
    border-left: 0;
    border-top: 1px solid rgba(228, 234, 242, 0.86);
  }

  .contact-hero-map-label {
    left: 50%;
    top: 28%;
  }
}

@media (max-width: 768px) {
  .contact-hero-main--map {
    min-height: 0;
    border-radius: 18px;
  }

  .contact-hero-copy--map {
    padding: 30px 24px;
  }

  .contact-hero-card--map h1 {
    font-size: clamp(2.25rem, 11vw, 3rem);
    line-height: 1;
  }

  .contact-hero-card--map h1::after {
    margin-top: 18px;
  }

  .contact-hero-address-box {
    margin-top: 22px;
  }

  .contact-map-button {
    width: 100%;
  }

  .contact-hero-map {
    min-height: 260px;
  }

  .contact-hero-pin {
    width: 58px;
    height: 58px;
  }

  .contact-hero-pin-dot {
    width: 17px;
    height: 17px;
  }

  .contact-hero-map-label {
    left: 50%;
    top: 30%;
    max-width: 210px;
    transform: translateX(-8%);
  }
}

@media (max-width: 520px) {
  .contact-hero-map {
    min-height: 220px;
  }

  .contact-hero-map-label {
    display: none;
  }
}

.contact-hero-map-frame {
  pointer-events: auto !important;
  z-index: 10 !important;
}

.contact-hero-map::before,
.contact-hero-map::after,
.contact-hero-map-overlay,
.contact-hero-map-label {
  pointer-events: none !important;
}


/* ===== MAP FALLBACK + MOBILE LIGHT VERSION ===== */

.contact-hero-map {
  position: relative;
  display: block;
  min-height: 360px;
  overflow: hidden;
  background: #f3f6f9;
  isolation: isolate;
}

.contact-hero-map-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  overflow: hidden;
  background: #f3f6f9;
  text-decoration: none;
}

.contact-hero-map-fallback img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0.08) saturate(0.9) contrast(0.96) brightness(1.04);
}

.contact-hero-map-frame {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.12) saturate(0.86) contrast(0.94) brightness(1.05);
  pointer-events: auto;
}

.contact-hero-map::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.42) 0%, rgba(255,255,255,0.1) 34%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

.contact-hero-map::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-left: 1px solid rgba(228, 234, 242, 0.86);
  pointer-events: none;
}

.contact-hero-map-overlay {
  position: absolute;
  left: 22px;
  bottom: 22px;
  z-index: 4;
  pointer-events: none;
}

.contact-hero-map-label {
  position: static;
  max-width: 260px;
  padding: 13px 15px;
  border: 1px solid rgba(228, 234, 242, 0.95);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.10);
  backdrop-filter: blur(8px);
  color: #12203b;
  pointer-events: none;
}

.contact-hero-map-label strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.95rem;
  line-height: 1.25;
  font-weight: 800;
}

.contact-hero-map-label span {
  display: block;
  font-size: 0.84rem;
  line-height: 1.45;
  color: #667085;
}

.contact-hero-map-fallback-button {
  display: none;
}

/* ===== MOBILE: lekka mapa bez iframe ===== */

@media (max-width: 768px) {
  .contact-hero-map {
    min-height: 240px;
  }

  .contact-hero-map-frame {
    display: none;
  }

  .contact-hero-map::before {
    background:
      linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.5) 100%);
  }

  .contact-hero-map::after {
    border-left: 0;
    border-top: 1px solid rgba(228, 234, 242, 0.86);
  }

  .contact-hero-map-overlay {
    display: none;
  }

  .contact-hero-map-fallback {
    z-index: 1;
  }

  .contact-hero-map-fallback-button {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 11px 16px;
    border-radius: 12px;
    background: #ffffff;
    color: #1f2a44;
    border: 1px solid #dfe5ee;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
    font-size: 0.94rem;
    font-weight: 800;
  }
}

@media (max-width: 520px) {
  .contact-hero-map {
    min-height: 210px;
  }
}

/* lekki skos między treścią a mapą na desktopie */
/* ===== KIEROWNIK DZIAŁU ===== */

.contact-manager-card--featured {
  position: relative;
  overflow: hidden;
  margin-bottom: 28px;
  padding: 30px;
  border: 1px solid #e4eaf2;
  border-radius: 20px;
  background:
    radial-gradient(circle at 92% 18%, rgba(229, 0, 125, 0.055), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.055);
}

.contact-manager-card--featured::before {
  content: "";
  position: absolute;
  left: 0;
  top: 28px;
  bottom: 28px;
  width: 4px;
  border-radius: 999px;
  background: #e5007d;
}

.contact-manager-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: 34px;
  align-items: center;
}

.contact-manager-main {
  min-width: 0;
}

.contact-eyebrow {
  margin: 0 0 10px;
  font-size: 0.76rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e5007d;
}

.contact-manager-main h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.2vw, 2.1rem);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #0b1730;
}

.contact-manager-role {
  max-width: 620px;
  margin: 14px 0 0;
  font-size: 1rem;
  line-height: 1.7;
  color: #667085;
}

.contact-manager-details {
  display: grid;
  gap: 10px;
}

.contact-manager-detail {
  position: relative;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid #e8edf3;
  border-radius: 14px;
  background: #ffffff;
  color: #344054;
  font: inherit;
  text-align: left;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.035);
}

button.contact-manager-detail {
  cursor: pointer;
}

button.contact-manager-detail:hover,
button.contact-manager-detail:focus {
  background: #fff5fa;
  border-color: rgba(229, 0, 125, 0.24);
}

.contact-manager-detail-label {
  font-size: 0.72rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  color: #7b8494;
}

.contact-manager-detail-value {
  min-width: 0;
  font-size: 0.95rem;
  line-height: 1.35;
  font-weight: 700;
  color: #1f2a44;
  word-break: break-word;
}

.contact-manager-detail--static {
  cursor: default;
}

@media (max-width: 900px) {
  .contact-manager-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-manager-card--featured {
    padding: 26px 24px;
  }
}

@media (max-width: 560px) {
  .contact-manager-detail {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}

.contact-manager-main h2 {
  margin: 0;
  font-size: clamp(1.32rem, 1.65vw, 1.62rem);
  line-height: 1.22;
  font-weight: 650;
  letter-spacing: -0.025em;
  color: #0b1730;
}

.contact-manager-role {
  max-width: 620px;
  margin: 12px 0 0;
  font-size: 0.96rem;
  line-height: 1.65;
  color: #667085;
}

.contact-manager-detail-value {
  min-width: 0;
  font-size: 0.93rem;
  line-height: 1.35;
  font-weight: 500;
  color: #344054;
  word-break: break-word;
}

.contact-manager-detail-label {
  font-size: 0.72rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  color: #7b8494;
}

/* =========================================================
   CONTACT PAGE — MANAGER + SECTIONS CLEAN VERSION
   ========================================================= */

/* ===== KARTA KIEROWNIKA ===== */

.contact-manager-card--featured {
  position: relative;
  overflow: hidden;
  margin-bottom: 28px;
  padding: 30px 34px;
  border: 1px solid #e4eaf2;
  border-radius: 20px;
  background:
    radial-gradient(circle at 96% 8%, rgba(229, 0, 125, 0.045), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.045);
}

.contact-manager-card--featured::before {
  content: "";
  position: absolute;
  left: 0;
  top: 28px;
  bottom: 28px;
  width: 4px;
  border-radius: 999px;
  background: #e5007d;
}

.contact-manager-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 38px;
  align-items: center;
}

.contact-manager-main {
  min-width: 0;
}

.contact-eyebrow {
  margin: 0 0 12px;
  font-size: 0.73rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #e5007d;
}

.contact-manager-main h2 {
  margin: 0;
  font-size: clamp(1.35rem, 1.75vw, 1.72rem);
  line-height: 1.22;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: #0b1730;
}

.contact-manager-name {
  margin: 18px 0 0;
  font-size: 1.08rem;
  line-height: 1.45;
  font-weight: 500;
  color: #344054;
}

.contact-manager-role {
  max-width: 600px;
  margin: 18px 0 0;
  font-size: 0.96rem;
  line-height: 1.72;
  color: #667085;
}

.contact-manager-details {
  display: grid;
  gap: 10px;
}

.contact-manager-detail {
  position: relative;
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 46px;
  padding: 11px 14px;
  border: 1px solid #e8edf3;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.92);
  color: #344054;
  font: inherit;
  text-align: left;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.025);
}

button.contact-manager-detail {
  cursor: pointer;
}

button.contact-manager-detail:hover,
button.contact-manager-detail:focus {
  background: #ffffff;
  border-color: rgba(229, 0, 125, 0.24);
}

.contact-manager-detail-label {
  font-size: 0.7rem;
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7b8494;
}

.contact-manager-detail-value {
  min-width: 0;
  font-size: 0.93rem;
  line-height: 1.35;
  font-weight: 500;
  color: #344054;
  word-break: break-word;
}

/* ===== KARTY DZIAŁÓW ===== */

.contact-card {
  margin-bottom: 24px;
  padding: 30px 34px;
  border: 1px solid #e4eaf2;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
}

.contact-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 22px;
  margin-bottom: 20px;
}

.contact-card-header h2 {
  margin: 0;
  font-size: 1.34rem;
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: #0b1730;
}

.contact-desc {
  margin: 12px 0 0;
  max-width: 760px;
  font-size: 0.96rem;
  line-height: 1.65;
  color: #667085;
}

.room-number {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 13px;
  border-radius: 999px;
  background: #f3f5f8;
  color: #344054;
  font-size: 0.82rem;
  line-height: 1;
  font-weight: 500;
}

/* ===== DANE OGÓLNE DZIAŁU ===== */

.contact-general {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 20px 0 22px;
  padding: 0;
  border: 1px solid #e8edf3;
  border-radius: 14px;
  background: #fbfcfe;
  overflow: hidden;
}

.contact-general-item {
  display: grid;
  gap: 8px;
  min-height: 74px;
  padding: 18px 20px;
}

.contact-general-item + .contact-general-item {
  border-left: 1px solid #e8edf3;
}

.contact-general-label {
  color: #7b8494;
  font-size: 0.72rem;
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.contact-general-value {
  justify-self: start;
  font-size: 0.96rem;
  line-height: 1.45;
  font-weight: 500;
  color: #1f2a44;
}

/* ===== LISTA OSÓB ===== */

.contact-people {
  display: grid;
  gap: 0;
  margin-top: 8px;
}

.contact-person {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  min-height: 58px;
  padding: 15px 0;
  border-top: 1px solid #eef2f6;
}

.contact-person:first-child {
  border-top: 0;
}

.person-name {
  margin: 0;
  font-size: 0.97rem;
  line-height: 1.35;
  font-weight: 500;
  color: #12203b;
}

.person-contact-lines {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.person-email,
.person-phone {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.45;
  color: #536174;
}

.contact-copy-hint {
  color: #667085;
  font-size: 0.86rem;
  line-height: 1;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.15s ease, color 0.15s ease;
}

.contact-person:hover .contact-copy-hint {
  opacity: 1;
}

/* ===== KOPIOWANIE ===== */

.copy-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-align: left;
}

.copy-trigger:hover,
.copy-trigger:focus {
  color: #e5007d;
  text-decoration: none;
}

.copy-feedback {
  position: absolute;
  left: 0;
  bottom: calc(100% + 6px);
  opacity: 0;
  pointer-events: none;
  padding: 4px 8px;
  border-radius: 999px;
  background: #1f2a44;
  color: #ffffff;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 600;
  white-space: nowrap;
  transform: translateY(4px);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.copy-trigger.copied .copy-feedback {
  opacity: 1;
  transform: translateY(0);
}

/* ===== PILNE ===== */

.person-phone.urgent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 0;
  padding: 7px 9px;
  border-radius: 10px;
  background: #fff5fa;
  color: #b00060;
}

.urgent-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: #ffe4f1;
  color: #b00060;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 600;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 980px) {
  .contact-manager-content {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .contact-manager-details {
    max-width: 560px;
  }
}

@media (max-width: 760px) {
  .contact-manager-card--featured,
  .contact-card {
    padding: 24px 22px;
    border-radius: 16px;
  }

  .contact-manager-card--featured::before {
    top: 22px;
    bottom: 22px;
  }

  .contact-card-header {
    flex-direction: column;
    gap: 12px;
  }

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

  .contact-general-item + .contact-general-item {
    border-left: 0;
    border-top: 1px solid #e8edf3;
  }

  .contact-person {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px 0;
  }

  .contact-copy-hint {
    display: none;
  }

  .contact-manager-detail {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}

/* ===== FINAL TYPO CORRECTION ===== */

/* nazwy działów w kartach */
.contact-card-header h2 {
  font-size: 1.18rem;
  line-height: 1.28;
  font-weight: 500;
  letter-spacing: -0.018em;
}

/* tytuł: Kierownik Działu Informatyki */
.contact-manager-main h2 {
  font-size: clamp(1.18rem, 1.35vw, 1.42rem);
  line-height: 1.26;
  font-weight: 500;
  letter-spacing: -0.018em;
}

/* imię i nazwisko kierownika */
.contact-manager-name {
  margin-top: 14px;
  font-size: 0.98rem;
  line-height: 1.45;
  font-weight: 500;
}

/* opis pod nazwiskiem */
.contact-manager-role {
  margin-top: 14px;
  font-size: 0.93rem;
  line-height: 1.68;
}

/* ===== FINAL: HERO TITLE SMALLER ===== */

.contact-hero-card--map h1 {
  max-width: 520px;
  font-size: clamp(2.05rem, 2.8vw, 3rem);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.045em;
}

.contact-hero-card--map h1::after {
  width: 58px;
  height: 3px;
  margin-top: 18px;
}

/* ===== MANAGER DETAILS AS CLEAN LINES ===== */

.contact-manager-details--lines {
  display: grid;
  gap: 0;
  align-self: stretch;
  align-content: center;
}

.contact-manager-line {
  position: relative;
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 50px;
  padding: 13px 0;
  border-top: 1px solid #eef2f6;
}

.contact-manager-line:first-child {
  border-top: 0;
}

.contact-manager-line-label {
  color: #7b8494;
  font-size: 0.72rem;
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.contact-manager-line-value {
  min-width: 0;
  justify-self: start;
  font-size: 0.94rem;
  line-height: 1.45;
  font-weight: 500;
  color: #536174;
  word-break: break-word;
}

button.contact-manager-line-value {
  border: 0;
  padding: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
  text-align: left;
}

button.contact-manager-line-value:hover,
button.contact-manager-line-value:focus {
  color: #e5007d;
}

.contact-manager-copy-hint {
  color: #667085;
  font-size: 0.86rem;
  line-height: 1;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.15s ease, color 0.15s ease;
}

.contact-manager-line:hover .contact-manager-copy-hint {
  opacity: 1;
}

.contact-manager-line:hover .contact-manager-copy-hint {
  color: #667085;
}

/* wyłączenie starych ramek, jeśli gdzieś jeszcze dziedziczą */
.contact-manager-details--lines .contact-manager-detail {
  display: contents;
}

/* mobile */
@media (max-width: 760px) {
  .contact-manager-line {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 14px 0;
  }

  .contact-manager-copy-hint {
    display: none;
  }
}
.contact-card,
.contact-manager-card {
  scroll-margin-top: 120px;
}

html {
  scroll-behavior: smooth;
}