.pf-page .container {
  max-width: 1240px;
  padding-left: var(--s-4);
  padding-right: var(--s-4);
}

.pf-section {
  padding: clamp(56px, 8vw, 96px) 0;
}

.pf-page .pf-section__kicker {
  font-size: 12px !important;
  line-height: 1.2 !important;
}

.pf-section__intro {
  margin: 0 0 var(--s-5);
  color: #475569;
  max-width: 68ch;
}

.pf-card {
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #dbe2ea;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
  padding: clamp(20px, 2.6vw, 30px);
}

.pf-card h3 {
  margin-bottom: var(--s-2);
}

.pf-card p {
  margin: 0;
  color: #475569;
}

.pf-btn {
  min-height: 50px;
  padding: 0 24px;
  border-radius: 12px;
}

.pf-hero h1 span {
  color: #e11d2f;
}

.pf-hero__lead {
  margin: var(--s-4) 0 var(--s-5) !important;
  color: #475569;
  max-width: 58ch;
}

.pf-hero__stats {
  margin-top: var(--s-5);
  padding-top: var(--s-4);
  border-top: 1px solid #dbe2ea;
  display: flex;
  gap: var(--s-5);
  flex-wrap: wrap;
}

.pf-hero__stats strong {
  display: block;
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1;
}

.pf-hero__stats span {
  color: #64748b;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pf-hero__media {
  position: relative;
}

.pf-hero__media-note {
  position: absolute;
  left: 22px;
  bottom: 20px;
  border-radius: 14px;
  background: rgba(8, 12, 20, 0.82);
  color: #ffffff;
  padding: 14px 16px;
  display: grid;
  gap: 4px;
  max-width: 240px;
}

.pf-hero__media-note strong {
  font-size: 15px;
}

.pf-hero__media-note span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
}

.pf-pain-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-4);
}

.pf-card--problem {
  position: relative;
  padding-top: 62px;
}

.pf-card__icon {
  position: absolute;
  left: 22px;
  top: 20px;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: inline-grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  box-shadow: 0 8px 18px rgba(225, 29, 47, 0.26);
}

.pf-card__icon svg {
  width: 16px;
  height: 16px;
}

.pf-section[aria-labelledby="pf-pain-title"] .container {
  text-align: center;
}

.pf-section[aria-labelledby="pf-pain-title"] .pf-section__intro {
  margin-left: auto;
  margin-right: auto;
}

.pf-section[aria-labelledby="pf-pain-title"] .pf-card--problem {
  text-align: center;
  padding-top: 70px;
}

.pf-section[aria-labelledby="pf-pain-title"] .pf-card__icon {
  left: 50%;
  transform: translateX(-50%);
}

.pf-value {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.pf-value__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.pf-value__list li {
  position: relative;
  border: 1px solid #dbe2ea;
  border-radius: 14px;
  background: #ffffff;
  padding: 14px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  column-gap: 10px;
  row-gap: 4px;
  align-items: start;
}

.pf-value__list strong {
  grid-column: 2;
  font-size: 16px;
  line-height: 1.3;
}

.pf-value__list .pf-value__desc {
  grid-column: 2;
  color: #475569;
  font-size: 14px;
  line-height: 1.55;
}

.pf-value__icon {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: inline-grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  box-shadow: 0 8px 18px rgba(225, 29, 47, 0.22);
}

.pf-value__icon svg {
  width: 16px;
  height: 16px;
}

.pf-value__media {
  position: relative;
}

.pf-value__media img {
  display: block;
  width: 100%;
  border-radius: 16px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.pf-value__badge {
  position: absolute;
  right: 20px;
  bottom: 20px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 14px 22px rgba(15, 23, 42, 0.12);
  padding: 14px 16px;
  max-width: 250px;
  display: grid;
  gap: 4px;
}

.pf-value__badge strong {
  font-size: 15px;
}

.pf-value__badge span {
  color: #475569;
  font-size: 12px;
}

.pf-intl {
  text-align: center;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 18px;
  background:
    radial-gradient(circle at 16% 18%, rgba(225, 29, 47, 0.24) 0%, rgba(225, 29, 47, 0) 42%),
    linear-gradient(135deg, #070b14 0%, #0a1020 52%, #050a14 100%);
  padding: clamp(22px, 3vw, 34px);
  box-shadow: 0 18px 36px rgba(2, 6, 23, 0.24);
}

.pf-intl .pf-section__kicker {
  margin-left: auto;
  margin-right: auto;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.pf-intl h2 {
  margin: 20px auto;
  max-width: 22ch;
  color: #f8fafc;
}

.pf-intl__text {
  margin: 14px auto 0 !important;
  max-width: 88ch;
  text-align: center !important;
  color: rgba(226, 232, 240, 0.9) !important;
  line-height: 1.62;
}

.pf-intl__countries {
  margin-top: 20px;
  display: grid;
  gap: 24px;
  justify-items: center;
}

.pf-intl__row {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.pf-intl__row li {
  margin: 0;
  padding: 9px 14px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 999px;
  background: rgba(120, 120, 120, 0.48);
  color: #f8fafc;
  font-weight: 600;
  line-height: 1.2;
}

.pf-process {
  background: #ffffff;
}

.pf-process .container {
  text-align: center;
}

.pf-process .pf-section__intro {
  margin-left: auto;
  margin-right: auto;
}

.pf-process__list {
  margin: clamp(20px, 2.8vw, 34px) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.pf-step {
  position: relative;
  text-align: center;
  padding: 0 8px;
}

.pf-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(50% + 28px);
  right: calc(-50% + 28px);
  top: 21px;
  height: 1px;
  background: #dbe2ea;
}

.pf-step__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0 auto var(--s-3);
  border-radius: 50%;
  border: 2px solid #e11d2f;
  background: #ffffff;
  color: #e11d2f;
  font-weight: 700;
}

.pf-step p {
  margin: 0;
  color: #0f172a;
}

.pf-segments-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.pf-segments-grid .pf-card {
  min-height: 140px;
  display: flex;
  align-items: flex-end;
  padding: 14px;
  border-radius: 12px;
  color: #ffffff;
  border-color: transparent;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.06) 20%, rgba(15, 23, 42, 0.66) 100%),
    linear-gradient(135deg, #475569 0%, #1e293b 100%);
}

.pf-segments-grid .pf-segment--vyroba {
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.12) 18%, rgba(15, 23, 42, 0.72) 100%),
    url("../img/vyroba-240x160.webp") center / cover no-repeat;
}

.pf-segments-grid .pf-segment--sklad {
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.12) 18%, rgba(15, 23, 42, 0.72) 100%),
    url("../img/sklad-240x160.webp") center / cover no-repeat;
}

.pf-segments-grid .pf-segment--potraviny {
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.12) 18%, rgba(15, 23, 42, 0.72) 100%),
    url("../img/potravyni-240x160.webp") center / cover no-repeat;
}

.pf-segments-grid .pf-segment--tech {
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.12) 18%, rgba(15, 23, 42, 0.72) 100%),
    url("../img/tech-240x160.webp") center / cover no-repeat;
}

.pf-segments-grid .pf-segment--sezon {
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.12) 18%, rgba(15, 23, 42, 0.72) 100%),
    url("../img/sezon-240x160.webp") center / cover no-repeat;
}

.pf-segments-grid .pf-card h3 {
  font-size: 16px;
  color: #ffffff !important;
}

.pf-roles-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-4);
  margin: var(--s-3) 0 !important;
}

.pf-roles-col {
  margin: 0;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid #dbe2ea;
  background: #ffffff;
}

.pf-roles-col__title {
  margin: 0 0 18px !important;
  color: #0f172a;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 700;
}

.pf-roles-col ul {
  margin: 0;
  padding: 0 0 0 22px;
}

.pf-roles-grid li {
  margin: 0;
  color: #0f172a;
}

.pf-roles-grid li + li {
  margin-top: 12px;
}

.pf-roles-note {
  margin: var(--s-4) 0 0;
  color: #64748b;
  max-width: 70ch;
}

.pf-transparency {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(130, 24, 34, 0.42) 0%, rgba(8, 12, 22, 0.82) 48%, rgba(2, 6, 23, 0.9) 100%),
    url("../img/bg-pro-firmy.webp") center / cover no-repeat;
  color: #ffffff;
}

.pf-transparency__inner {
  max-width: 760px;
  text-align: center;
}

.pf-transparency__headline {
  margin: 0;
  line-height: 1.08;
  color: #ffffff;
  font-size: clamp(34px, 5.2vw, 56px);
  font-weight: var(--fw-bold);
}

.pf-transparency__headline span {
  color: #ef4444;
}

.pf-transparency p {
  margin: var(--s-4) auto 0;
  color: rgba(255, 255, 255, 0.8);
  max-width: 60ch;
}

.pf-final {
  padding: clamp(56px, 8vw, 92px) 0;
  background: #ffffff;
  color: #ffffff;
}

.pf-final__box {
  border-radius: 18px;
}

.pf-final .container {
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(215, 25, 32, 0.24), transparent 58%),
    linear-gradient(135deg, #0f172a 0%, #020617 100%);
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.18);
  padding: clamp(30px, 3.2vw, 44px) !important;
}

.pf-final__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
  gap: var(--s-5);
  align-items: stretch;
}

.pf-final__content {
  padding: clamp(24px, 3vw, 36px);
}

.pf-final .pf-section__kicker {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.pf-final h2 {
  color: #ffffff;
  margin-bottom: var(--s-3);
}

.pf-final p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  max-width: 62ch;
}

.pf-final__contacts {
  margin: var(--s-4) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.pf-final__contacts li {
  position: relative;
  padding-left: 22px;
}

.pf-final__contacts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ef4444;
}

.pf-final__panel {
  border-radius: 16px;
  background: #ffffff;
  color: #0f172a;
  padding: clamp(20px, 2.6vw, 30px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 16px 26px rgba(15, 23, 42, 0.16);
  height: 100%;
}

.pf-final__panel h3 {
  margin: 0;
  color: #0f172a;
}

.pf-final__panel p {
  margin: 0;
  color: #475569;
}

.pf-final__panel .pf-btn {
  width: 100%;
  margin-top: 24px;
}

.pf-section[aria-labelledby="pf-faq-title"] {
  background: #ffffff;
}

.pf-section[aria-labelledby="pf-faq-title"] .container {
  background: #f1f5f9 !important;
  padding-top: clamp(30px, 4vw, 52px);
  padding-bottom: clamp(34px, 4vw, 58px);
}

.pf-faq summary::after {
  content: "\25BE" !important;
  flex: 0 0 34px !important;
  width: 34px !important;
  height: 34px !important;
  display: inline-grid !important;
  place-items: center !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  color: #e11d2f !important;
  font-size: 26px !important;
  line-height: 1 !important;
  transition: transform 220ms ease !important;
}

.pf-faq details[open] summary::after {
  transform: rotate(180deg) !important;
}

@media (max-width: 1200px) {
  .pf-segments-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1025px) {
  .pf-transparency {
    background-attachment: fixed;
  }
}

@media (max-width: 1024px) {
  .pf-value,
  .pf-final__grid {
    grid-template-columns: 1fr;
  }

  .pf-hero__media-note,
  .pf-value__badge {
    position: static;
    margin-top: 16px;
    max-width: none;
  }

  .pf-pain-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pf-process__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pf-step:nth-child(3)::after {
    display: none;
  }

  .pf-segments-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pf-transparency {
    background-attachment: scroll;
    background-position: center;
  }
}

@media (max-width: 768px) {
  .pf-section,
  .pf-final {
    padding: var(--s-6) 0;
  }

  .pf-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .pf-btn {
    width: 100%;
  }

  .pf-intl {
    border-radius: 16px;
    padding: 18px 14px;
  }

  .pf-intl__text {
    margin-top: 12px;
    font-size: 15px;
  }

  .pf-intl__countries {
    margin-top: 16px;
    gap: 8px;
  }

  .pf-intl__row {
    gap: 8px;
  }

  .pf-intl__row li {
    padding: 8px 12px;
    font-size: 14px;
  }

  .pf-pain-grid,
  .pf-segments-grid,
  .pf-roles-grid,
  .pf-process__list {
    grid-template-columns: 1fr;
  }

  .pf-step {
    text-align: left;
    padding: 0 0 var(--s-4);
  }

  .pf-step__num {
    margin: 0 0 var(--s-2);
  }

  .pf-step::after,
  .pf-step:not(:last-child)::after {
    display: none;
  }

  .pf-step:not(:last-child) {
    border-bottom: 1px solid #dbe2ea;
  }
}
