:root {
  --contact-bg: #0c1318;
  --contact-bg-soft: #111a21;
  --contact-light: #ffffff;
  --contact-light-2: #f5f8f6;
  --contact-card-dark: #182228;
  --contact-text: #f5f7f2;
  --contact-text-dark: #121a1f;
  --contact-muted: #b8c0c4;
  --contact-muted-dark: #536068;
  --contact-accent: #69b945;
  --contact-accent-strong: #68bd45;
  --contact-border-dark: rgba(18, 26, 31, 0.08);
  --contact-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
}

/* Final modern contact pass - stable layout aligned with the current site style. */
body.contact-modern-body {
  background: #f6f8f4;
  color: #0d171d;
  font-family: "Montserrat", sans-serif;
}

.contact-modern-body h1,
.contact-modern-body h2,
.contact-modern-body h3,
.contact-modern-body h4,
.contact-modern-body h5,
.contact-modern-body h6 {
  font-family: "Montserrat", sans-serif;
  letter-spacing: -0.045em;
}

.contact-modern {
  background: #f6f8f4;
}

.contact-hero {
  padding: 172px 0 94px;
  background:
    radial-gradient(circle at 74% 25%, rgba(96, 191, 58, 0.18), transparent 28%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    #0d171d;
  background-size: auto, 94px 94px, 94px 94px, auto;
  color: #f6f8f4;
}

.contact-hero__copy h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(4rem, 7vw, 7.3rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.07em;
  text-transform: uppercase;
}

.contact-hero__copy p {
  max-width: 590px;
  color: rgba(246, 248, 244, 0.72);
  font-size: 1.04rem;
  line-height: 1.85;
}

.contact-hero__visual {
  min-height: 0;
}

.contact-hero__frame {
  position: relative;
  inset: auto;
  margin-left: auto;
  padding: 22px;
  max-width: 620px;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(17, 27, 33, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.contact-hero__stage {
  min-height: 430px;
  padding: 78px 26px 34px;
  overflow: hidden;
}

.contact-hero__stack {
  position: relative;
  inset: auto;
  z-index: 2;
  max-width: 520px;
  margin: 0 auto;
}

.contact-hero__spotlight,
.contact-hero__mini-card {
  background: rgba(8, 15, 19, 0.86);
  border-color: rgba(255, 255, 255, 0.09);
}

.contact-hero__spotlight strong,
.contact-hero__mini-card strong {
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.contact-hero__pin {
  right: 22px;
  bottom: 22px;
}

.contact-details {
  padding: 94px 0 92px;
  background:
    radial-gradient(circle at 15% 10%, rgba(96, 191, 58, 0.08), transparent 20%),
    #f6f8f4;
}

.contact-departments {
  padding: 94px 0;
  background: #ffffff;
}

.contact-map {
  padding: 94px 0 116px;
  background: #f6f8f4;
}

.contact-section-head {
  margin-bottom: 34px;
}

.contact-section-head h2,
.contact-map__copy h2 {
  max-width: 980px;
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  font-weight: 800;
  line-height: 0.93;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

.contact-method-card,
.contact-team-card,
.contact-map__shell {
  border-radius: 30px;
  background: #ffffff;
  border: 1px solid rgba(13, 23, 29, 0.08);
  box-shadow: 0 22px 70px rgba(13, 23, 29, 0.08);
}

.contact-method-card h3,
.contact-team-card h3 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.35rem, 1.8vw, 1.9rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.contact-method-card p,
.contact-team-card p,
.contact-map__copy p {
  color: #52606a;
}

.contact-team-card a,
.contact-method-card a {
  color: #0d171d;
}

.contact-map__shell {
  padding: clamp(22px, 3vw, 42px);
}

.contact-map__frame {
  height: clamp(420px, 38vw, 560px);
  border-radius: 28px;
  background: #e9eee7;
}

.contact-map__frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 1199px) {
  .contact-hero {
    padding-top: 150px;
  }

  .contact-hero__frame {
    max-width: none;
    margin-top: 36px;
  }
}

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

  .contact-hero__copy h1 {
    font-size: clamp(3.05rem, 15vw, 4.6rem);
  }

  .contact-hero__stage {
    min-height: 540px;
    padding: 72px 18px 28px;
  }

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

  .contact-section-head h2,
  .contact-map__copy h2 {
    font-size: clamp(2.35rem, 12vw, 3.6rem);
  }
}

body.contact-modern-body {
  background:
    radial-gradient(circle at top left, rgba(105, 185, 69, 0.1), transparent 24%),
    linear-gradient(180deg, #0c1318 0%, #111a21 27%, #ffffff 27%, #ffffff 100%);
  color: var(--contact-text-dark);
  font-family: "Montserrat", sans-serif;
}

.contact-modern-body h1,
.contact-modern-body h2,
.contact-modern-body h3,
.contact-modern-body h4,
.contact-modern-body h5,
.contact-modern-body h6 {
  font-family: "Montserrat", sans-serif;
  letter-spacing: 0.03em;
}

.contact-modern-body #header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0 0;
  background: transparent;
  box-shadow: none;
}

.contact-modern-body #header .container {
  align-items: center;
  gap: 26px;
  padding: 14px 20px;
  border-radius: 999px;
  background: rgba(12, 19, 24, 0.78);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.contact-modern-body #header .logo img {
  height: 60px;
}

.contact-modern-body .nav-menu {
  flex: 1;
}

.contact-modern-body .nav-menu > ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.contact-modern-body .nav-menu > ul > li + li {
  padding-left: 18px;
}

.contact-modern-body .nav-menu a,
.contact-modern-body .mobile-nav a {
  color: var(--contact-text);
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
}

.contact-modern-body .nav-menu a:hover,
.contact-modern-body .nav-menu .active > a,
.contact-modern-body .nav-menu li:hover > a,
.contact-modern-body .mobile-nav a:hover,
.contact-modern-body .mobile-nav .active > a,
.contact-modern-body .mobile-nav li:hover > a {
  color: var(--contact-accent-strong);
}

.contact-modern-body .nav-menu__fundusze a {
  margin-left: 14px;
  padding: 0;
}

.contact-modern-body .nav-menu__fundusze img {
  width: 78px;
  border-radius: 12px;
  opacity: 0.92;
}

.contact-modern-body .nav-menu .drop-down {
  position: relative;
}

.contact-modern-body .nav-menu .drop-down > ul {
  top: calc(100% + 18px) !important;
  min-width: 240px;
  padding: 14px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    linear-gradient(135deg, rgba(105, 185, 69, 0.12), rgba(12, 19, 24, 0.96) 58%);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 46px rgba(0, 0, 0, 0.24);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.contact-modern-body .nav-menu > ul > .drop-down > ul {
  left: 50% !important;
  transform: translateX(-50%) translateY(12px);
}

.contact-modern-body .nav-menu .drop-down .drop-down > ul {
  left: calc(100% + 14px) !important;
  top: -8px !important;
  transform: translateY(12px);
}

.contact-modern-body .nav-menu .drop-down > ul::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  width: 14px;
  height: 14px;
  transform: translateX(-50%) rotate(45deg);
  background: rgba(18, 28, 34, 0.94);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-modern-body .nav-menu .drop-down .drop-down > ul::before {
  top: 22px;
  left: -7px;
  transform: rotate(315deg);
}

.contact-modern-body .nav-menu .drop-down:hover > ul {
  opacity: 1;
  visibility: visible;
}

.contact-modern-body .nav-menu > ul > .drop-down:hover > ul {
  top: calc(100% + 10px) !important;
  transform: translateX(-50%) translateY(0);
}

.contact-modern-body .nav-menu .drop-down .drop-down:hover > ul {
  left: calc(100% + 10px) !important;
  transform: translateY(0);
}

.contact-modern-body .nav-menu .drop-down li {
  min-width: 0;
}

.contact-modern-body .nav-menu .drop-down > ul a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 16px !important;
  border-radius: 18px;
  color: #eef4ef !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.contact-modern-body .nav-menu .drop-down > ul a::before {
  content: "";
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  border-radius: 50%;
  background: var(--contact-accent-strong);
  box-shadow: 0 0 0 8px rgba(105, 185, 69, 0.12);
}

.contact-modern-body .nav-menu .drop-down > ul a:hover,
.contact-modern-body .nav-menu .drop-down > ul li:hover > a,
.contact-modern-body .nav-menu .drop-down > ul .active > a {
  color: #f7fbf4 !important;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(105, 185, 69, 0.24);
  transform: translateY(-2px);
}

.contact-modern-body .nav-menu #menu-item-34 > ul {
  min-width: 320px;
  padding: 16px;
}

.contact-modern-body .nav-menu .drop-down > ul > #menu-item-659 > a {
  min-height: 92px;
  align-items: flex-start;
  padding-right: 52px !important;
  overflow: hidden;
  background:
    radial-gradient(circle at right center, rgba(105, 185, 69, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
}

.contact-modern {
  overflow: clip;
}

.contact-modern .btn-green,
.contact-modern .btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 18px 34px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.contact-modern .btn-green {
  background: linear-gradient(135deg, var(--contact-accent) 0%, var(--contact-accent-strong) 100%);
  color: var(--contact-text-dark);
  border: 0;
  box-shadow: 0 18px 36px rgba(105, 185, 69, 0.32);
}

.contact-modern .btn-white {
  color: var(--contact-text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-modern .btn-green:hover,
.contact-modern .btn-white:hover,
.contact-method-card:hover,
.contact-team-card:hover {
  transform: translateY(-3px);
}

.contact-hero,
.contact-details,
.contact-departments,
.contact-map {
  position: relative;
}

.contact-hero .container,
.contact-details .container,
.contact-departments .container,
.contact-map .container {
  position: relative;
  z-index: 1;
}

.contact-hero {
  padding: 174px 0 92px;
  background:
    linear-gradient(140deg, rgba(8, 13, 17, 0.98) 0%, rgba(10, 17, 22, 0.94) 52%, rgba(15, 24, 29, 0.92) 100%),
    linear-gradient(180deg, #0c1318 0%, #111b21 100%);
}

.contact-hero__mesh {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.56), transparent 92%);
  opacity: 0.35;
}

.contact-hero__copy {
  max-width: 620px;
  color: var(--contact-text);
}

.contact-hero__kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  color: var(--contact-accent-strong);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.contact-hero__kicker::before {
  content: "";
  width: 36px;
  height: 1px;
  margin-right: 12px;
  background: rgba(104, 189, 69, 0.55);
}

.contact-hero__copy h1 {
  margin-bottom: 18px;
  font-size: clamp(3rem, 5vw, 5.3rem);
  line-height: 0.92;
  text-transform: uppercase;
}

.contact-hero__copy p {
  margin: 0;
  max-width: 540px;
  color: var(--contact-muted);
  font-size: 1rem;
  line-height: 1.9;
}

.contact-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

.contact-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.contact-hero__badges span {
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #dbe6d5;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-hero__visual {
  position: relative;
  min-height: 560px;
}

.contact-hero__frame {
  position: absolute;
  inset: 20px 0 0 30px;
  padding: 28px;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    linear-gradient(135deg, rgba(105, 185, 69, 0.14), transparent 52%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--contact-shadow);
}

.contact-hero__frame::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 24px;
  border: 1px solid rgba(105, 185, 69, 0.2);
}

.contact-hero__stage {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 430px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 22%, rgba(105, 185, 69, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    linear-gradient(135deg, #132026 0%, #1b272e 100%);
  overflow: hidden;
}

.contact-hero__stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 68px 68px;
  opacity: 0.34;
}

.contact-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(16px);
}

.contact-hero__orb--one {
  width: 220px;
  height: 220px;
  left: 8%;
  top: 12%;
  background: rgba(105, 185, 69, 0.12);
}

.contact-hero__orb--two {
  width: 180px;
  height: 180px;
  right: 10%;
  bottom: 16%;
  background: rgba(104, 189, 69, 0.09);
}

.contact-hero__grid {
  position: absolute;
  inset: 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-hero__visual-badge,
.contact-hero__pin {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  padding: 13px 18px;
  border-radius: 999px;
  background: rgba(12, 19, 24, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--contact-text);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-hero__visual-badge::before,
.contact-hero__pin::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--contact-accent-strong);
  box-shadow: 0 0 0 8px rgba(105, 185, 69, 0.12);
}

.contact-hero__visual-badge {
  top: 28px;
  left: 28px;
}

.contact-hero__pin {
  right: 28px;
  bottom: 28px;
}

.contact-hero__stack {
  position: absolute;
  inset: 82px 30px 82px;
  z-index: 2;
  display: grid;
  align-content: start;
  gap: 16px;
}

.contact-hero__spotlight,
.contact-hero__mini-card {
  padding: 20px 22px;
  border-radius: 24px;
  background: rgba(12, 19, 24, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.contact-hero__spotlight span,
.contact-hero__mini-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--contact-accent-strong);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-hero__spotlight strong,
.contact-hero__mini-card strong {
  display: block;
  color: var(--contact-text);
  font-size: 1.15rem;
  line-height: 1.3;
  text-transform: uppercase;
}

.contact-hero__spotlight small,
.contact-hero__mini-card small {
  display: block;
  margin-top: 8px;
  color: var(--contact-muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.contact-hero__mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-hero__mini-card--wide {
  grid-column: 1 / -1;
}

.contact-hero__board-link {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  color: var(--contact-text);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-hero__board-link::after {
  content: "";
  width: 22px;
  height: 22px;
  margin-left: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(105, 185, 69, 0.18), rgba(105, 185, 69, 0.04));
  box-shadow: inset 0 0 0 1px rgba(105, 185, 69, 0.2);
}

.contact-details,
.contact-departments,
.contact-map {
  padding: 0 0 112px;
}

.contact-details {
  margin-top: 0;
  padding-top: 88px;
}

.contact-details::before,
.contact-departments::before,
.contact-map::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.contact-details::before {
  background:
    radial-gradient(circle at 18% 10%, rgba(105, 185, 69, 0.08), transparent 16%),
    linear-gradient(180deg, rgba(255, 255, 255, 0), #ffffff 14%);
}

.contact-departments::before {
  background:
    radial-gradient(circle at 82% 24%, rgba(105, 185, 69, 0.07), transparent 18%);
}

.contact-map::before {
  background:
    radial-gradient(circle at 20% 80%, rgba(105, 185, 69, 0.06), transparent 18%);
}

.contact-section-head {
  margin-bottom: 30px;
}

.contact-section-head span {
  display: inline-block;
  margin-bottom: 10px;
  color: #4d7f31;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-section-head h2 {
  margin: 0;
  color: var(--contact-text-dark);
  font-size: clamp(2.2rem, 3vw, 3.5rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.contact-methods,
.contact-team-grid {
  row-gap: 28px;
}

.contact-method-card,
.contact-team-card,
.contact-map__shell {
  border-radius: 30px;
  box-shadow: 0 20px 56px rgba(14, 24, 31, 0.08);
}

.contact-method-card {
  height: 100%;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.98)),
    linear-gradient(135deg, rgba(105, 185, 69, 0.05), transparent 55%);
  border: 1px solid rgba(18, 26, 31, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.contact-method-card:hover {
  border-color: rgba(105, 185, 69, 0.22);
  box-shadow: 0 24px 64px rgba(14, 24, 31, 0.12);
}

.contact-method-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 16px;
  background: rgba(105, 185, 69, 0.12);
  box-shadow: inset 0 0 0 1px rgba(105, 185, 69, 0.16);
}

.contact-method-card__icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.contact-method-card span {
  display: block;
  margin-bottom: 8px;
  color: #4d7f31;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-method-card h3 {
  margin: 0 0 16px;
  color: var(--contact-text-dark);
  font-size: 2rem;
  line-height: 0.95;
  text-transform: uppercase;
}

.contact-method-card p {
  margin: 0;
  color: var(--contact-muted-dark);
  line-height: 1.75;
}

.contact-method-card p + p {
  margin-top: 4px;
}

.contact-method-card a {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  color: var(--contact-text-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-method-card a::after {
  content: "";
  width: 22px;
  height: 22px;
  margin-left: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(105, 185, 69, 0.18), rgba(105, 185, 69, 0.04));
  box-shadow: inset 0 0 0 1px rgba(105, 185, 69, 0.2);
}

.contact-team-card {
  position: relative;
  height: 100%;
  padding: 28px;
  background: #ffffff;
  border: 1px solid rgba(18, 26, 31, 0.08);
  color: var(--contact-text-dark);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}

.contact-team-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--contact-accent) 0%, var(--contact-accent-strong) 100%);
}

.contact-team-card:hover {
  border-color: rgba(105, 185, 69, 0.22);
  box-shadow: 0 24px 64px rgba(14, 24, 31, 0.12);
}

.contact-team-card__index {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--contact-accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-team-card h3 {
  margin: 0 0 10px;
  color: var(--contact-text-dark);
  font-size: 2rem;
  line-height: 0.95;
  text-transform: uppercase;
}

.contact-team-card__role {
  margin-bottom: 14px !important;
  color: var(--contact-accent-strong) !important;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-team-card p {
  margin: 0;
  color: var(--contact-muted-dark);
  line-height: 1.75;
}

.contact-team-card p + p {
  margin-top: 4px;
}

.contact-team-card a {
  display: inline-block;
  margin-top: 16px;
  color: var(--contact-text-dark);
  font-weight: 700;
  word-break: break-word;
}

.contact-map__shell {
  padding: 34px;
  background: #ffffff;
  border: 1px solid rgba(18, 26, 31, 0.08);
}

.contact-map__copy span {
  display: inline-block;
  margin-bottom: 10px;
  color: #4d7f31;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-map__copy h2 {
  margin: 0 0 16px;
  color: var(--contact-text-dark);
  font-size: clamp(2.2rem, 3vw, 3.4rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.contact-map__copy p {
  margin: 0;
  color: var(--contact-muted-dark);
  line-height: 1.86;
}

.contact-map__copy .btn-green {
  margin-top: 26px;
}

.contact-map__frame {
  height: 460px;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.08);
}

.contact-map__frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 1199px) {
  .contact-hero {
    padding-top: 156px;
  }

  .contact-hero__frame {
    position: relative;
    inset: auto;
    margin-top: 32px;
  }

  .contact-hero__visual {
    min-height: 0;
  }
}

@media (max-width: 991px) {
  .contact-modern-body #header .container {
    border-radius: 28px;
  }

  .contact-hero__copy h1 {
    font-size: clamp(2.8rem, 10vw, 4.4rem);
  }

  .contact-hero__stack {
    inset: 74px 24px 74px;
  }

  .contact-map__copy {
    margin-bottom: 28px;
  }
}

@media (max-width: 767px) {
  .contact-modern .btn-green,
  .contact-modern .btn-white,
  .contact-map__copy .btn-green {
    width: 100%;
    min-width: 0;
  }

  .contact-hero {
    padding: 138px 0 72px;
  }

  .contact-hero__frame,
  .contact-method-card,
  .contact-team-card,
  .contact-map__shell {
    padding: 24px;
    border-radius: 26px;
  }

  .contact-hero__stage {
    min-height: 520px;
  }

  .contact-hero__pin {
    right: 18px;
    bottom: 18px;
  }

  .contact-hero__visual-badge {
    top: 18px;
    left: 18px;
  }

  .contact-hero__stack {
    inset: 70px 18px 22px;
  }

  .contact-hero__mini-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact-map__frame {
    min-height: 340px;
  }

  .contact-team-card h3,
  .contact-method-card h3,
  .contact-map__copy h2,
  .contact-section-head h2 {
    font-size: 2.2rem;
  }
}

/* Hard final overrides: keep contact consistent with the Fundusze/Home modern system. */
.contact-modern-body h1,
.contact-modern-body h2,
.contact-modern-body h3,
.contact-modern-body h4,
.contact-modern-body h5,
.contact-modern-body h6,
.contact-hero__copy h1,
.contact-section-head h2,
.contact-map__copy h2,
.contact-method-card h3,
.contact-team-card h3 {
  font-family: "Montserrat", sans-serif !important;
}

.contact-hero__copy h1 {
  font-size: clamp(4rem, 7vw, 7.3rem) !important;
  font-weight: 800 !important;
  line-height: 0.9 !important;
  letter-spacing: -0.07em !important;
}

.contact-section-head h2,
.contact-map__copy h2 {
  font-size: clamp(2.8rem, 5vw, 5.2rem) !important;
  font-weight: 800 !important;
  line-height: 0.93 !important;
  letter-spacing: -0.065em !important;
}

@media (max-width: 767px) {
  .contact-hero__copy h1 {
    font-size: clamp(3.05rem, 15vw, 4.6rem) !important;
  }

  .contact-map__copy h2 {
    font-size: clamp(2.35rem, 12vw, 3.6rem) !important;
  }

  .contact-section-head h2 {
    font-size: clamp(1.6rem, 6.6vw, 2.2rem) !important;
    line-height: 1.05 !important;
  }
}

/* Dekoracyjny box hero (plansza Kontakt) jest zbedny na mobile — chowamy. */
@media (max-width: 991px) {
  .contact-hero__visual {
    display: none !important;
  }
}

/* Hero kontaktu: koniec "box w boxie w boxie" — zdejmujemy ramke i scene
   oraz dekoracje; zostaja same karty z danymi (adres, telefon, e-mail). */
.contact-hero__frame,
.contact-hero__stage,
.contact-hero__stack {
  position: static !important;
  height: auto !important;
  min-height: 0 !important;
  max-width: none !important;
  background: none !important;
  border: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
  inset: auto !important;
  transform: none !important;
}
.contact-hero__orb,
.contact-hero__grid,
.contact-hero__visual-badge,
.contact-hero__pin {
  display: none !important;
}
/* Pusta wysokosc kolumny + dekoracyjny obrys ramki — usuwamy. */
.contact-hero__visual {
  min-height: 0 !important;
}
.contact-hero__frame::before,
.contact-hero__frame::after,
.contact-hero__stage::before,
.contact-hero__stage::after {
  display: none !important;
  content: none !important;
}
