.faq-section {
    width: 100%;
    padding: 90px 0 110px;
    font-family: "DM Sans", sans-serif;
    color: #f9fafb;
}

.faq-inner {
    max-width: 1290px;
    margin: 0 auto;
    padding: 0 18px;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr);
    gap: 80px;
    align-items: flex-start;
}

/* LEWA KOLUMNA -------------------------------------------------- */

.faq-left {
    text-align: left;
}

.faq-title {
    font-size: 40px;
    line-height: 1.15;
    font-weight: 600;
    margin-bottom: 22px;
    margin-top: 5px;
}

.faq-text {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(118, 118, 119, 1);
    max-width: 420px;
    margin-bottom: 32px;
}

.faq-cta {
    position: relative;
    border-radius: 10px;
    border: 1px solid hsla(0, 0%, 100%, .05);
    padding: .8rem 1.2rem;
    font-weight: 400;
    color: hsla(0, 0%, 100%, .5);
    background: transparent;
    transition: color .25s ease, border-color .25s ease, background-color .25s ease;
    display: inline-flex;
    text-decoration: none;
}

.faq-cta::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:-1px;
  width:75%;
  height:1px;
  transform:translateX(-50%);
  opacity:.6;
  transition:opacity 1s ease,filter 1s ease;
  background:radial-gradient(circle,rgba(144,0,255,1) 1%,rgba(144,0,255,.08) 95%,rgba(144,0,255,.04) 100%);
  filter:drop-shadow(0 0 0 rgba(144,0,255,0));
  pointer-events:none;
}

.faq-cta:hover{
  border-color:hsla(0,0%,100%,.1);
  color:#fff;
}

.faq-cta:hover::after{
  opacity:1;
  filter:drop-shadow(0 0 7px rgba(144,0,255,1));
}
/* PRAWA KOLUMNA ------------------------------------------------- */

.faq-right {
    text-align: left;
}

.faq-list {
    padding: 0px 0;
}

/* POJEDYNCZE PYTANIE -------------------------------------------- */

.faq-item {
    border-bottom: 1px solid rgba(55,65,81,0.55);
    padding: 14px 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    color: #e5e7eb;
    font-size: 14px;
    font-weight: 500;
}

.faq-question span:first-child {
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    padding-right: 24px;
}

/* STRZAŁKI SVG -------------------------------------------------- */

.faq-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.faq-arrow img {
    width: 13px;
    height: 20px;
    display: block;
}

/* domyślnie widać tylko strzałkę w dół */
.faq-arrow .arrow-up {
    display: none;
}

/* po rozwinięciu – pokazujemy strzałkę w górę */
.faq-item.active .faq-arrow .arrow-down {
    display: none;
}

.faq-item.active .faq-arrow .arrow-up {
    display: block;
}

/* ODPOWIEDŹ ----------------------------------------------------- */

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease, opacity 0.22s ease;
    opacity: 0;
}

.faq-answer p {
    margin-top: 10px;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(118, 118, 119, 1);
}

/* STAN AKTYWNY -------------------------------------------------- */

.faq-item.active .faq-question {
    color: #ffffff;
}

.faq-item.active .faq-answer {
    max-height: 240px;
    opacity: 1;
}

/* RESPONSYWNOŚĆ ------------------------------------------------- */

@media (max-width: 992px) {
    .faq-inner {
        gap: 50px;
        grid-template-columns: 1fr 1fr;
    }

    .faq-title {
        font-size: 34px;
    }
}

@media (max-width: 768px) {
    .faq-section {
        padding: 70px 0 80px;
    }

    .faq-inner {
        padding: 0 16px;
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .faq-title {
        font-size: 30px;
    }

    .faq-text {
        max-width: none;
    }
}
