:root {
  --bg: #ffffff;
  --fg: #1d1f20;
  --muted: #4b5563;
  --brand-yellow: #eeb118;
  --brand-blue: #246e97;
  --brand-green: #337743;
  --deep-green: #274f32;
  --border-green: #2a6337;
  --border-blue: #1d5a7d;
  --border-yellow: #d9a016;
  --cream-panel: #f8f1df;
  --cream-card: #fffaf0;
  --cream-line: #e6d3a9;
  --border: #e2e8f0;
  --card-shadow: 0 16px 34px rgba(79, 63, 35, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  color: var(--fg);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Ubuntu, sans-serif;
  line-height: 1.6;
  background-image: url("assets/Header-Image.png");
  background-attachment: fixed;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

a {
  color: var(--fg);
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 9999;
  height: 90px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  background: var(--brand-blue);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.nav {
  position: relative;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand img.logo-img {
  width: 220px;
  height: auto;
  display: block;
}

nav.desktop-nav ul {
  display: flex;
  gap: 14px;
  list-style: none;
}

nav.desktop-nav {
  margin-left: auto;
}

nav.desktop-nav a {
  padding: 8px 10px;
  border-radius: 10px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  transition: background 0.2s;
}

nav.desktop-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.desktop-quick-contact {
  width: 158px;
  min-height: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 0 0 158px;
  margin-left: 12px;
  padding: 6px 10px 7px;
  color: var(--deep-green);
  line-height: 1.15;
  text-align: center;
  background: var(--brand-yellow);
  border: 1px solid rgba(39, 79, 50, 0.34);
  border-bottom: 3px solid var(--brand-green);
  border-radius: 6px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
}

.desktop-quick-contact span {
  font-size: 11px;
  text-transform: uppercase;
}

.desktop-quick-contact strong {
  margin-top: 1px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.mobile-menu-toggle {
  display: none;
  padding: 0;
  color: #ffffff;
  background: transparent;
  border: 0;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  font: inherit;
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 90px;
  right: 0;
  width: 200px;
  padding: 14px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.mobile-menu a {
  display: block;
  margin: 4px 0;
  padding: 10px 4px;
  color: var(--fg);
  border-bottom: 1px solid var(--border);
}

.mobile-menu.is-open {
  display: block;
}

.mobile-quick-contact {
  margin-top: 8px;
  padding: 10px 12px 9px;
  text-align: center;
  background: var(--brand-yellow);
  border-bottom: 3px solid var(--brand-green);
  border-radius: 6px;
}

@media (min-width: 769px) and (max-width: 1100px) {
  .brand img.logo-img {
    width: 180px;
  }

  nav.desktop-nav ul {
    gap: 3px;
  }

  nav.desktop-nav a {
    padding-inline: 6px;
    font-size: 13px;
  }

  .desktop-quick-contact {
    width: 142px;
    flex-basis: 142px;
    margin-left: 7px;
  }
}

.mobile-quick-contact span {
  display: block;
  color: rgba(39, 79, 50, 0.86);
  font-size: 11px;
  line-height: 1.2;
  text-transform: uppercase;
}

.mobile-menu .mobile-quick-contact a {
  margin: 2px 0 0;
  padding: 0;
  color: var(--deep-green);
  border: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
}

.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(150px, 22vh, 240px) 20px 0;
  text-align: center;
}

.hero::before {
  position: absolute;
  inset: clamp(112px, 18vh, 200px) 0 auto;
  z-index: 0;
  height: clamp(220px, 34vh, 340px);
  content: "";
  background: linear-gradient(
    90deg,
    rgba(9, 18, 24, 0.03),
    rgba(9, 18, 24, 0.38) 18%,
    rgba(9, 18, 24, 0.44) 50%,
    rgba(9, 18, 24, 0.38) 82%,
    rgba(9, 18, 24, 0.03)
  );
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-title {
  display: inline-grid;
  width: fit-content;
  max-width: 100%;
  color: #ffffff;
  font-size: clamp(32px, 5vw, 50px);
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.72), 0 1px 2px rgba(0, 0, 0, 0.7);
}

.hero-main {
  display: block;
  margin-bottom: 24px;
  font-size: clamp(36px, 6vw, 58px);
}

.hero-functions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(8px, 1.2vw, 16px);
  width: 100%;
  margin-bottom: 16px;
  justify-items: center;
}

.hf-item-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.hf-item {
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 700;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.78), 0 1px 1px rgba(0, 0, 0, 0.55);
}

.wyceny {
  color: var(--brand-yellow);
}

.posrednictwo {
  color: var(--brand-blue);
}

.bar {
  width: 100%;
  height: 6px;
  border-radius: 4px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.55);
}

.bar-yellow {
  background: var(--brand-yellow);
}

.bar-blue {
  background: var(--brand-blue);
}

.content-section {
  width: 100%;
  padding: 56px 0;
  background-color: rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.premium-panel {
  --accent: var(--brand-yellow);
  --accent-rgb: 238, 177, 24;
  --keyword-color: var(--brand-yellow);
  --card-title: #c96f05;
  padding: 38px 40px 42px;
  color: var(--fg);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(255, 250, 239, 0.16) 38%, rgba(var(--accent-rgb), 0.08)),
    var(--cream-panel);
  border: 1px solid rgba(185, 154, 88, 0.52);
  border-radius: 18px;
  box-shadow: 0 22px 55px rgba(36, 31, 21, 0.16);
}

.accent-blue {
  --accent: var(--brand-blue);
  --accent-rgb: 36, 110, 151;
  --keyword-color: #d7edf7;
  --card-title: var(--brand-blue);
}

.accent-green {
  --accent: var(--brand-green);
  --accent-rgb: 51, 119, 67;
  --keyword-color: #fffaf0;
  --card-title: var(--brand-green);
}

.panel-intro {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.section-mark {
  display: block;
  width: auto;
  height: clamp(34px, 3.6vw, 41px);
  max-width: 88px;
  object-fit: contain;
}

.panel-title {
  margin: 0;
  padding-left: 18px;
  color: #171b21;
  border-left: 5px solid var(--accent);
  font-size: clamp(22px, 2vw, 27px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0;
}

.section-keyword {
  display: inline-block;
  padding: 0 0.28em 0.06em;
  color: var(--keyword-color);
  background: var(--deep-green);
  border-radius: 7px;
  box-shadow: 0 9px 22px rgba(39, 79, 50, 0.14);
}

.lead {
  max-width: 1025px;
  margin: 0 0 38px;
  color: var(--fg);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.52;
}

.muted {
  color: var(--muted);
}

.subsection-header {
  margin: 34px 0 16px;
  color: #24422d;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.25;
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 16px;
}

.card-item,
.process-item,
.copy-card,
.statement-band,
.about-frame {
  position: relative;
  overflow: hidden;
  color: var(--muted);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 250, 240, 0.36)),
    var(--cream-card);
  border: 1px solid var(--cream-line);
  border-radius: 12px;
  box-shadow: var(--card-shadow);
}

.card-item::before,
.process-item::before,
.copy-card::before,
.statement-band::before,
.about-frame::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--accent), rgba(var(--accent-rgb), 0.22));
}

.card-item {
  min-height: 219px;
  padding: 24px 21px 23px;
}

.valuation-card.card-item {
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 0;
}

.valuation-visual {
  position: relative;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  background: #e8eceb;
  border-bottom: 1px solid var(--cream-line);
}

.valuation-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.valuation-tag {
  position: absolute;
  top: 13px;
  left: 15px;
  z-index: 2;
  padding: 5px 9px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  background: var(--brand-blue);
  border-radius: 4px;
}

.valuation-card-copy {
  flex: 1;
  padding: 20px 21px 22px;
}

.valuation-card .valuation-card-copy h4 {
  min-height: 30px;
  margin-bottom: 5px;
}

.card-item h4,
.process-item h4,
.statement-band h3 {
  margin: 0 0 15px;
  color: var(--card-title);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
}

.card-item ul,
.statement-band ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
}

.premium-panel li {
  position: relative;
  padding-left: 20px;
}

.premium-panel li::before {
  position: absolute;
  top: 0.72em;
  left: 1px;
  width: 8px;
  height: 8px;
  content: "";
  background: var(--accent);
  border-radius: 2px;
  transform: translateY(-50%) rotate(45deg);
}

.valuation-purpose {
  margin-top: 44px;
}

.purpose-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 4px;
}

.purpose-intro .subsection-header {
  margin: 3px 0 16px;
  font-size: 27px;
}

.purpose-eyebrow {
  color: var(--brand-green);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.purpose-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 46px;
}

.purpose-item {
  min-height: 205px;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 25px 0 24px;
  border-top: 1px solid var(--cream-line);
}

.purpose-icon {
  position: relative;
  width: 76px;
  height: 80px;
  display: grid;
  place-items: center;
  border-bottom: 5px solid var(--brand-yellow);
}

.purpose-icon img {
  width: 60px;
  height: 60px;
  display: block;
}

.purpose-icon::after {
  position: absolute;
  right: -4px;
  bottom: 8px;
  width: 12px;
  height: 12px;
  content: "";
  background: var(--brand-green);
  transform: rotate(45deg);
}

.purpose-copy {
  min-width: 0;
}

.purpose-copy h4 {
  min-height: 42px;
  margin: 0;
  color: var(--deep-green);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.08;
}

.purpose-copy ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.purpose-copy li {
  text-align: left;
  text-align-last: auto;
}

.text-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 24px 0 34px;
}

.copy-card {
  padding: 25px 24px 24px;
}

.copy-card p,
.about-frame p {
  color: var(--fg);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.62;
}

.copy-card p + p,
.about-frame p + p {
  margin-top: 16px;
}

.slider-wrapper {
  position: relative;
  overflow: hidden;
  padding: 0 0 5px;
}

.desktop-slider {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.desktop-slider::-webkit-scrollbar {
  display: none;
}

.desktop-slider .slide-item {
  display: flex;
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 300px;
  flex-direction: column;
}

.process-item {
  min-height: 151px;
  padding: 24px 21px 23px;
}

.process-item p {
  flex-grow: 1;
  color: var(--muted);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.45;
}

.industry-memberships {
  margin-top: 36px;
  padding-top: 23px;
  border-top: 1px solid var(--cream-line);
}

.industry-memberships .subsection-header {
  margin: 4px 0 17px;
  font-size: 27px;
}

.membership-logos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  align-items: start;
}

.membership-logo {
  min-width: 0;
  margin: 0;
  text-align: center;
}

.membership-logo-media {
  height: 116px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.membership-logo img {
  width: auto;
  max-width: 100%;
  max-height: 116px;
  display: block;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.membership-logo-ssrm img {
  max-width: 275px;
}

.membership-logo-pfsrm img {
  max-width: 295px;
}

.membership-logo-imar img {
  width: 100%;
  max-width: 340px;
  max-height: 106px;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 20;
  padding: 15px 10px;
  color: var(--fg);
  background: var(--cream-card);
  border: 1px solid var(--cream-line);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  font-size: 1.2rem;
  opacity: 0;
  transform: translateY(-50%);
  transition: background 0.2s, opacity 0.3s;
}

.slider-prev {
  left: 30px;
}

.slider-next {
  right: 30px;
}

.slider-arrow:hover {
  background: #ffffff;
}

.slider-wrapper:hover .slider-arrow {
  opacity: 1;
}

.statement-band {
  margin-top: 36px;
  padding: 25px 24px 24px;
}

.about-frame {
  padding: 28px 28px 27px;
}

.about-lead {
  color: var(--fg) !important;
  font-size: 18px !important;
  font-weight: 800 !important;
}

/* Pośrednictwo */
.brokerage-benefits .subsection-header,
.brokerage-audience .subsection-header,
.brokerage-phases .subsection-header {
  margin-top: 30px;
}

.brokerage-benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.brokerage-benefit-card,
.brokerage-audience-card,
.brokerage-phase-card {
  position: relative;
  overflow: hidden;
  color: var(--muted);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 250, 240, 0.36)),
    var(--cream-card);
  border: 1px solid var(--cream-line);
  border-radius: 12px;
  box-shadow: var(--card-shadow);
}

.brokerage-benefit-card::before,
.brokerage-audience-card::before,
.brokerage-phase-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--brand-blue), rgba(36, 110, 151, 0.22));
}

.brokerage-benefit-card {
  min-height: 168px;
  padding: 22px 17px 18px;
}

.brokerage-benefit-card img {
  width: 42px;
  height: 42px;
  display: block;
  margin-bottom: 7px;
}

.brokerage-benefit-card h4,
.brokerage-phase-card h4,
.audience-copy strong {
  margin: 0 0 5px;
  color: var(--brand-blue);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
  text-align: left;
}

.brokerage-benefit-card p,
.brokerage-phase-card p,
.audience-copy p,
.brokerage-summary p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
}

.brokerage-audience-card {
  display: grid;
  grid-template-columns: minmax(330px, 0.94fr) minmax(300px, 1.06fr);
  gap: 30px;
  align-items: center;
  padding: 28px;
}

.audience-rings {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1;
  margin: 0 auto;
}

.audience-ring {
  position: absolute;
  display: grid;
  place-items: start center;
  border: 1px solid rgba(36, 110, 151, 0.36);
  border-radius: 50%;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.audience-ring span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  color: var(--fg);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  background: var(--cream-card);
  border: 1px solid rgba(36, 110, 151, 0.2);
  border-radius: 6px;
}

.audience-ring-open {
  inset: 0;
  padding-top: 6%;
  background: rgba(36, 110, 151, 0.07);
}

.audience-ring-targeted {
  inset: 17%;
  padding-top: 8%;
  background: rgba(238, 177, 24, 0.1);
}

.audience-ring-private {
  inset: 34%;
  padding-top: 0;
  background: rgba(51, 119, 67, 0.12);
}

.audience-center {
  position: absolute;
  inset: 43%;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  background: var(--brand-blue);
  border: 3px solid var(--brand-yellow);
  border-radius: 50%;
}

.audience-copy h3 {
  margin: 0 0 14px;
  color: #24422d;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.25;
}

.audience-points {
  display: grid;
  gap: 12px;
}

.audience-point {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 9px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--cream-line);
}

.audience-diamond {
  width: 9px;
  height: 9px;
  margin-top: 8px;
  background: var(--brand-blue);
  border-radius: 2px;
  transform: rotate(45deg);
}

#posrednictwo.has-audience-motion .audience-ring span {
  opacity: 0;
  transform: translateY(-5px) scale(0.96);
}

#posrednictwo.has-audience-motion .audience-rings.is-visible .audience-ring-private span {
  animation: audience-label-in 0.55s ease 0.2s forwards;
}

#posrednictwo.has-audience-motion .audience-rings.is-visible .audience-ring-targeted span {
  animation: audience-label-in 0.55s ease 1.05s forwards;
}

#posrednictwo.has-audience-motion .audience-rings.is-visible .audience-ring-open span {
  animation: audience-label-in 0.55s ease 1.9s forwards;
}

#posrednictwo.has-audience-motion .audience-rings.is-visible .audience-ring-private {
  animation: audience-ring-pulse 0.85s ease 0.12s both;
}

#posrednictwo.has-audience-motion .audience-rings.is-visible .audience-ring-targeted {
  animation: audience-ring-pulse 0.85s ease 0.97s both;
}

#posrednictwo.has-audience-motion .audience-rings.is-visible .audience-ring-open {
  animation: audience-ring-pulse 0.85s ease 1.82s both;
}

@keyframes audience-label-in {
  0% { opacity: 0; transform: translateY(-5px) scale(0.96); }
  70% { opacity: 1; transform: translateY(1px) scale(1.015); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes audience-ring-pulse {
  0%, 100% { border-color: rgba(36, 110, 151, 0.36); box-shadow: 0 0 0 0 transparent; }
  45% { border-color: var(--brand-yellow); box-shadow: 0 0 0 7px rgba(238, 177, 24, 0.13); }
}

.brokerage-phase-wrapper {
  padding-bottom: 8px;
}

.brokerage-phase-slider {
  align-items: flex-start;
  gap: 14px;
}

.brokerage-phase-slider.desktop-slider .brokerage-phase-card {
  flex: 0 0 220px;
  min-width: 220px;
}

.brokerage-phase-card {
  display: grid !important;
  gap: 7px;
  padding: 18px 17px 16px;
  scroll-snap-align: start;
}

.brokerage-phase-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--brand-yellow);
  font-size: 16px;
  font-weight: 800;
}

.brokerage-phase-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: var(--brand-blue);
  font-size: 13px;
  background: rgba(36, 110, 151, 0.09);
  border-radius: 7px;
}

.brokerage-phase-progress {
  position: relative;
  height: 3px;
  margin-top: 3px;
  overflow: hidden;
  background: rgba(36, 110, 151, 0.12);
  border-radius: 3px;
}

.brokerage-phase-progress::after {
  width: var(--phase-progress);
  height: 100%;
  display: block;
  content: "";
  background: var(--brand-yellow);
}

.brokerage-phase-wrapper .slider-arrow {
  opacity: 0.9;
}

.brokerage-phase-wrapper .slider-prev {
  left: 8px;
}

.brokerage-phase-wrapper .slider-next {
  right: 8px;
}

.brokerage-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.brokerage-summary-grid > div {
  padding-left: 18px;
  border-left: 4px solid var(--brand-blue);
}

.brokerage-summary-grid strong {
  display: block;
  margin-bottom: 4px;
  color: var(--brand-green);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
}

@media (prefers-reduced-motion: reduce) {
  #posrednictwo.has-audience-motion .audience-ring,
  #posrednictwo.has-audience-motion .audience-ring span {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .brokerage-benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brokerage-audience-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  #posrednictwo .brokerage-phase-slider.mobile-slider .brokerage-phase-card {
    flex: 0 0 min(82%, 235px);
    min-width: min(82%, 235px);
  }

  .brokerage-summary-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (max-width: 520px) {
  .brokerage-benefit-grid {
    grid-template-columns: 1fr;
  }

  .brokerage-benefit-card {
    min-height: 0;
  }

  .brokerage-audience-card {
    padding: 22px 14px;
  }

  .audience-rings {
    max-width: 360px;
  }

  .audience-ring span {
    max-width: 88%;
    min-height: 31px;
    padding: 4px 8px;
    font-size: 13px;
    white-space: normal;
  }
}

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

.team-card {
  --team-accent: var(--brand-yellow);
  --team-rgb: 238, 177, 24;
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border: 1px solid rgba(var(--team-rgb), 0.36);
  border-radius: 16px;
  background: #f7edda;
  box-shadow: 0 18px 38px rgba(41, 34, 21, 0.16);
  cursor: pointer;
  isolation: isolate;
}

.team-card:focus-visible {
  outline: 3px solid rgba(var(--team-rgb), 0.44);
  outline-offset: 4px;
}

.team-card-yellow {
  --team-accent: var(--brand-yellow);
  --team-rgb: 238, 177, 24;
}

.team-card-blue {
  --team-accent: var(--brand-blue);
  --team-rgb: 36, 110, 151;
}

.team-card-green {
  --team-accent: var(--brand-green);
  --team-rgb: 51, 119, 67;
}

.team-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.team-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.66), rgba(var(--team-rgb), 0.16)),
    var(--cream-panel);
}

.team-photo-placeholder img {
  width: 48%;
  max-width: 190px;
  height: auto;
  filter: drop-shadow(0 16px 25px rgba(var(--team-rgb), 0.22));
}

.team-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 24px;
  color: #ffffff;
  background:
    linear-gradient(
      to top,
      rgba(9, 16, 19, 0.9),
      rgba(9, 16, 19, 0.72) 24%,
      rgba(9, 16, 19, 0.22) 43%,
      rgba(9, 16, 19, 0) 56%
    );
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.team-overlay::after {
  position: absolute;
  inset: auto 0 0;
  height: 5px;
  content: "";
  background: var(--team-accent);
}

.team-overlay-logo {
  position: relative;
  width: 32%;
  max-width: 128px;
  height: auto;
  align-self: center;
  margin: 0 auto 6px;
  transform: none;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.25));
}

.team-copy {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: auto 40px auto;
  row-gap: 3px;
  align-items: start;
}

.team-copy h3 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 800;
  line-height: 1.08;
}

.team-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  min-height: 40px;
  text-align: left;
}

.team-copy a {
  display: inline-flex;
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
}

.team-card.is-revealed .team-overlay {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

footer {
  display: flex;
  flex-direction: column;
  padding: 0;
  border-top: 1px solid var(--border);
}

.footer-contact {
  width: 100%;
  padding: 28px 0 26px;
  color: #ffffff;
  background: #17324f;
}

.footer-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(430px, 0.92fr);
  gap: 36px;
  align-items: start;
}

.footer-callout {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2px 36px 2px 0;
  border-right: 3px solid var(--brand-yellow);
}

.footer-eyebrow {
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.footer-callout h2 {
  max-width: 610px;
  color: var(--brand-yellow);
  font-size: clamp(23px, 2.1vw, 30px);
  font-weight: 800;
  line-height: 1.18;
}

.footer-callout h2 span {
  display: block;
}

.footer-people {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 3px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.footer-people-divider {
  align-self: stretch;
  min-height: 100%;
  background: var(--brand-blue);
}

.footer-details {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 9px;
}

.footer-region {
  grid-column: 1 / -1;
  margin-bottom: 0;
  color: var(--brand-yellow);
  font-size: 23px;
  font-weight: 850;
  line-height: 1;
  text-transform: uppercase;
}

.footer-person {
  grid-column: 1 / -1;
  max-width: 390px;
  margin-bottom: 2px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.35;
}

.footer-role {
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 600;
}

.footer-detail-row {
  display: grid;
  grid-template-columns: 29px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
}

.footer-detail-row > div {
  display: grid;
  gap: 1px;
}

.footer-detail-row strong {
  margin-bottom: 1px;
  color: var(--brand-yellow);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
}

.footer-detail-row span,
.footer-detail-row a {
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.32;
}

.footer-detail-row a {
  color: #ffffff;
  text-decoration: none;
}

.footer-detail-row a:hover {
  color: var(--brand-yellow);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-detail-icon {
  display: inline-grid;
  width: 27px;
  height: 27px;
  place-items: center;
  color: var(--brand-yellow) !important;
  border: 1px solid rgba(238, 177, 24, 0.58);
  border-radius: 6px;
  font-size: 14px !important;
  font-weight: 800;
  line-height: 1;
}

.footer-detail-at {
  font-family: Arial, sans-serif;
}

.footer-white-bar {
  width: 100%;
  padding: 16px 0;
  color: var(--fg);
  text-align: center;
  background: #f1f5f9;
  border-top: 1px solid var(--border);
  font-size: 12px;
}

.footer-white-bar small {
  color: var(--fg);
  font-weight: 600;
}

.copyright-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0 0.35em;
  line-height: 1.45;
}

.copyright-owner,
.copyright-rights {
  display: inline-block;
  white-space: nowrap;
}

section p,
section li {
  text-align: justify;
  text-align-last: left;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: pretty;
}

.grid-cards ul,
.grid-cards li,
.grid-cards h4,
.slider-process p,
.slider-process h4,
.panel-title,
.subsection-header,
.statement-band h3 {
  text-align: left;
  hyphens: none;
}

@media (min-width: 980px) {
  #posrednictwo .panel-title {
    white-space: nowrap;
    font-size: clamp(21px, 1.85vw, 25px);
  }
}

@media (max-width: 768px) {
  body {
    background-attachment: scroll;
    background-position: center top;
    background-size: auto 100vh;
  }

  .container {
    width: min(100% - 24px, 680px);
  }

  .desktop-nav {
    display: none !important;
  }

  .mobile-menu-toggle {
    display: block !important;
    width: 40px;
    height: 40px;
    text-align: center;
  }

  .desktop-quick-contact {
    display: none;
  }

  header {
    height: 80px;
  }

  .brand img.logo-img {
    width: 170px;
  }

  .mobile-menu {
    top: 80px;
  }

  .slider-arrow,
  .slider-wrapper::before,
  .slider-wrapper::after {
    display: none !important;
  }

  .hero {
    min-height: 80vh;
    height: auto;
    background-image: url("assets/Header-Image.png");
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: auto 118%;
    padding-top: clamp(110px, 20vh, 170px);
  }

  .hero::before {
    inset: clamp(86px, 16vh, 130px) 0 auto;
    height: clamp(230px, 38vh, 330px);
  }

  .hero-functions {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .hf-item-wrapper {
    width: 100%;
  }

  .hf-item {
    font-size: 1.8rem;
  }

  .content-section {
    padding: 42px 0;
  }

  .premium-panel {
    padding: 28px 20px 30px;
    border-radius: 14px;
  }

  .panel-intro {
    gap: 12px;
    margin-bottom: 18px;
  }

  .section-mark {
    height: 36px;
    max-width: 78px;
  }

  .panel-title {
    padding-left: 13px;
    font-size: 23px;
    white-space: normal;
  }

  .lead {
    margin-bottom: 30px;
    font-size: 16px;
  }

  .grid-cards,
  .mobile-slider {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    overflow-x: auto;
    scroll-padding-left: 20px;
    scroll-padding-right: 20px;
    scroll-snap-type: x mandatory;
  }

  .purpose-intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .purpose-grid {
    grid-template-columns: 1fr;
  }

  .grid-cards::-webkit-scrollbar,
  .mobile-slider::-webkit-scrollbar {
    display: none;
  }

  .grid-cards .card-item,
  .mobile-slider .slide-item {
    flex: 0 0 calc(100% - 40px);
    min-width: calc(100% - 40px);
    width: auto;
    align-self: stretch;
    scroll-snap-align: start;
  }

  .text-columns {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-card {
    min-height: 430px;
  }

  .footer-contact {
    padding: 24px 0 22px;
  }

  .footer-contact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-callout {
    padding: 0 0 18px;
    border-right: 0;
    border-bottom: 3px solid var(--brand-yellow);
  }

  .footer-callout h2 {
    max-width: 650px;
    font-size: 24px;
  }

  .footer-people {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-people-divider {
    width: 100%;
    min-height: 0;
    height: 3px;
  }

  .footer-details {
    gap: 9px;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 20px, 420px);
  }

  .premium-panel {
    padding: 24px 16px;
  }

  .panel-intro {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
  }

  .section-mark {
    height: 32px;
    max-width: 70px;
  }

  .panel-title {
    font-size: 21px;
  }

  .section-keyword {
    padding-inline: 0.2em;
  }

  .card-item,
  .process-item,
  .copy-card,
  .statement-band,
  .about-frame {
    padding: 20px 18px;
  }

  .copy-card p,
  .about-frame p,
  .card-item ul,
  .statement-band ul,
  .process-item p {
    font-size: 16px;
  }

  .team-card {
    min-height: 400px;
  }

  .team-overlay {
    padding: 24px 20px;
  }

  .team-overlay-logo {
    width: 38%;
    margin-bottom: 6px;
  }

  .purpose-item {
    min-height: 0;
    grid-template-columns: 66px minmax(0, 1fr);
    gap: 16px;
    padding-block: 22px;
  }

  .purpose-icon {
    width: 62px;
    height: 68px;
  }

  .purpose-icon img {
    width: 50px;
    height: 50px;
  }

  .purpose-copy h4 {
    min-height: 38px;
    font-size: 18px;
    line-height: 1.06;
  }

  .purpose-copy ul {
    font-size: 14px;
  }

  .industry-memberships {
    margin-top: 30px;
    padding-top: 20px;
  }

  .industry-memberships .subsection-header {
    margin-bottom: 18px;
    font-size: 23px;
  }

  .membership-logos {
    grid-template-columns: 1fr;
    gap: 21px;
  }

  .membership-logo-media {
    height: 92px;
  }

  .membership-logo img {
    max-height: 94px;
  }

  .membership-logo-ssrm img,
  .membership-logo-pfsrm img {
    max-width: 290px;
  }

  .membership-logo-imar img {
    width: 100%;
    max-width: 320px;
    max-height: 90px;
  }

  .footer-contact {
    padding: 22px 0 20px;
  }

  .footer-contact-grid {
    gap: 18px;
  }

  .footer-callout {
    padding-bottom: 17px;
  }

  .footer-eyebrow {
    margin-bottom: 6px;
    font-size: 10px;
  }

  .footer-callout h2 {
    font-size: 21px;
    line-height: 1.2;
  }

  .footer-region {
    font-size: 20px;
  }

  .footer-person {
    font-size: 13px;
  }

  .footer-detail-row {
    grid-template-columns: 25px minmax(0, 1fr);
    gap: 7px;
  }

  .footer-detail-icon {
    width: 23px;
    height: 23px;
    font-size: 12px !important;
  }

  .footer-detail-row span,
  .footer-detail-row a {
    font-size: 12px;
  }
}
