/* =========================================================
   Dual story / Dwie perspektywy
   ========================================================= */

.sec-dual-story{
  position: relative;
  padding: 9.6rem 0;
  overflow: hidden;
}

.sec-dual-story.bg-white{
  background: var(--white);
}

.sec-dual-story.bg-secondary{
  background: var(--secondary);
}

.sec-dual-story.bg-dark-blue{
  background: var(--dark-blue);
}

.sec-dual-story .container{
  position: relative;
  z-index: 2;
}

.sec-dual-story.bg-dark-blue::before{
  content: "";
  position: absolute;
  top: -24rem;
  right: -18rem;
  width: 58rem;
  height: 58rem;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(20, 97, 252, 0.17) 0%,
    rgba(20, 97, 252, 0.05) 46%,
    rgba(20, 97, 252, 0) 72%
  );
  pointer-events: none;
}

/* =========================================================
   Naglowek sekcji
   ========================================================= */

.dual-story-head{
  margin-bottom: 5.6rem;
  text-align: center;
}

.dual-story-badge{
  display: inline-flex;
  margin: 0 auto 2rem;
}

.sec-dual-story.bg-dark-blue .dual-story-badge{
  border-color: rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.08);
  color: #8DB8FF;
}

.dual-story-head-grid{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
  text-align: center;
}

.dual-story-title{
  max-width: 86rem;
  margin: 0 auto;
  color: var(--black);
  font-size: 4rem;
  line-height: 4.8rem;
  font-weight: 600;
  letter-spacing: -1.2px;
  text-transform: none;
}

.dual-story-lead{
  max-width: 78rem;
  margin: 0 auto;
}

.dual-story-lead p{
  margin: 0 0 1.2rem;
  color: #667085;
  font-size: 1.7rem;
  line-height: 2.8rem;
  font-weight: 400;
}

.dual-story-lead p:last-child{
  margin-bottom: 0;
}

.sec-dual-story.bg-dark-blue .dual-story-title{
  color: var(--white);
}

.sec-dual-story.bg-dark-blue .dual-story-lead p{
  color: rgba(255,255,255,0.68);
}

/* =========================================================
   Glowny panel
   ========================================================= */

.dual-story-panel{
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--border-secondary);
  border-bottom: 1px solid var(--border-secondary);
}

.dual-story-panel::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 10rem;
  height: 0.3rem;
  border-radius: 999px;
  background: var(--primary);
}

.sec-dual-story.bg-dark-blue .dual-story-panel{
  border-color: rgba(255,255,255,0.14);
}

.dual-story-column{
  position: relative;
  min-width: 0;
  padding: 5.6rem 6.4rem 5.8rem 0;
}

.dual-story-column--right{
  padding-right: 0;
  padding-left: 6.4rem;
  border-left: 1px solid var(--border-secondary);
}

.sec-dual-story.bg-dark-blue .dual-story-column--right{
  border-left-color: rgba(255,255,255,0.14);
}

.dual-story-column-head{
  max-width: 58rem;
  min-height: 20rem;
}

.dual-story-eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.8rem;
  color: var(--primary);
  font-size: 1.3rem;
  line-height: 1.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dual-story-eyebrow-dot{
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 0.5rem rgba(20,97,252,0.08);
}

.dual-story-column-title{
  max-width: 55rem;
  margin: 0;
  color: var(--black);
  font-size: 2.9rem;
  line-height: 3.7rem;
  font-weight: 600;
  letter-spacing: -0.8px;
  text-transform: none;
}

.dual-story-column-desc{
  max-width: 55rem;
  margin-top: 1.6rem;
}

.dual-story-column-desc p{
  margin: 0 0 1rem;
  color: #667085;
  font-size: 1.6rem;
  line-height: 2.65rem;
}

.dual-story-column-desc p:last-child{
  margin-bottom: 0;
}

.sec-dual-story.bg-dark-blue .dual-story-eyebrow{
  color: #8DB8FF;
}

.sec-dual-story.bg-dark-blue .dual-story-eyebrow-dot{
  background: #8DB8FF;
  box-shadow: 0 0 0 0.5rem rgba(141,184,255,0.08);
}

.sec-dual-story.bg-dark-blue .dual-story-column-title{
  color: var(--white);
}

.sec-dual-story.bg-dark-blue .dual-story-column-desc p{
  color: rgba(255,255,255,0.68);
}

/* =========================================================
   Lista
   ========================================================= */

.dual-story-list{
  display: grid;
  gap: 0;
  margin: 3.6rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border-secondary);
}

.sec-dual-story.bg-dark-blue .dual-story-list{
  border-top-color: rgba(255,255,255,0.12);
}

.dual-story-item{
  position: relative;
  display: grid;
  grid-template-columns: 3.8rem minmax(0, 1fr);
  gap: 1.5rem;
  align-items: center;
  min-height: 7.2rem;
  padding: 1.5rem 1rem 1.5rem 0;
  border-bottom: 1px solid var(--border-secondary);
  transition: padding-left .22s ease, background-color .22s ease;
}

.dual-story-item{
  margin-bottom: 0;
  list-style: none;
}

.dual-story-item::after,
.dual-story-item::before,
.dual-story-item::marker{
  content: none !important;
  display: none !important;
}

.sec-dual-story.bg-dark-blue .dual-story-item{
  border-bottom-color: rgba(255,255,255,0.12);
}

.dual-story-item:hover{
  padding-left: 1rem;
}

.dual-story-item-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  background: rgba(20,97,252,0.08);
  overflow: hidden;
  transition: background-color .22s ease, transform .22s ease;
}

.dual-story-item:hover .dual-story-item-icon{
  background: rgba(20,97,252,0.14);
  transform: scale(1.04);
}

.dual-story-item-icon img{
  display: block;
  width: 2.1rem;
  height: 2.1rem;
  object-fit: contain;
}

.dual-story-item-check{
  color: var(--primary);
  font-size: 1.6rem;
  line-height: 1;
  font-weight: 700;
}

.dual-story-item-text{
  color: #333846;
  font-size: 1.55rem;
  line-height: 2.35rem;
  font-weight: 500;
}

.sec-dual-story.bg-dark-blue .dual-story-item-icon{
  background: rgba(141,184,255,0.10);
}

.sec-dual-story.bg-dark-blue .dual-story-item-check{
  color: #8DB8FF;
}

.sec-dual-story.bg-dark-blue .dual-story-item-text{
  color: rgba(255,255,255,0.84);
}


/* =========================================================
   Tekst pod lista
   ========================================================= */

.dual-story-footer-text{
  max-width: 55rem;
  margin-top: 2.8rem;
  padding: 2.2rem 2.4rem;
  border-left: 3px solid var(--primary);
  background: rgba(20,97,252,0.045);
}

.dual-story-footer-text p{
  margin: 0 0 1rem;
  color: #667085;
  font-size: 1.5rem;
  line-height: 2.5rem;
  font-weight: 400;
}

.dual-story-footer-text p:last-child{
  margin-bottom: 0;
}

.sec-dual-story.bg-dark-blue .dual-story-footer-text{
  border-left-color: #8DB8FF;
  background: rgba(141,184,255,0.07);
}

.sec-dual-story.bg-dark-blue .dual-story-footer-text p{
  color: rgba(255,255,255,0.72);
}

/* =========================================================
   CTA
   ========================================================= */

.dual-story-action{
  display: flex;
  justify-content: center;
  margin-top: 4.8rem;
}

.dual-story-button{
  gap: 0.9rem;
}

.dual-story-button-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .22s ease;
}

.dual-story-button:hover .dual-story-button-icon{
  transform: translateX(0.35rem);
}

/* =========================================================
   Responsive
   ========================================================= */

@media(max-width:1199.98px){
  .sec-dual-story{
    padding: 8rem 0;
  }

  .dual-story-head-grid{
    gap: 1.8rem;
  }

  .dual-story-column{
    padding-right: 4.5rem;
  }

  .dual-story-column--right{
    padding-right: 0;
    padding-left: 4.5rem;
  }
}

@media(max-width:991.98px){
  .dual-story-head{
    margin-bottom: 4.4rem;
  }

  .dual-story-head-grid{
    gap: 1.6rem;
  }

  .dual-story-lead{
    max-width: 70rem;
    margin-left: auto;
    margin-right: auto;
  }

  .dual-story-panel{
    grid-template-columns: 1fr;
  }

  .dual-story-column,
  .dual-story-column--right{
    padding: 4.8rem 0;
  }

  .dual-story-column--right{
    border-left: 0;
    border-top: 1px solid var(--border-secondary);
  }

  .sec-dual-story.bg-dark-blue .dual-story-column--right{
    border-top-color: rgba(255,255,255,0.14);
  }

  .dual-story-column-head{
    min-height: 0;
  }
}

@media(max-width:767.98px){
  .sec-dual-story{
    padding: 6.4rem 0;
  }

  .dual-story-head{
    margin-bottom: 3.6rem;
  }

  .dual-story-title{
    font-size: 3.2rem;
    line-height: 4rem;
    letter-spacing: -0.8px;
  }

  .dual-story-lead p{
    font-size: 1.6rem;
    line-height: 2.6rem;
  }

  .dual-story-column,
  .dual-story-column--right{
    padding: 4rem 0;
  }

  .dual-story-column-title{
    font-size: 2.5rem;
    line-height: 3.3rem;
    letter-spacing: -0.5px;
  }

  .dual-story-column-desc p{
    font-size: 1.5rem;
    line-height: 2.5rem;
  }

  .dual-story-list{
    margin-top: 3rem;
  }

  .dual-story-item{
    grid-template-columns: 3.4rem minmax(0, 1fr);
    gap: 1.2rem;
    min-height: 6.6rem;
    padding: 1.3rem 0;
  }

  .dual-story-item:hover{
    padding-left: 0;
  }

  .dual-story-item-icon{
    width: 3rem;
    height: 3rem;
  }

  .dual-story-item-icon img{
    width: 1.8rem;
    height: 1.8rem;
  }

  .dual-story-item-text{
    font-size: 1.45rem;
    line-height: 2.2rem;
  }

  .dual-story-footer-text{
    margin-top: 2.4rem;
    padding: 1.8rem 2rem;
  }

  .dual-story-footer-text p{
    font-size: 1.45rem;
    line-height: 2.3rem;
  }

  .dual-story-action{
    justify-content: flex-start;
    margin-top: 3.6rem;
  }
}
