:root {
  --faq-blue: #1d2940;
  --faq-blue-2: #243f98;
  --faq-green: #16d0c5;
  --faq-red: #f16462;
  --faq-bg: #f5f7fa;
  --faq-white: #ffffff;
  --faq-text: #111111;
  --faq-muted: #6b7280;
  --faq-border: #e5e7eb;
}

.bw-page-faq {
  background-color: var(--faq-bg);
  overflow-x: hidden;
}

.bw-page-faq .article-breadcrumb-hero::before {
  display: none;
}

.bw-page-faq .article-breadcrumb-hero {
  min-height: 360px;
  padding: 120px 0 70px;
  background-color: #333673;
  background-image:
    linear-gradient(
      90deg,
      rgba(29, 41, 64, 0.20),
      rgba(36, 63, 152, 0.10)
    ),
    url("../images/agenda/agenda-hero-bg-desktop.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  display: flex;
  align-items: center;
}

.faq-section {
  padding: 76px 0 100px;
  position: relative;
}

.faq-section::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url("../images/agenda/register-bg-desktop.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  opacity: 0.055;
  pointer-events: none;
}

.faq-container {
  width: min(100% - 40px, 1120px);
  margin: 0 auto;
}

.faq-intro {
  max-width: 860px;
  margin-bottom: 42px;
}

.faq-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 15px;
  border-radius: 999px;
  background: rgba(22, 208, 197, 0.12);
  color: #04766f;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 18px;
}

.faq-intro h2 {
  margin: 0 0 16px;
  color: var(--faq-text);
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.faq-intro p {
  margin: 0;
  color: var(--faq-muted);
  font-size: 18px;
  line-height: 1.8;
}

.faq-list {
  display: grid;
  gap: 18px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(229, 231, 235, 0.95);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(17, 24, 39, 0.06);
  backdrop-filter: blur(10px);
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 55px rgba(17, 24, 39, 0.09);
}

.faq-item.active {
  border-color: rgba(22, 208, 197, 0.65);
  box-shadow: 0 26px 65px rgba(22, 208, 197, 0.13);
}

.faq-question {
  width: 100%;
  min-height: 92px;
  border: none;
  background: transparent;
  padding: 22px 26px;
  display: grid;
  grid-template-columns: 56px 1fr 44px;
  align-items: center;
  gap: 20px;
  text-align: left;
  cursor: pointer;
}

.faq-number {
  width: 50px;
  height: 50px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--faq-green), var(--faq-red));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(241, 100, 98, 0.22);
}

.faq-question-text {
  color: var(--faq-text);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.25;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.faq-icon {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #f3f4f6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.3s ease,
    transform 0.3s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 3px;
  border-radius: 999px;
  background: var(--faq-blue);
  transition:
    transform 0.3s ease,
    background 0.3s ease;
}

.faq-icon::after {
  transform: rotate(90deg);
}

.faq-item.active .faq-icon {
  background: var(--faq-blue-2);
  transform: rotate(180deg);
}

.faq-item.active .faq-icon::before,
.faq-item.active .faq-icon::after {
  background: #ffffff;
}

.faq-item.active .faq-icon::after {
  transform: rotate(0deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease;
}

.faq-answer p {
  margin: 0;
  padding: 0 26px 28px 102px;
  color: #374151;
  font-size: 17px;
  line-height: 1.85;
}

.faq-cta {
  margin-top: 54px;
  padding: 34px;
  border-radius: 34px;
  background:
    radial-gradient(circle at top left, rgba(22, 208, 197, 0.34), transparent 35%),
    radial-gradient(circle at bottom right, rgba(241, 100, 98, 0.34), transparent 38%),
    linear-gradient(135deg, #1d2940, #243f98);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-shadow: 0 28px 70px rgba(17, 24, 39, 0.16);
}

.faq-cta h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.faq-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.65;
}

.faq-cta-btn {
  flex: 0 0 auto;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--faq-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    background 0.25s ease;
}

.faq-cta-btn:hover {
  transform: translateY(-2px);
  background: #f3f4f6;
}

@media (max-width: 991px) {
  .faq-question {
    grid-template-columns: 48px 1fr 40px;
    gap: 16px;
    padding: 20px;
  }

  .faq-number {
    width: 46px;
    height: 46px;
  }

  .faq-answer p {
    padding: 0 20px 26px 84px;
  }

  .faq-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 767px) {
  .bw-page-faq .article-breadcrumb-hero {
    min-height: 280px;
    padding: 96px 0 52px;
    background-image:
      linear-gradient(
        90deg,
        rgba(29, 41, 64, 0.30),
        rgba(36, 63, 152, 0.18)
      ),
      url("../images/agenda/agenda-hero-bg-mobile.png");
  }

  .faq-section {
    padding: 50px 0 70px;
  }

  .faq-section::before {
    background-image: url("../images/agenda/register-bg-mobile.png");
    opacity: 0.06;
  }

  .faq-container {
    width: min(100% - 28px, 100%);
  }

  .faq-question {
    grid-template-columns: 1fr 40px;
    gap: 14px;
  }

  .faq-number {
    display: none;
  }

  .faq-question-text {
    font-size: 18px;
  }

  .faq-answer p {
    padding: 0 20px 24px;
    font-size: 16px;
  }

  .faq-cta {
    padding: 26px 22px;
    border-radius: 26px;
  }
}