/* FAQ moderne */
.index-page #faq {
  position: relative;
  isolation: isolate;
  background: transparent !important;
}

.index-page #faq::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 10%;
  left: -18%;
  width: 48vw;
  height: 48vw;
  border-radius: 50%;
  background: rgba(17, 153, 238, 0.045);
  filter: blur(110px);
  pointer-events: none;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(26px, 4.5vw, 68px);
  align-items: start;
}

.faq-guide {
  position: sticky;
  top: 116px;
  overflow: hidden;
  padding: clamp(25px, 3vw, 38px);
  border: 1px solid rgba(54, 142, 205, 0.18);
  border-radius: 22px;
  background:
    radial-gradient(circle at 88% 8%, rgba(17, 153, 238, 0.11), transparent 34%),
    linear-gradient(145deg, rgba(7, 26, 50, 0.92), rgba(3, 13, 32, 0.98));
  box-shadow: 0 20px 48px rgba(0, 2, 10, 0.25);
}

.faq-guide-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  color: #1199ee;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.faq-guide-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 99px;
  background: #1199ee;
}

.faq-guide h3 {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 650;
  line-height: 1.22;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.faq-guide > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.92rem;
  line-height: 1.72;
}

.faq-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.faq-topics li {
  padding: 7px 10px;
  border: 1px solid rgba(54, 142, 205, 0.18);
  border-radius: 999px;
  background: rgba(17, 153, 238, 0.055);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.69rem;
  font-weight: 650;
}

.faq-contact-card {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
  margin-top: 28px;
  padding: 15px;
  border-left: 3px solid #1199ee;
  border-radius: 0 14px 14px 0;
  background: rgba(17, 153, 238, 0.065);
}

.faq-contact-icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(17, 153, 238, 0.11);
  color: #1199ee;
  font-size: 1rem;
}

.faq-contact-card strong {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8rem;
  font-weight: 700;
}

.faq-contact-card p {
  margin: 0 0 9px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  line-height: 1.55;
}

.faq-contact-card a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #1199ee;
  font-size: 0.74rem;
  font-weight: 750;
}

.faq-contact-card a i {
  transition: transform 0.24s ease;
}

.faq-contact-card a:hover {
  color: #f8b12e;
}

.faq-contact-card a:hover i {
  transform: translateX(3px);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-modern .faq-item {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(54, 142, 205, 0.19);
  border-radius: 17px;
  background:
    radial-gradient(circle at 94% 4%, rgba(17, 153, 238, 0.065), transparent 32%),
    linear-gradient(145deg, rgba(7, 26, 50, 0.9), rgba(3, 13, 32, 0.98));
  box-shadow: 0 14px 32px rgba(0, 2, 10, 0.2);
  cursor: default;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.faq-modern .faq-item::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: #1199ee;
  opacity: 0.74;
  transition: background-color 0.25s ease, opacity 0.25s ease;
}

.faq-question {
  display: grid;
  width: 100%;
  grid-template-columns: 38px minmax(0, 1fr) 42px;
  gap: 13px;
  align-items: center;
  padding: 18px 18px 18px 21px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}

.faq-number {
  color: #1199ee;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.faq-question-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1.46;
  letter-spacing: -0.012em;
}

.faq-control {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  justify-self: end;
  border: 1px solid rgba(17, 153, 238, 0.28);
  border-radius: 12px;
  background: rgba(17, 153, 238, 0.075);
  color: #1199ee;
  transition: transform 0.28s ease, color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.32s ease, opacity 0.25s ease;
}

.faq-answer-inner {
  overflow: hidden;
}

.faq-answer p {
  margin: 0;
  padding: 0 70px 20px 72px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.86rem;
  line-height: 1.7;
}

.faq-modern .faq-item.faq-active {
  border-color: rgba(248, 177, 46, 0.38) !important;
  box-shadow: 0 20px 42px rgba(0, 2, 10, 0.3);
}

.faq-modern .faq-item.faq-active::before {
  background: #f8b12e;
  opacity: 1;
}

.faq-item.faq-active .faq-answer {
  grid-template-rows: 1fr;
  opacity: 1;
}

.faq-item.faq-active .faq-control {
  transform: rotate(45deg);
  border-color: #f8b12e;
  background: #f8b12e;
  color: #020814;
}

.faq-question:focus-visible {
  outline: 2px solid #f8b12e;
  outline-offset: -3px;
  border-radius: 16px;
}

@media (hover: hover) and (pointer: fine) {
  .faq-modern .faq-item:hover {
    transform: translateY(-3px) !important;
    border-color: rgba(248, 177, 46, 0.36) !important;
    box-shadow: 0 18px 38px rgba(0, 2, 10, 0.28) !important;
  }

  .faq-modern .faq-item:hover::before {
    background: #f8b12e;
    opacity: 1;
  }

  .faq-modern .faq-item:hover .faq-control {
    border-color: rgba(248, 177, 46, 0.68);
    color: #f8b12e;
  }
}

@media (max-width: 991px) {
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .faq-guide {
    position: static;
  }
}

@media (max-width: 575px) {
  .faq-guide {
    padding: 21px 17px;
    border-radius: 17px;
  }

  .faq-guide h3 {
    font-size: clamp(1.25rem, 6vw, 1.5rem);
  }

  .faq-modern .faq-item {
    border-radius: 15px;
  }

  .faq-question {
    grid-template-columns: 28px minmax(0, 1fr) 36px;
    gap: 9px;
    padding: 16px 12px 16px 16px;
  }

  .faq-question-text {
    font-size: 0.88rem;
    line-height: 1.48;
  }

  .faq-control {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .faq-answer p {
    padding: 0 16px 17px 53px;
    font-size: 0.82rem;
    line-height: 1.65;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-modern .faq-item,
  .faq-control,
  .faq-answer,
  .faq-contact-card a i {
    transition: none !important;
  }
}
