﻿/* ============================================================
   FAQ PAGE STYLES
   ============================================================ */

/* ===== HERO ===== */
.faq-hero {
  position: relative;
  padding: 130px 0 80px;
  overflow: hidden;
  background: #0d1117;
}
.fh-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: .2;
  transform: scale(1.05);
}
.faq-hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201,169,97,.15), transparent 60%),
    linear-gradient(180deg, rgba(13,17,23,.9), rgba(13,17,23,.75));
}
.fh-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  color: #fff;
}
.fh-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 999px;
  background: rgba(201,169,97,.14);
  border: 1px solid rgba(201,169,97,.45);
  color: #e8d5a0;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
}
.fh-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 0 0 18px;
}
.fh-content h1 em {
  font-style: italic;
  font-weight: 500;
  color: #e8d5a0;
}
.fh-content > p {
  font-size: 16.5px;
  line-height: 1.7;
  color: rgba(255,255,255,.72);
  max-width: 620px;
  margin: 0 auto 34px;
}

/* Search */
.fh-search {
  position: relative;
  max-width: 520px;
  margin: 0 auto 26px;
}
.fh-search i {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #c9a961;
  font-size: 15px;
}
.fh-search input {
  width: 100%;
  padding: 18px 22px 18px 52px;
  border: 1.5px solid rgba(201,169,97,.35);
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  color: #fff;
  font-size: 15px;
  font-family: inherit;
  backdrop-filter: blur(10px);
  transition: all .22s ease;
  box-sizing: border-box;
}
.fh-search input::placeholder { color: rgba(255,255,255,.5); }
.fh-search input:focus {
  outline: none;
  border-color: #c9a961;
  background: rgba(255,255,255,.1);
  box-shadow: 0 0 0 4px rgba(201,169,97,.15);
}

/* Category filters */
.fh-cats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.fh-cat {
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.75);
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all .22s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.fh-cat i { font-size: 11.5px; }
.fh-cat:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(201,169,97,.5);
  color: #fff;
}
.fh-cat.active {
  background: linear-gradient(135deg, #c9a961, #b08f42);
  border-color: #c9a961;
  color: #fff;
  box-shadow: 0 6px 18px rgba(201,169,97,.35);
}

/* ===== FAQ SECTION ===== */
.faq-section {
  padding: 70px 0 80px;
  background: #f6f7f9;
  background-image:
    radial-gradient(circle at 0% 0%, rgba(201,169,97,.05), transparent 40%),
    radial-gradient(circle at 100% 100%, rgba(201,169,97,.05), transparent 40%);
}
.faq-wrap {
  max-width: 860px;
  margin: 0 auto;
}

/* Item */
.faq-item {
  background: #fff;
  border: 1.5px solid #eef0f3;
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: all .28s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item:hover {
  border-color: rgba(201,169,97,.35);
  box-shadow: 0 8px 24px -8px rgba(201,169,97,.15);
}
.faq-item.open {
  border-color: #c9a961;
  box-shadow: 0 12px 32px -8px rgba(201,169,97,.25);
}

.faq-q {
  width: 100%;
  padding: 22px 26px;
  background: transparent;
  border: none;
  text-align: left;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: #0d1117;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  letter-spacing: .1px;
  line-height: 1.4;
  transition: color .22s ease;
}
.faq-q:hover { color: #b08f42; }
.faq-q span { flex: 1; }
.faq-q i {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #f6f7f9;
  border: 1.5px solid #e5e7eb;
  color: #c9a961;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.open .faq-q {
  color: #b08f42;
  padding-bottom: 14px;
}
.faq-item.open .faq-q i {
  transform: rotate(45deg);
  background: linear-gradient(135deg, #c9a961, #b08f42);
  border-color: #c9a961;
  color: #fff;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.open .faq-a {
  max-height: 700px;
}
.faq-a > p,
.faq-a > ul,
.faq-a > ol {
  padding: 0 26px;
  color: #4b5563;
  font-size: 14.5px;
  line-height: 1.7;
  margin: 0 0 14px;
}
.faq-a > p:last-child,
.faq-a > ul:last-child,
.faq-a > ol:last-child {
  padding-bottom: 22px;
  margin-bottom: 0;
}
.faq-a ul, .faq-a ol {
  padding-left: 52px !important;
}
.faq-a ul li, .faq-a ol li {
  padding: 4px 0;
  line-height: 1.65;
}
.faq-a strong { color: #0d1117; font-weight: 700; }

/* Empty state */
.faq-empty {
  text-align: center;
  padding: 60px 20px;
  max-width: 400px;
  margin: 0 auto;
}
.faq-empty i {
  font-size: 42px;
  color: #c9a961;
  opacity: .5;
  margin-bottom: 16px;
}
.faq-empty h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: #0d1117;
  margin: 0 0 8px;
}
.faq-empty p {
  color: #6b7280;
  font-size: 14.5px;
  margin: 0 0 22px;
}
.faq-reset {
  padding: 12px 24px;
  background: linear-gradient(135deg, #c9a961, #b08f42);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all .25s ease;
  box-shadow: 0 6px 18px rgba(201,169,97,.35);
}
.faq-reset:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(201,169,97,.5);
}

/* ===== CTA ===== */
.faq-cta {
  padding: 70px 0 90px;
  background: #fff;
}
.faq-cta-card {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  padding: 54px 40px;
  border-radius: 22px;
  background: linear-gradient(135deg, #0d1117 0%, #1a2230 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(201,169,97,.2);
  box-shadow: 0 30px 70px -25px rgba(0,0,0,.4);
}
.faq-cta-card::before {
  content: "";
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(201,169,97,.25), transparent 65%);
  pointer-events: none;
}
.faq-cta-card > * { position: relative; z-index: 2; }
.faq-cta-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, #c9a961, #b08f42);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 26px;
  box-shadow: 0 12px 30px rgba(201,169,97,.5);
}
.faq-cta-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 700;
  margin: 0 0 14px;
  letter-spacing: -.02em;
}
.faq-cta-card p {
  font-size: 15.5px;
  color: rgba(255,255,255,.72);
  margin: 0 0 30px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}
.faq-cta-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.faq-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 15px 30px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all .25s ease;
  letter-spacing: .3px;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.faq-cta-primary {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  box-shadow: 0 8px 22px rgba(37,211,102,.35);
}
.faq-cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(37,211,102,.5);
}
.faq-cta-primary i { font-size: 17px; }
.faq-cta-ghost {
  background: rgba(255,255,255,.06);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.2);
  backdrop-filter: blur(10px);
}
.faq-cta-ghost:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.4);
  transform: translateY(-3px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .faq-hero { padding: 100px 0 60px; }
  .fh-content h1 { font-size: 34px; }
  .fh-content > p { font-size: 15px; }
  .fh-search input { padding: 16px 18px 16px 46px; font-size: 14px; }
  .fh-cats { gap: 6px; }
  .fh-cat { padding: 8px 14px; font-size: 12px; }

  .faq-section { padding: 50px 0 60px; }
  .faq-q { padding: 18px 20px; font-size: 15px; }
  .faq-q i { width: 28px; height: 28px; font-size: 11px; }
  .faq-a > p, .faq-a > ul, .faq-a > ol { padding: 0 20px; font-size: 14px; }
  .faq-a ul, .faq-a ol { padding-left: 40px !important; }

  .faq-cta { padding: 50px 0 70px; }
  .faq-cta-card { padding: 40px 24px; border-radius: 18px; }
  .faq-cta-card h2 { font-size: 24px; }
  .faq-cta-card p { font-size: 14.5px; }
  .faq-cta-actions { flex-direction: column; }
  .faq-cta-btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .fh-content h1 { font-size: 28px; }
  .faq-q { padding: 16px 16px; font-size: 14.5px; }
  .faq-q i { width: 26px; height: 26px; }
  .faq-a > p, .faq-a > ul, .faq-a > ol { padding: 0 16px; font-size: 13.5px; }
  .faq-a ul, .faq-a ol { padding-left: 32px !important; }
}