/* =========================
   FAQ PAGE
========================= */
.faq-page{ overflow-x: hidden; }

/* =========================
   FAQ BANNER (Same as About/Contact)
========================= */
.faq-banner{
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);

  display: flex;
  align-items: flex-end;

  min-height: clamp(320px, 70svh, 820px);
  padding: clamp(96px, 10svh, 160px) 0 clamp(44px, 6svh, 90px);
  padding-bottom: clamp(70px, 8svh, 120px);

  background-color: #0b0b0b;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  overflow: hidden;
}

.faq-banner::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.15) 0%,
    rgba(0,0,0,0.35) 45%,
    rgba(0,0,0,0.55) 100%
  );
  pointer-events:none;
  z-index: 1;
}

.faq-banner__inner{
  position: relative;
  width: 100%;
  max-width: 1100px;
  z-index: 2;
  padding-left: 18px;
  padding-right: 18px;
}

.faq-banner__title{
  margin: 0 0 12px;
  font-size: clamp(28px, 5vw, 66px);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.08;
  text-shadow: 0 12px 35px rgba(0,0,0,0.55);
}

.faq-banner__content{
  max-width: 720px;
  color: rgba(255,255,255,0.88);
  font-size: clamp(14px, 1.3vw, 16px);
  line-height: 1.85;
}
.faq-banner__content p{ margin: 0 0 10px; }
.faq-banner__content p:last-child{ margin-bottom: 0; }

@media (max-width: 768px){
  .faq-banner{
    min-height: clamp(300px, 60svh, 560px);
    padding: 110px 0 54px;
    background-position: center 22%;
    padding-bottom: 84px;
  }
  .faq-banner__title{ letter-spacing: 0.08em; }
}
@media (max-width: 480px){
  .faq-banner{
    min-height: 320px;
    padding: 100px 0 46px;
    background-position: center 18%;
    padding-bottom: 74px;
  }
}

/* =========================
   FAQ ACCORDION (Full width + COS vibe)
========================= */
.faq-accordion{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: #fff;
  padding: 66px 0 90px;
}

.faq-accordion__inner{
  max-width: 900px;
}

.faq-group{
  margin: 0 0 52px;
}
.faq-group:last-child{ margin-bottom: 0; }

.faq-group__titlewrap{
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: center;
  margin: 0 0 18px;
}

.faq-group__line{
  height: 1px;
  background: rgba(0,0,0,0.18);
}

.faq-group__title{
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #111;
}

/* List */
.faq-list{
  border-top: 1px solid rgba(0,0,0,0.12);
}

.faq-item{
  border-bottom: 1px solid rgba(0,0,0,0.12);
  padding: 0;
}

.faq-question{
  list-style: none;
  cursor: pointer;
  user-select: none;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  padding: 18px 6px;
  color: #111;

  transition: background .2s ease, transform .2s ease;
}

/* remove default marker */
.faq-question::-webkit-details-marker{ display:none; }
.faq-question::marker{ content: ""; }

.faq-question__text{
  font-size: 15px;
  line-height: 1.6;
}

/* plus icon */
.faq-icon{
  width: 22px;
  height: 22px;
  position: relative;
  flex: 0 0 22px;
  opacity: .85;
  transition: transform .25s ease, opacity .25s ease;
}

.faq-icon::before,
.faq-icon::after{
  content:"";
  position:absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 2px;
  background: #111;
  transform: translate(-50%,-50%);
}
.faq-icon::after{
  transform: translate(-50%,-50%) rotate(90deg);
}

/* Hover */
.faq-item:hover .faq-question{
  background: rgba(0,0,0,0.02);
}

/* Open state */
.faq-item[open] .faq-icon{
  transform: rotate(45deg); /* plus -> cross */
  opacity: 1;
}

/* Answer animation (smooth, no JS) */
.faq-answer{
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s ease;
}
.faq-item[open] .faq-answer{
  grid-template-rows: 1fr;
}

.faq-answer__inner{
  overflow: hidden;
  padding: 0 6px 18px;
  color: rgba(0,0,0,0.72);
  line-height: 1.9;

  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .25s ease, transform .25s ease;
}
.faq-item[open] .faq-answer__inner{
  opacity: 1;
  transform: translateY(0);
}

/* Answer typography */
.faq-answer__inner p{ margin: 0 0 10px; }
.faq-answer__inner p:last-child{ margin-bottom: 0; }
.faq-answer__inner a{
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,0.25);
}
.faq-answer__inner a:hover{
  border-bottom-color: rgba(0,0,0,0.6);
}

/* Small */
@media (max-width: 768px){
  .faq-accordion{ padding: 56px 0 72px; }
  .faq-accordion__inner{ max-width: 92%; }
  .faq-question{ padding: 16px 2px; }
}

/* remove these if using JS height animation */
.faq-answer{ display:grid; grid-template-rows:0fr; transition:grid-template-rows .35s ease; }
.faq-item[open] .faq-answer{ grid-template-rows:1fr; }

/* IMPORTANT for smooth JS animation */
details.faq-item > .faq-answer { display: block; }
details.faq-item:not([open]) > .faq-answer { display: block; }