/* FAQ page, matched to faq-sample.html. Scoped under .fq-page. */
.fq-page {
  width: 100%;
  color: #1f2430;
  text-align: right;
  font-family: "dana", "iransans", Tahoma, sans-serif;
  font-size: 14px;
  line-height: 1.7;
  padding-bottom: 28px;
  overflow-x: clip;
}

.fq-page *,
.fq-page *::before,
.fq-page *::after { box-sizing: border-box; }

.fq-page h1,
.fq-page h2,
.fq-page h3,
.fq-page p { margin: 0; font-family: inherit; color: inherit; }

.fq-page a { color: inherit; text-decoration: none; }
.fq-page button { font-family: inherit; }

.fq-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

.fq-crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 18px 0;
  font-size: 12.5px;
  color: #6b7280;
}
.fq-crumb a { color: #6b7280; }
.fq-crumb a:hover { color: #2563eb; }
.fq-crumb .fq-sep { color: #c0c4cc; font-size: 10px; }
.fq-crumb .fq-current { color: #0f172a; font-weight: 700; }

.fq-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #1e40af 100%);
  border-radius: 24px;
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(15, 23, 42, .35);
  margin-bottom: 26px;
  color: #fff;
  text-align: center;
}
.fq-hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, .3), transparent 70%);
  pointer-events: none;
}
.fq-hero::after {
  content: "";
  position: absolute;
  bottom: -140px;
  left: -100px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, .35), transparent 70%);
  pointer-events: none;
}
.fq-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, .2);
  border: 1px solid rgba(245, 158, 11, .4);
  color: #fcd34d;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 99px;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}
.fq-hero h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -1px;
  line-height: 1.4;
  background: linear-gradient(90deg, #fff, #fcd34d);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  position: relative;
  z-index: 2;
}
.fq-hero p {
  color: #cbd5e1;
  font-size: 14.5px;
  line-height: 1.9;
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.fq-cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}
.fq-cat {
  background: #fff;
  border: 1px solid #eef0f4;
  border-radius: 16px;
  padding: 20px 14px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .04), 0 1px 2px rgba(0, 0, 0, .03);
  transition: .3s cubic-bezier(.34, 1.56, .64, 1);
  cursor: pointer;
  width: 100%;
}
.fq-cat:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(37, 99, 235, .12);
  border-color: transparent;
}
.fq-cat .fq-ic {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  font-size: 24px;
  color: #fff;
  transition: .3s;
}
.fq-cat:hover .fq-ic { transform: scale(1.08) rotate(-5deg); }
.fq-ic.is-blue { background: linear-gradient(135deg, #2563eb, #1d4ed8); box-shadow: 0 8px 20px rgba(37, 99, 235, .3); }
.fq-ic.is-green { background: linear-gradient(135deg, #25d366, #128c7e); box-shadow: 0 8px 20px rgba(37, 211, 102, .3); }
.fq-ic.is-gold { background: linear-gradient(135deg, #f59e0b, #d97706); box-shadow: 0 8px 20px rgba(245, 158, 11, .3); }
.fq-ic.is-purple { background: linear-gradient(135deg, #8b5cf6, #7c3aed); box-shadow: 0 8px 20px rgba(139, 92, 246, .3); }
.fq-cat strong { display: block; font-size: 13px; font-weight: 800; color: #0f172a; margin-bottom: 2px; }
.fq-cat span { font-size: 11px; color: #6b7280; }

.fq-box {
  background: #fff;
  border: 1px solid #eef0f4;
  border-radius: 22px;
  padding: 32px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .04), 0 1px 2px rgba(0, 0, 0, .03);
  margin-bottom: 24px;
}
.fq-box h2 {
  font-size: 23px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 20px;
  letter-spacing: -.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.fq-box h2::before {
  content: "";
  width: 5px;
  height: 24px;
  border-radius: 3px;
  background: linear-gradient(180deg, #2563eb, #f59e0b);
  flex-shrink: 0;
}
.fq-empty { font-size: 14px; color: #6b7280; }

.fq-item {
  border: 1px solid #eef0f4;
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: .2s;
  background: #fff;
}
.fq-item:hover { border-color: rgba(37, 99, 235, .3); box-shadow: 0 4px 14px rgba(37, 99, 235, .06); }
.fq-q {
  width: 100%;
  padding: 16px 20px;
  background: #fff;
  border: 0;
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  text-align: right;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  transition: .2s;
}
.fq-q:hover { background: #f8fafc; }
.fq-q .fq-arr {
  font-size: 14px;
  color: #2563eb;
  transition: .3s;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(37, 99, 235, .1);
  display: grid;
  place-items: center;
}
.fq-item.is-open .fq-arr { transform: rotate(180deg); background: #2563eb; color: #fff; }
.fq-item.is-open .fq-q { background: rgba(37, 99, 235, .04); color: #2563eb; }
.fq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; background: #f8fafc; }
.fq-a p {
  padding: 16px 20px;
  font-size: 13px;
  color: #4b5563;
  line-height: 1.9;
  border-top: 1px solid #eef0f4;
  white-space: pre-line;
}
.fq-item.is-open .fq-a { max-height: 800px; }

.fq-help {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #1e40af 100%);
  border-radius: 24px;
  padding: 38px 32px;
  box-shadow: 0 20px 55px rgba(15, 23, 42, .4);
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.fq-help::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, .3), transparent 70%);
  pointer-events: none;
}
.fq-help::after {
  content: "";
  position: absolute;
  bottom: -140px;
  left: -100px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, .35), transparent 70%);
  pointer-events: none;
}
.fq-help-copy { position: relative; z-index: 2; flex: 1; min-width: 240px; }
.fq-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, .2);
  border: 1px solid rgba(245, 158, 11, .4);
  color: #fcd34d;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 99px;
  margin-bottom: 12px;
}
.fq-help h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.45;
  background: linear-gradient(90deg, #fff, #fcd34d);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.fq-help p { color: #cbd5e1; font-size: 13.5px; line-height: 1.9; }
.fq-help-actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 220px;
}
.fq-wa,
.fq-tel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  white-space: nowrap;
  transition: .25s;
}
.fq-wa {
  padding: 14px 26px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 10px 26px rgba(37, 211, 102, .45);
}
.fq-wa:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 16px 36px rgba(37, 211, 102, .6); }
.fq-tel {
  padding: 12px 22px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  border: 1.5px solid rgba(255, 255, 255, .3);
}
.fq-tel:hover { color: #fff; background: rgba(255, 255, 255, .2); border-color: #f59e0b; transform: translateY(-2px); }

@media (max-width: 980px) {
  .fq-cats { grid-template-columns: repeat(2, 1fr); }
  .fq-hero h1 { font-size: 28px; }
  .fq-help { flex-direction: column; text-align: center; padding: 30px 24px; }
  .fq-help-copy { min-width: 0; }
  .fq-help-actions { width: 100%; flex-direction: row; }
  .fq-wa,
  .fq-tel { flex: 1; min-width: 140px; }
}

@media (max-width: 640px) {
  .fq-hero { padding: 32px 20px; border-radius: 18px; }
  .fq-hero h1 { font-size: 24px; }
  .fq-cats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .fq-cat { padding: 16px 10px; }
  .fq-cat .fq-ic { width: 46px; height: 46px; font-size: 20px; }
  .fq-box { padding: 22px 16px; border-radius: 16px; }
  .fq-box h2 { font-size: 18px; }
  .fq-q { padding: 14px 16px; font-size: 12.5px; }
  .fq-a p { padding: 14px 16px; font-size: 12px; }
  .fq-help { padding: 26px 18px; border-radius: 18px; }
  .fq-help h3 { font-size: 20px; }
  .fq-help-actions { flex-direction: column; }
}
