/* BP Eagles – Történet és értékrend */

.bpe-story,
.bpe-story * {
  box-sizing: border-box;
}

.bpe-story {
  --blue: #0097df;
  --light-blue: #12acf3;
  --line: rgba(255, 255, 255, 0.1);
  --panel: #080d12;
  --shell: 1380px;

  position: relative;
  overflow: hidden;
  padding: clamp(88px, 8vw, 132px) 0;
  color: #f5f7f9;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    #05080b;
  background-size: 72px 72px;
  font-family: "Rajdhani", "Arial Narrow", Arial, sans-serif;
}

.bpe-story__shell {
  width: min(calc(100% - 64px), var(--shell));
  margin-inline: auto;
}

.bpe-story__main {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
  gap: clamp(60px, 7vw, 110px);
}

.bpe-story__eyebrow {
  display: flex;
  margin-bottom: 17px;
  align-items: center;
  gap: 9px;
  color: var(--blue);
  font-family: "Inter", Arial, sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.bpe-story__eyebrow i {
  width: 22px;
  height: 2px;
  background: var(--blue);
}

.bpe-story .bpe-story__content h2 {
  margin: 0;
  color: #fff !important;
  font-size: clamp(48px, 5vw, 70px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.9;
  text-transform: uppercase;
}

.bpe-story .bpe-story__content h2 span {
  color: var(--blue) !important;
}

.bpe-story__content > p {
  max-width: 720px;
  margin: 18px 0 0;
  color: #87939c;
  font-family: "Inter", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.75;
}

.bpe-story__content .bpe-story__lead {
  margin-top: 31px;
  color: #c9d0d5;
  font-size: 16px;
  line-height: 1.65;
}

.bpe-story__path {
  position: relative;
  margin: 6px 0 0;
  padding: 0 0 0 38px;
  list-style: none;
}

.bpe-story__path::before {
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 8px;
  width: 1px;
  content: "";
  background: linear-gradient(var(--blue), rgba(0, 151, 223, 0.12));
}

.bpe-story__path li {
  position: relative;
  display: grid;
  min-height: 118px;
  padding: 3px 0 30px;
  grid-template-columns: 54px 1fr;
  gap: 20px;
}

.bpe-story__path li::before {
  position: absolute;
  top: 8px;
  left: -35px;
  width: 11px;
  height: 11px;
  border: 3px solid #05080b;
  border-radius: 50%;
  content: "";
  background: var(--blue);
  box-shadow: 0 0 0 1px rgba(0, 151, 223, 0.5);
}

.bpe-story__path > li > span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(0, 151, 223, 0.38);
  color: var(--light-blue);
  background: rgba(0, 151, 223, 0.055);
  font-size: 17px;
  font-weight: 700;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.bpe-story .bpe-story__path h3 {
  margin: 0;
  color: #fff !important;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
}

.bpe-story__path p {
  margin: 7px 0 0;
  color: #7d8992;
  font-family: "Inter", Arial, sans-serif;
  font-size: 11px;
  line-height: 1.55;
}

.bpe-story__values {
  display: grid;
  margin-top: 58px;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  background: var(--panel);
}

.bpe-story__values article {
  position: relative;
  display: grid;
  min-height: 154px;
  padding: 28px;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 20px;
}

.bpe-story__values article + article {
  border-left: 1px solid var(--line);
}

.bpe-story__values article::before {
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 2px;
  content: "";
  background: var(--blue);
  transition: width 0.3s ease;
}

.bpe-story__values article:hover::before {
  width: 100%;
}

.bpe-story__values svg {
  width: 48px;
  padding: 10px;
  border: 1px solid rgba(0, 151, 223, 0.3);
  color: var(--blue);
  background: rgba(0, 151, 223, 0.05);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}

.bpe-story .bpe-story__values h3 {
  margin: 0;
  color: #fff !important;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
}

.bpe-story__values p {
  margin: 7px 0 0;
  color: #74808a;
  font-family: "Inter", Arial, sans-serif;
  font-size: 11px;
  line-height: 1.55;
}

/* Laptop */
@media (max-width: 1150px) {
  .bpe-story__shell {
    width: min(calc(100% - 40px), var(--shell));
  }

  .bpe-story__main {
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 50px;
  }

  .bpe-story__values article {
    padding: 23px;
    gap: 15px;
  }
}

/* Tablet */
@media (max-width: 850px) {
  .bpe-story__main {
    grid-template-columns: 1fr;
  }

  .bpe-story__path {
    margin-top: 5px;
  }

  .bpe-story__values {
    grid-template-columns: 1fr;
  }

  .bpe-story__values article {
    min-height: 125px;
  }

  .bpe-story__values article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

/* Telefon */
@media (max-width: 560px) {
  .bpe-story {
    padding-block: 76px;
  }

  .bpe-story__shell {
    width: min(calc(100% - 28px), var(--shell));
  }

  .bpe-story .bpe-story__content h2 {
    font-size: clamp(43px, 12.5vw, 58px);
  }

  .bpe-story__content .bpe-story__lead {
    font-size: 14px;
  }

  .bpe-story__path {
    padding-left: 31px;
  }

  .bpe-story__path li {
    grid-template-columns: 46px 1fr;
    gap: 14px;
  }

  .bpe-story__path > li > span {
    width: 46px;
    height: 46px;
  }

  .bpe-story__path li::before {
    left: -28px;
  }

  .bpe-story__values {
    margin-top: 42px;
  }

  .bpe-story__values article {
    padding: 20px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bpe-story *,
  .bpe-story *::before {
    transition-duration: 0.01ms !important;
  }
}
