/* =========================
   FAQ (light section)
   ========================= */

.faq {
  padding: 84px 0;
  background: #faf9f6; /* meleg törtfehér */
  color: #0b0b0b;
}

.faq .container {
  max-width: 1100px;
}

.faq-head {
  max-width: 780px;
  margin: 0 auto 28px;
  text-align: center;
}

.faq-title {
  margin: 0 0 10px;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.faq-subtitle {
  margin: 0 auto;
  color: rgba(0, 0, 0, 0.68);
  max-width: 62ch;
}

.faq-divider {
  width: min(180px, 55%);
  height: 2px;
  margin: 16px auto 0;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    rgba(214, 181, 106, 0),
    rgba(214, 181, 106, 0.9),
    rgba(214, 181, 106, 0)
  );
  opacity: 0.95;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 26px;
}

@media (min-width: 980px) {
  .faq-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

/* Accordion item */
.faq-item {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.12);
  border-color: rgba(214, 181, 106, 0.35);
}

.faq-q {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 16px 16px;
  display: grid;
  grid-template-columns: 1fr 34px;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.faq-q-text {
  font-weight: 750;
  color: #0b0b0b;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.faq-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: rgba(0, 0, 0, 0.7);
  background: rgba(0, 0, 0, 0.02);
  transition: transform 0.22s ease, border-color 0.22s ease,
    background-color 0.22s ease, color 0.22s ease;
}

.faq-item.is-open .faq-icon {
  color: rgba(214, 181, 106, 0.95);
  border-color: rgba(214, 181, 106, 0.55);
  background: rgba(214, 181, 106, 0.1);
  transform: rotate(0deg);
}

/* Answer */
.faq-a {
  padding: 0 16px 16px;
  color: rgba(0, 0, 0, 0.72);
  line-height: 1.5;
}

.faq-a[hidden] {
  display: none !important;
}

/* CTA */
.faq-foot {
  margin-top: 26px;
  text-align: center;
}

.faq-foot-note {
  margin: 0 0 10px;
  color: rgba(0, 0, 0, 0.68);
}

.faq-foot a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  text-decoration: none;
  color: #0b0b0b;
  background: #ffffff;
  border: 1px solid rgba(214, 181, 106, 0.45);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.faq-foot a:hover {
  transform: translateY(-2px);
  border-color: rgba(214, 181, 106, 0.75);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.14);
}

/* FAQ WhatsApp icon CTA – force override */
.faq-foot .faq-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 64px;
  height: 64px;
  border-radius: 999px;

  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;

  transition: transform 0.2s ease;
}

.faq-foot .faq-whatsapp:hover {
  transform: translateY(-2px);
}

.faq-foot .faq-whatsapp-icon {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: contain;

  /* WhatsApp zöld “tint” (ha a svg fekete/egyszínű) */
  filter: invert(48%) sepia(92%) saturate(353%) hue-rotate(86deg)
    brightness(96%) contrast(92%);
}

/* =========================
   FAQ – BACKGROUND IMAGE
   ========================= */

.faq {
  position: relative;
  background-image: url("../assets/images/faq/finchi_contact_bg_desktop.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 1024px) {
  .faq {
    background-image: url("../assets/images/faq/finchi_contact_bg_tablet.webp");
  }
}

@media (max-width: 640px) {
  .faq {
    background-image: url("../assets/images/faq/finchi_contact_bg_mobile.webp");
  }
}

/* a tartalom a háttér fölé kerüljön */
.faq > .container {
  position: relative;
  z-index: 1;
}

.faq::before {
  background: rgba(255, 255, 255, 0.88);
}

/* =========================
   FAQ – background (responsive) + premium overlay
   ========================= */

.faq{
  background-image: url("../assets/images/faq/finchi_contact_bg_desktop.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 1024px){
  .faq{
    background-image: url("../assets/images/faq/finchi_contact_bg_tablet.webp");
  }
}

@media (max-width: 640px){
  .faq{
    background-image: url("../assets/images/faq/finchi_contact_bg_mobile.webp");
  }
}

/* overlay tuned: keep image present, still readable */
.faq::before{
  background: rgba(250, 248, 243, 0.68);
}

@media (max-width: 640px){
  .faq::before{
    background: rgba(250, 248, 243, 0.74);
  }
}

/* gentle bottom fade into the darker Blog section (no hard cut) */
.faq::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height: 64px;
  pointer-events:none;
  background: linear-gradient(180deg, rgba(250,248,243,0), rgba(10,10,10,.55));
  z-index: 0;
}
