/* FAQ Section – Apple Glass
********************************************************************* */

.sec-faq{
  position: relative;
  background: #fff;
  padding: 4.5em 0;
  overflow: hidden;
  isolation: isolate;
}



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

/* Headings – sjednocené s ostatními sekcemi */
.sec-faq .section-label{
  color: #6f6f6f;
  margin: 0 0 .6rem 0;
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.sec-faq .section-label::before{
  content:"";
  width: 34px;
  height: 2px;
  background: linear-gradient(to left, #42688E, #3D8BD6);
}

.sec-faq h2{
  margin: 0 0 1.25rem 0;
  font-weight: 800;
  color: #232223;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.faq-list{
  margin-top: 2rem;
  display: grid;
  gap: .9rem;
}

/* jedna glass karta = celý item */
.faq-item{
  border-radius: 22px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
}

/* tlačítko header (question row) */
.sec-faq .flex{
  width: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;

  display: flex;
  align-items: center;
  gap: .85rem;

  padding: 1.05rem 1.05rem;
  text-align: left;

  color: #232223;
  font-weight: 800;
  font-size: 18px;
}

/* focus */
.sec-faq .flex:focus-visible{
  outline: 2px solid rgba(61,139,214,.55);
  outline-offset: 4px;
  border-radius: 18px;
}

/* ikonka vlevo – pill */
.faq-ic{
  display:inline-flex;
  width: 40px;
  height: 40px;
  align-items:center;
  justify-content:center;
  border-radius: 14px;
  background: rgba(61,139,214,0.10);
  border: 1px solid rgba(0,0,0,0.05);
  flex: 0 0 auto;
}

.faq-ic i{
  color:#3D8BD6;
  font-size: 18px;
}

/* text + chevron vpravo */
.sec-faq .between{
  width: 100%;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 1rem;
}

.sec-faq .q{
  display:inline-block;
  color:#232223;
  letter-spacing: -0.01em;
}

/* chevron – jemný */
.sec-faq .chev{
  display:inline-flex;
  width: 34px;
  height: 34px;
  align-items:center;
  justify-content:center;
  border-radius: 12px;
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.06);
  color: rgba(35,34,35,.60);
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}

.sec-faq .chev i{
  font-size: 14px;
}

/* hover – Apple jemnost */
@media (hover:hover){
  .faq-item:hover .flex{
    color:#232223;
  }
  .faq-item:hover .chev{
    background: rgba(0,0,0,0.06);
    color: rgba(35,34,35,.72);
  }
}

/* obsah – animace přes max-height (ne display none) */
.sec-faq .expand{
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-4px);
  transition: max-height .28s ease, opacity .22s ease, transform .22s ease;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.sec-faq .expand p{
  margin: 0;
  padding: 1rem 1.05rem 1.15rem 1.05rem;
  color: rgba(35,34,35,.78);
  font-weight: 600;
  line-height: 1.65;
}

/* otevřený stav */
.faq-item.active .expand{
  max-height: 260px; /* když bude odpověď delší, zvedni třeba na 420px */
  opacity: 1;
  transform: translateY(0);
}

.faq-item.active .chev{
  transform: rotate(90deg);
  color:#3D8BD6;
  background: rgba(61,139,214,0.10);
  border-color: rgba(61,139,214,0.18);
}

/* responsive drobnosti */
@media (min-width: 992px){
  .faq-list{ gap: 1rem; }
  .sec-faq .flex{ padding: 1.15rem 1.2rem; }
  .sec-faq .expand p{ padding: 1.05rem 1.2rem 1.25rem 1.2rem; }
}