:root {
  --faq-navy: #071732;
  --faq-yellow: #e7b750;
  --faq-yellow-soft: #f8edd0;
  --faq-bg-soft: #f8f9fb;
  --faq-text: #334155;
  --faq-shadow: 0 15px 38px rgba(7, 23, 50, 0.14);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  color: var(--faq-text);
  line-height: 1.7;
  background-color: #ffffff;
  font-size: 16px;
}

/* ================================
   BANNER
================================ */
.header_container {
  position: relative;
  width: 100%;
  min-height: 460px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--faq-navy);
}

.header_container::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(231, 183, 80, 0.45) 0%,
    rgba(247, 197, 101, 0.35) 100%
  );
  z-index: 1;
}

.header_container::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 70px;
  background: #fff;
  clip-path: ellipse(55% 100% at 50% 100%);
  z-index: 1;
}

.header_container img.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.36;
}

.page_title {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 24px 26px;
  backdrop-filter: blur(2px);
  animation: bannerPanUp 0.72s ease both;
}

.page-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 1.1rem;
  padding: 0.32rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
}

.page_title h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: #f8f9fa;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0;
}

.page_title h1 span {
  color: var(--faq-yellow);
  font-weight: 700;
}

.page-subtext {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 500px;
  margin: 1rem auto 0;
  line-height: 1.6;
}

@keyframes bannerPanUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================================
   CONTENT
================================ */
.container_faqs {
  background-color: #ffffff;
  margin: 0;
  padding: 80px 20px 100px;
  color: #333;
}

.faq_content {
  max-width: 900px;
  margin: 0 auto;
}

/* FAQ Container */
.faq_container {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(7, 23, 50, 0.12);
  overflow: hidden;
}

/* FAQ Item */
.faq_item {
  padding: 28px 32px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.3s ease;
  position: relative;
}

.faq_item:last-child {
  border-bottom: none;
}

.faq_item:hover {
  background-color: #fafbfc;
}

.faq_item:hover .faq_head h2 {
  color: var(--faq-yellow);
}

.faq_head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.faq_item h2 {
  font-size: 1.05rem;
  margin: 0;
  line-height: 1.6;
  color: var(--faq-navy);
  transition: color 0.3s ease;
  font-weight: 600;
  flex: 1;
}

.faq_item i {
  font-size: 1rem;
  color: #ffffff;
  transition: all 0.3s ease;
  width: 32px;
  height: 32px;
  min-width: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--faq-yellow);
  border-radius: 50%;
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Answer */
.faq_item p {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  color: #556575;
  line-height: 1.8;
  font-size: 0.95rem;
  padding-left: 0;
}

.faq_item.active {
  background-color: #fcfdfe;
}

/* Accordion - Answer */
.faq_item.active p {
  max-height: 600px;
  opacity: 1;
  margin-top: 20px;
  padding-left: 0;
}

/* Icon Animation */
.faq_item.active i {
  transform: rotate(180deg);
  background-color: var(--faq-navy);
  color: var(--faq-yellow);
}

.faq_item.active h2 {
  color: var(--faq-navy);
}

/* Responsive */
@media (max-width: 768px) {
  .page_title h1 {
    font-size: clamp(1.5rem, 4vw, 2.4rem);
  }

  .page-subtext {
    font-size: 14px;
  }

  .faq_item {
    padding: 20px 22px;
  }

  .faq_head {
    gap: 16px;
  }

  .faq_item h2 {
    font-size: 0.95rem;
  }

  .faq_item i {
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
  }
}
