:root {
  --primary-color: #F2C14E; /* Main brand color */
  --secondary-color: #FFD36B; /* Auxiliary brand color */
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  --card-bg: #111111;
  --background-color: #0A0A0A; /* Body background from custom colors */
  --text-main-color: #FFF6D6;
  --border-color: #3A2A12;
  --glow-color: #FFD36B;
  --header-offset: 122px; /* Default desktop header height */
}

/* Base styles for the FAQ page, ensuring text contrast on dark background */
.page-faq {
  font-family: 'Arial', sans-serif;
  color: var(--text-main-color); /* Light text on dark background */
  background-color: var(--background-color); /* Dark background */
  line-height: 1.6;
}

/* Hero Section */
.page-faq__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset); /* Ensure content is not hidden by fixed header */
  padding-bottom: 60px;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--background-color); /* Ensure background is dark */
}

.page-faq__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
  margin-bottom: 30px;
}

.page-faq__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-faq__hero-content {
  max-width: 900px;
  padding: 0 20px;
  z-index: 1;
}

.page-faq__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
  font-weight: 700;
  color: var(--secondary-color); /* Use gold for prominence */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5); /* Subtle glow */
}

.page-faq__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--text-main-color);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq__cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping on small screens */
}

.page-faq__cta-group--inline {
  margin-top: 30px;
  margin-bottom: 20px;
}

.page-faq__cta-group--center {
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-faq__btn-primary,
.page-faq__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  min-width: 180px;
  box-sizing: border-box;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Allow text to wrap */
  max-width: 100%; /* Ensure responsiveness */
}

.page-faq__btn-primary {
  background: var(--button-gradient);
  color: #ffffff; /* White text on gold gradient */
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-faq__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6);
  opacity: 0.9;
}

.page-faq__btn-secondary {
  background: var(--card-bg); /* Dark background for secondary button */
  color: var(--secondary-color); /* Gold text */
  border: 2px solid var(--secondary-color);
  box-shadow: 0 2px 10px rgba(255, 211, 107, 0.2);
}

.page-faq__btn-secondary:hover {
  transform: translateY(-2px);
  background: var(--secondary-color);
  color: var(--card-bg);
  box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

/* Content Area */
.page-faq__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: var(--background-color);
}

.page-faq__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 30px;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

.page-faq__section-intro {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: var(--text-main-color);
}

/* FAQ List */
.page-faq__faq-list {
  display: grid;
  gap: 20px;
}