/* =========================================================
   FAQ
   File: /assets/css/contacts/contact_faq.css
   ========================================================= */

.gc-faq{
  background: var(--gc-dark-blue);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: var(--gc-white);
}

/* Force all text inside FAQ to white (override global p color) */
.gc-faq,
.gc-faq *{
  color: var(--gc-white) !important;
}

/* subtle background glow */
.gc-faq::before{
  content:"";
  position:absolute;
  inset:-30%;
  background:
    radial-gradient(closest-side at 20% 20%, rgba(0,145,235,.22), transparent 60%),
    radial-gradient(closest-side at 80% 50%, rgba(255,255,255,.12), transparent 60%);
  z-index: 0;
  pointer-events: none;
}

.gc-faq .container{
  position: relative;
  z-index: 1;
}

/* Header */
.gc-faq__head{
  max-width: 820px;
  margin: 0 auto var(--space-xl);
  text-align: center;
}

.gc-faq__title{
  margin: 0 0 var(--space-xs);
}

.gc-faq__subtitle{
  margin: 0 auto;
  max-width: 720px;
  opacity: .85;
}

/* List */
.gc-faq__wrap{
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  gap: var(--space-sm);
}

.gc-faq__item{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  box-shadow: 0 14px 28px rgba(0,0,0,.25);
  overflow: hidden;
}

.gc-faq__q{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
}

.gc-faq__q:focus-visible{
  outline: 3px solid rgba(0,145,235,.65);
  outline-offset: 3px;
  border-radius: 14px;
}

.gc-faq__qtext{
	font-size:18px;
  font-weight: 800;
}

.gc-faq__icon{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(0,145,235,.35);
  border: 1px solid rgba(0,145,235,.55);
  position: relative;
  flex-shrink: 0;
}

.gc-faq__icon::before,
.gc-faq__icon::after{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  background: #fff;
  transform: translate(-50%, -50%);
  border-radius: 2px;
}

.gc-faq__icon::before{
  width: 14px;
  height: 2px;
}

.gc-faq__icon::after{
  width: 2px;
  height: 14px;
  transition: opacity .2s ease, transform .2s ease;
}

/* Answer (accordion panel) */
.gc-faq__a{
  height: 0;
  overflow: hidden;
  transition: height .25s ease;
  will-change: height;
}

.gc-faq__aInner{
  padding: 0 var(--space-md) var(--space-md);
  border-top: 1px solid rgba(255,255,255,.15);
  opacity: .92;
}

.gc-faq__item.is-open{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.30);
}

.gc-faq__item.is-open .gc-faq__icon::after{
  opacity: 0;
  transform: translate(-50%, -50%) scaleY(.2);
}

@media (max-width: 640px){
  .gc-faq__head{
    margin-bottom: var(--space-lg);
  }

  .gc-faq__q{
    padding: var(--space-sm);
  }

  .gc-faq__aInner{
    padding: 0 var(--space-sm) var(--space-sm);
  }

  .gc-faq__icon{
    width: 34px;
    height: 34px;
  }
}
