/* 03-baner */
.hero {
  position: relative;
  height: min(56vw,520px);
  background: #1B3350;
  overflow: hidden;
  height: calc(min(50vw,640px) + var(--hbh) - 10px);
  min-height: calc(560px + var(--hbh) - 10px);
  --hbh: 84px;
}
.hero .bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s;
}
.hero .bg.on {
  opacity: 1;
}
.hero .sl {
  position: absolute;
  left: clamp(20px,3.4vw,66px);
  bottom: calc(var(--hbh) + 80px);
  z-index: 2;
  max-width: min(760px,58%);
  padding: 0;
  font-size: clamp(20px,3.4vw,38px);
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0,0,0,.7);
}
.hero .im {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s linear;
}
.hero .bg.on .im {
  transform: scale(1);
}
.hero .hv {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero .mt {
  position: absolute;
  right: 18px;
  bottom: calc(var(--hbh) + 38px);
  z-index: 3;
  width: 46px;
  height: 46px;
  cursor: pointer;
}
.hero .mt:hover {
  background: rgba(0,0,0,.7);
}
/* slogan + tekst pod sloganem (efekty: wjazd z lewej, rozjaśnienie, rysowana linia) */
.hero .sl span {
  display: block;
}
.hero .s1 {
  font-size: clamp(22px,3.2vw,48px);
  line-height: 1.08;
  letter-spacing: -.01em;
  filter: blur(.4px);
}
.hero .s2 {
  position: relative;
  margin-top: 18px;
  padding-left: 18px;
  font-size: clamp(14px,1.3vw,19px);
  font-weight: 500;
  line-height: 1.4;
}
.hero .s2::before {
  content: "";
  position: absolute;
  left: 0;
  top: .12em;
  bottom: .12em;
  width: 2px;
  border-radius: 1px;
  background: var(--rd);
  transform-origin: top;
}
.hero .bg.on .s1 {
  animation: slIn 1s .25s cubic-bezier(.2,.7,.2,1) both;
}
.hero .bg.on .s2 {
  animation: slUp 1s .7s cubic-bezier(.2,.7,.2,1) both;
}
.hero .bg.on .s2::before {
  animation: slLine .9s .8s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes slIn {
  from{opacity:0;transform:translateX(-60px);filter:blur(8px)}to{opacity:1;transform:none;filter:blur(.4px)}
}
@keyframes slUp {
  from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}
}
@keyframes slLine {
  from{transform:scaleY(0)}to{transform:scaleY(1)}
}
@media (prefers-reduced-motion: reduce) {
  .hero .bg.on .s1,
  .hero .bg.on .s2,
  .hero .bg.on .s2::before {
    animation: none;
  }
}
/* dolny pasek: 6 skrótów (statyczny, widoczny na każdym slajdzie) */
.hero .hbar {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 22px;
  z-index: 3;
  height: var(--hbh);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  border-radius: 24px;
  background: rgba(255,255,255,var(--glass-a));
  border: 1px solid rgba(255,255,255,.32);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px rgba(0,0,0,.14);
}
.hero .hbar > a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #12355B;
  border-radius: 24px;
  transition: background .25s;
}
.hero .hbar > a:hover {
  background: rgba(255,255,255,.74);
}
.hero .hbar > a + a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22%;
  bottom: 22%;
  width: 1px;
  background: rgba(18,53,91,.3);
}
.hero .hbar > a > span:first-child {
  flex: none;
  display: inline-flex;
  opacity: 1;
}
.hero .hbar > a svg {
  width: 44px;
  height: 44px;
}
.hero .hbt strong {
  display: block;
  font-size: 17px;
  line-height: 1.2;
}
.hero .hbt small {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: #2c3f57;
}
@media (max-width: 1280px) {
  .hero .hbt small {
    display: none;
  }
  .hero .hbt strong {
    font-size: 15px;
    white-space: nowrap;
  }
  .hero .hbar > a svg {
    width: 34px;
    height: 34px;
  }
}
@media (max-width: 1100px) {
  .hero .hbar > a svg {
    width: 30px;
    height: 30px;
  }
  .hero .hbt strong {
    font-size: 14px;
    white-space: normal;
  }
}
@media (max-width: 760px) {
  .hero {
    --hbh: 76px;
  }
  .hero .sl {
    max-width: 92%;
  }
  .hero .s2 {
    margin-top: 12px;
    padding-left: 12px;
  }
  .hero .hbar {
    left: 8px;
    right: 8px;
    bottom: 14px;
    border-radius: 18px;
  }
  .hero .hbar > a {
    flex-direction: column;
    gap: 2px;
    padding: 0 2px;
  }
  .hero .hbar > a svg {
    width: 26px;
    height: 26px;
  }
  .hero .hbt {
    text-align: center;
  }
  .hero .hbt strong {
    font-size: 10px;
    line-height: 1.15;
  }
}
/* lekki czarny gradient w lewym dolnym rejonie (czytelność sloganów); kształt jak dawne rozmycie */
.hero .bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse 75% 90% at 0% 100%,rgba(0,0,0,.55) 45%,transparent 100%);
  pointer-events: none;
}
