.faq-page {
  background: #f5f5f5;
}
.faq-hero {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 20px 56px;
  background: radial-gradient(ellipse 120% 80% at 70% 40%, rgba(60, 80, 110, 0.45) 0%, transparent 55%),
    linear-gradient(115deg, rgba(12, 16, 24, 0.97) 0%, rgba(28, 36, 52, 0.95) 45%, rgba(18, 22, 30, 0.98) 100%);
}
.faq-hero-inner {
  max-width: 900px;
}
.faq-hero-title {
  margin: 0;
  font-size: clamp(26px, 4.5vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}
.faq-hero-accent {
  display: block;
  color: #f79414;
  margin-bottom: 6px;
}
.faq-hero-line {
  display: block;
  width: 48px;
  height: 3px;
  background: #f79414;
  margin: 0 auto 14px;
}
.faq-hero-rest {
  display: block;
  color: #fff;
}
.faq-hero-blocks {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.faq-hero-blocks span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 48px;
  background: linear-gradient(180deg, #c58a5a 0%, #8b5a3c 100%);
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}
.faq-breadcrumb {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px 0;
  font-size: 14px;
  color: #888;
}
.faq-breadcrumb a {
  color: #888;
  text-decoration: none;
}
.faq-breadcrumb a:hover {
  color: #f79414;
}
.faq-breadcrumb-sep {
  margin: 0 8px;
  color: #ccc;
}
.faq-h1 {
  text-align: center;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: #111;
  margin: 28px auto 32px;
  padding: 0 20px;
  max-width: 960px;
}
.faq-layout {
  max-width: 1200px;
  margin: 0 auto 48px;
  padding: 0 24px 40px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  align-items: start;
}
@media (max-width: 820px) {
  .faq-layout {
    grid-template-columns: 1fr;
  }
}
.faq-cats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-cats button {
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  background: #faf6f0;
  color: #333;
  transition: background 0.2s, color 0.2s;
}
.faq-cats button:hover {
  background: #fff5eb;
  color: #f79414;
}
.faq-cats button.is-active {
  background: #f79414;
  color: #fff;
}
.faq-panels {
  min-height: 200px;
}
.faq-panel {
  display: none;
}
.faq-panel.is-visible {
  display: block;
}
.faq-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 12px;
  background: #fff;
  overflow: hidden;
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
}
.faq-q::-webkit-details-marker {
  display: none;
}
.faq-q h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #111;
  line-height: 1.45;
  flex: 1;
}
.faq-item.is-open .faq-q h3 {
  color: #f79414;
}
.faq-toggle {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  border: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 300;
  color: #666;
  line-height: 1;
}
.faq-item.is-open .faq-toggle {
  border-color: #f79414;
  color: #f79414;
}
.faq-a {
  display: none;
  padding: 0 18px 18px;
  font-size: 15px;
  line-height: 1.65;
  color: #444;
}
.faq-item.is-open .faq-a {
  display: block;
}
.faq-a a {
  color: #1565c0;
  text-decoration: underline;
}
.faq-a strong {
  color: #222;
}
.faq-cta {
  margin-top: 48px;
  text-align: center;
  padding: 100px 24px;
  background: url("https://sunraysolartech.com/template/default/images/serbg.jpg") center/cover no-repeat;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.faq-cta h2 {
  margin: 0 0 24px;
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800;
  color: #f79414;
  line-height: 1.2;
  max-width: 800px;
}
.faq-cta .faq-cta-btn {
  display: inline-block;
  padding: 14px 36px;
  background: #f79414;
  color: #fff !important;
  font-weight: 700;
  font-size: 15px;
  border-radius: 8px;
  text-decoration: none;
  letter-spacing: 0.04em;
}
.faq-cta .faq-cta-btn:hover {
  filter: brightness(1.05);
}
