/* Prevent side-scroll */
body[data-page="faq"],
body[data-page="faq"] .faq-page{
  overflow-x: clip;
}

body[data-page="faq"] .faq-section{
  overflow-x: visible;
}

/* ============================= */
/* SECTION LAYOUT                */
/* ============================= */
.faq-section{
  min-height: auto;
  box-sizing: border-box;
  padding: 110px 24px 18px 24px;
  display: grid;
  gap: 12px;
  justify-items: center;
  align-content: start;
}

@media (max-width: 520px){
  .faq-section{
    padding: 78px 20px 18px 20px;
  }
}

#section-2,
#section-3,
#section-4,
#section-5{
  padding-top: 28px;
}

@media (max-width: 520px){
  #section-2,
  #section-3,
  #section-4,
  #section-5{
    padding-top: 20px;
  }
}

/* ============================= */
/* HERO / TEXT                   */
/* ============================= */
.faq-hero{
  width: 100%;
  text-align: center;
}

.faq-title,
.faq-text{
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 920px;
}

.faq-text{
  font-family: "Montserrat", sans-serif;
  font-size: clamp(16px, 4vw, 20px);
  line-height: 1.55;
  margin: 0 0 4px;
  color: rgba(255,255,255,0.85);
}

/* ============================= */
/* KICKER / SCAN BAND            */
/* ============================= */
.faq-kicker{
  font-family: "Cormorant SC", serif;
  color: #ffffff;
  margin-bottom: 6px;
  text-align: center;
}

.faq-line-small{
  display: block;
  font-size: 1.3em;
  letter-spacing: 0.1em;
}

.faq-line-big{
  display: block;
  font-size: 3em;
  letter-spacing: 0.12em;
}

.faq-line-mid{
  display: block;
  font-size: 2em;
  letter-spacing: 0.11em;
}

@keyframes faqScanBand{
  0%{ background-position: 200% 0; }
  100%{ background-position: 0% 0; }
}

.faq-kicker .faq-line-small,
.faq-kicker .faq-line-big,
.faq-kicker .faq-line-mid{
  position: relative;
  display: block;
}

.faq-kicker .faq-line-small::after,
.faq-kicker .faq-line-big::after,
.faq-kicker .faq-line-mid::after{
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(0,255,255,0) 0%,
    rgba(0,255,255,0) 42%,
    rgba(0,255,255,1) 48%,
    rgba(255,0,255,1) 52%,
    rgba(255,0,255,0) 58%,
    rgba(255,0,255,0) 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: faqScanBand 2.2s linear infinite;
}

/* ============================= */
/* VIDEO                         */
/* ============================= */
.faq-video{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.faq-video-shell{
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.28);
  backdrop-filter: blur(10px);
  aspect-ratio: 120 / 163;
  width: min(92vw, 320px);
  max-height: calc(100svh - 260px);
}

.faq-player{
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
  display: block;
}

@media (max-width: 520px){
  .faq-video-shell{
    width: min(92vw, 300px);
    max-height: calc(100svh - 240px);
  }
}

/* ============================= */
/* ACCORDION                     */
/* ============================= */
.faq-accordion{
  width: 100%;
  max-width: 920px;
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.faq-acc-item{
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.28);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.faq-acc-item::before{
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 18px;
  padding: 1px;
  background: linear-gradient(
    90deg,
    rgba(0,255,255,0.95),
    rgba(255,0,255,0.95)
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.55;
  filter: blur(0px);
  animation: faqGlowBreath 3.2s ease-in-out infinite;
}

@keyframes faqGlowBreath{
  0%,100%{ opacity: 0.45; filter: blur(0px); }
  50%{ opacity: 0.95; filter: blur(0.6px); }
}

.faq-acc-btn{
  width: 100%;
  min-height: 64px;
  padding: 16px 54px 16px 18px;
  display: block;
  cursor: pointer;
  user-select: none;
  background: transparent;
  border: 0;
  text-align: left;
  color: rgba(255,255,255,0.92);
  font-family: "Montserrat", sans-serif;
  position: relative;
  z-index: 1;
}

.faq-acc-title{
  display: block;
  font-size: clamp(16px, 3.8vw, 19px);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(255,255,255,0.92);
}

.faq-acc-btn:hover{
  transform: translateY(-1px);
}

.faq-acc-btn:focus-visible{
  outline: 2px solid rgba(0,255,255,0.7);
  outline-offset: 3px;
}

.faq-acc-panel{
  position: relative;
  z-index: 1;
  padding: 0 18px 0;
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  overflow: hidden;
  transition:
    max-height 520ms cubic-bezier(.2,.8,.2,1),
    opacity 380ms ease,
    transform 520ms cubic-bezier(.2,.8,.2,1),
    padding 520ms cubic-bezier(.2,.8,.2,1);
}

.faq-acc-item.is-open .faq-acc-panel{
  opacity: 1;
  transform: translateY(0);
  max-height: 1200px;
  padding: 0 18px 16px;
}

.faq-acc-panel .faq-text{
  max-width: none;
  text-align: left;
  margin: 0 0 10px;
}

.faq-list{
  margin: 0 0 10px 18px;
  padding: 0;
  color: rgba(255,255,255,0.85);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(16px, 4vw, 20px);
  line-height: 1.55;
}

.faq-list li{
  margin-bottom: 6px;
}

.faq-acc-btn::after{
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 2px solid transparent;
  border-bottom: 2px solid transparent;
  background: linear-gradient(
    90deg,
    rgba(0,255,255,1),
    rgba(255,0,255,1)
  );
  background-size: 200% 100%;
  animation: faqDotGlowShift 2.8s ease-in-out infinite;
  -webkit-mask:
    linear-gradient(#000 0 0) padding-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transform: translateY(-50%) rotate(45deg);
  transition:
    transform 420ms cubic-bezier(.2,.8,.2,1),
    box-shadow 300ms ease;
  opacity: 0.9;
  box-shadow:
    0 0 4px rgba(0,255,255,0.35),
    0 0 6px rgba(255,0,255,0.25);
}

.faq-acc-item.is-open .faq-acc-btn::after{
  transform: translateY(-50%) rotate(-135deg);
  box-shadow:
    0 0 8px rgba(0,255,255,0.9),
    0 0 14px rgba(255,0,255,0.8),
    0 0 20px rgba(0,255,255,0.5);
}

@keyframes faqDotGlowShift{
  0%,100%{ background-position: 0% 0%; }
  50%{ background-position: 100% 0%; }
}

@media (max-width: 520px){
  .faq-acc-btn{
    min-height: 60px;
    padding: 14px 48px 14px 14px;
  }

  .faq-acc-panel{
    padding: 0 14px 0;
  }

  .faq-acc-item.is-open .faq-acc-panel{
    padding: 0 14px 14px;
  }
}

/* ============================= */
/* CTA                           */
/* ============================= */
.faq-contact-section{
  padding-bottom: 54px;
}

.faq-cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.95);
  text-decoration: none;
  position: relative;
  isolation: isolate;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.28);
  backdrop-filter: blur(10px);
  transition: transform 180ms ease, box-shadow 220ms ease, color 220ms ease;
}

.faq-cta::before{
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 999px;
  padding: 1px;
  background: linear-gradient(
    90deg,
    rgba(0,255,255,0.95),
    rgba(255,0,255,0.95)
  );
  background-size: 200% 100%;
  animation: faqDotGlowShift 2.8s ease-in-out infinite;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.75;
  pointer-events: none;
  z-index: -1;
}

.faq-cta:hover{
  transform: translateY(-1px);
  box-shadow:
    0 0 14px rgba(0,255,255,0.20),
    0 0 20px rgba(255,0,255,0.14);
  color: #ffffff;
}

.faq-cta:active{
  transform: translateY(0px);
}

.faq-cta:focus-visible{
  outline: 2px solid rgba(0,255,255,0.75);
  outline-offset: 4px;
}
