.pm-hp {
  --p-accent: #79b900;
  --p-link: #426900;
  --p-dark: #1a2a3a;
  --p-muted: #5e6e80;
  --p-border: rgba(255, 255, 255, .5);
  --p-shadow: 0 10px 40px rgba(0, 0, 0, .04);
  color: var(--p-dark);
  font-family: "Inter", sans-serif;
  background: #fafbfc;
}

.pm-hp h2,
.pm-hp h3 {
  color: var(--p-dark);
  text-transform: none;
  line-height: 1.18;
  margin: 0;
}

.pm-hp h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 300;
  letter-spacing: -1px;
}

.pm-hp h2 span {
  color: var(--p-accent);
  font-weight: 700;
}

.pm-hp h3 {
  font-size: clamp(21px, 2.2vw, 24px);
  font-weight: 700;
}

.pm-hp p {
  color: var(--p-muted);
  font-size: 16px;
  line-height: 1.8;
  margin: 1rem 0 0;
}

.pm-hp figure { min-width: 0; margin: 0; }
.pm-hp img { display: block; width: 100%; }
.pm-hp a:focus-visible { outline: 3px solid var(--p-accent); outline-offset: 4px; }
.pm-hp-wrap { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.pm-hp-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.65rem, 5vw, 4rem); align-items: center; }
.pm-hp-grid { display: grid; gap: 1.25rem; }

.pm-hp-hero {
  --hero-position: 50% 58%;
  --hero-mobile-position: 57% 50%;
  background-color: var(--p-dark);
  background-image: linear-gradient(135deg, rgba(26, 42, 58, .8), rgba(26, 42, 58, .6)), var(--pm-hp-hero-image);
}

.pm-hp-hero--offer {
  --pm-hp-hero-image: url("/assets/img/optimized/headers/production/pompy-ciepla-mitsubishi-zubadan-jednostka-zewnetrzna-bojszowy.jpg");
}

.pm-hp-hero--case {
  --pm-hp-hero-image: url("/assets/img/realizacje/zawiercie/jednostka-galmet.webp");
}

.pm-hp .pm-hp-hero .page-heading {
  text-align: left;
  padding: clamp(148px, 16vw, 235px) 0 clamp(56px, 8vw, 112px);
}

.pm-hp .pm-hp-hero .breadcrumb-list {
  width: fit-content;
  max-width: 100%;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 5px 10px;
  padding: 12px 20px;
  margin: 0 0 22px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50px;
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(10px);
}

.pm-hp .pm-hp-hero .breadcrumb-list :is(a, span) { color: #fff; font-size: 14px; }
.pm-hp .pm-hp-hero .breadcrumb-list [aria-current] {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--p-accent);
  background: rgba(121, 185, 0, .15);
  border-radius: 20px;
  padding: 4px 11px;
  font-weight: 600;
}
.pm-hp .pm-hp-hero .breadcrumb-list i { color: var(--p-accent); margin-right: 4px; }
.pm-hp .pm-hp-hero .breadcrumb-list .fa-chevron-right { color: rgba(255, 255, 255, .6); font-size: 8px; margin: 0 3px; }

.pm-hp .pm-hp-hero .breadcrumb-title {
  color: #fff;
  max-width: 22ch;
  font-size: clamp(39px, 5vw, 60px);
  font-weight: 300;
  letter-spacing: -.025em;
  line-height: 1.12;
  text-shadow: 0 3px 12px rgba(0, 0, 0, .35);
}

.pm-hp .pm-hp-hero .pm-hp-lead { color: #f3f5f7; font-size: 18px; max-width: 64ch; }
.pm-hp .pm-hp-hero .pm-hp-kicker { color: #f3f5f7; }
.pm-hp .pm-hp-kicker { color: var(--p-link); margin: 0 0 .65rem; font-size: .79rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }

.pm-hp figcaption { color: var(--p-muted); font-size: .86rem; padding-top: .55rem; line-height: 1.55; }
.pm-hp-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 12px 21px; margin-top: 24px; }
.pm-hp .theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-transform: none;
  text-decoration: none;
  min-height: 48px;
  padding: .8rem 1.2rem;
  font-weight: 700;
  line-height: 1.35;
}
.pm-hp .theme-btn:not(:hover) { color: #18251a; }
.pm-hp .pm-hp-link { color: var(--p-link); display: inline-block; font-weight: 700; line-height: 1.45; }
.pm-hp .pm-hp-link:hover, .pm-hp-hero .breadcrumb-list a:hover { text-decoration: underline; text-underline-offset: .2em; }
.pm-hp .pm-hp-hero .pm-hp-link { color: #fff; }

.pm-hp-section { padding-block: clamp(3rem, 7vw, 6.25rem); scroll-margin-top: 88px; }
.pm-hp-tint { background: #f7fafc; }
.pm-hp-glow {
  background:
    radial-gradient(ellipse 29rem 24rem at 94% 24%, rgba(121, 185, 0, .13), transparent 100%),
    radial-gradient(ellipse 25rem 21rem at 2% 92%, rgba(90, 138, 0, .06), transparent 100%),
    #fafbfc;
}
.pm-hp-center { text-align: center; }
.pm-hp-paths { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 1.8rem; }
.pm-hp-glass {
  background: #fff;
  border: 1px solid var(--p-border);
  border-radius: 24px;
  box-shadow: var(--p-shadow);
}
.pm-hp-paths > section { padding: clamp(1.3rem, 3.4vw, 2.35rem); }
.pm-hp-paths .pm-hp-link, .pm-hp-feature .pm-hp-link, .pm-hp-sizing .pm-hp-link { margin-top: 1rem; }
.pm-hp-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(121, 185, 0, .12);
  color: #5a8a00;
  margin-bottom: 1rem;
  font-size: 20px;
}
.pm-hp-steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin: 1.8rem 0 0; padding: 0; }
.pm-hp-steps li { padding: clamp(1.25rem, 3vw, 2rem); }
.pm-hp-feature.pm-hp-glass { padding: clamp(1rem, 3.2vw, 2.25rem); }
.pm-hp-feature img { width: 100%; height: clamp(245px, 34vw, 405px); object-fit: cover; object-position: 50% 45%; border-radius: 18px; }
.pm-hp-related { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 1.65rem; }
.pm-hp-related > a { display: flex; align-items: center; justify-content: space-between; gap: .75rem; background: #fff; border: 1px solid var(--p-border); border-radius: 16px; padding: 1rem 1.2rem; color: var(--p-dark); font-weight: 700; text-decoration: none; }
.pm-hp-related > a:hover { border-color: var(--p-accent); color: var(--p-link); }

.pm-hp-contact {
  border-radius: 28px;
  padding: clamp(2rem, 6vw, 4.5rem) clamp(1.15rem, 5vw, 3.5rem);
  background: linear-gradient(135deg, rgba(26, 42, 58, .92), rgba(15, 25, 38, .95)), url("/assets/img/optimized/home/cta-bg.jpg") center / cover;
  text-align: center;
  box-shadow: 0 20px 55px rgba(26, 42, 58, .14);
}
.pm-hp-contact h2 { color: #fff; }
.pm-hp-contact p { color: #e5ecf1; max-width: 68ch; margin-inline: auto; }
.pm-hp-contact .pm-hp-actions { justify-content: center; }
.pm-hp-contact .pm-hp-link { color: #fff; }

.pm-hp-facts { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--p-border); }
.pm-hp-facts > div { padding: clamp(.85rem, 3vw, 1.55rem) clamp(.55rem, 2vw, 1.1rem); }
.pm-hp-facts > div + div { border-left: 1px solid var(--p-border); }
.pm-hp-facts dt { color: var(--p-muted); font-size: .86rem; line-height: 1.35; }
.pm-hp-facts dd { font-size: clamp(1.02rem, 2.5vw, 1.64rem); font-weight: 700; margin: .25rem 0 0; line-height: 1.2; }
.pm-hp-sizing { margin-top: 1.2rem; align-items: start; }
.pm-hp-table-card { align-self: start; padding: 1.25rem; margin-top: 1rem; }
.pm-hp-table-card table { width: 100%; color: var(--p-dark); border-collapse: collapse; }
.pm-hp-table-card caption { caption-side: top; color: inherit; padding: 0 0 .65rem; font-weight: 700; }
.pm-hp-table-card :is(th, td) { padding: .62rem .25rem; border-bottom: 1px solid var(--p-border); }
.pm-hp-table-card small { display: block; color: var(--p-muted); }
.pm-hp-photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.4rem; }
.pm-hp-photo-grid img { aspect-ratio: 4 / 4.6; height: auto; object-fit: cover; border-radius: 18px; }
.pm-hp-narrow { max-width: 780px; }
.pm-hp-gallery { padding-top: clamp(2.4rem, 6vw, 4.75rem); padding-bottom: 0; }

@media (max-width: 767px) {
  .pm-hp-wrap { width: calc(100% - 32px); }
  .pm-hp-hero--offer { --pm-hp-hero-image: url("/assets/img/optimized/headers/pompy-ciepla-mitsubishi-zubadan-jednostka-zewnetrzna-bojszowy-mobile.jpg"); }
  .pm-hp .pm-hp-hero .page-heading { padding-top: 118px; }
  .pm-hp-split, .pm-hp-paths, .pm-hp-related, .pm-hp-steps { grid-template-columns: minmax(0, 1fr); }
  .pm-hp-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pm-hp-photo-grid figcaption { font-size: .81rem; }
  .pm-hp-feature img { height: clamp(230px, 64vw, 350px); }
}
