/* ==========================================================================
   ROUNDY FAQ PAGE STYLE SHEET
   ========================================================================== */

/* Page Wrapper */
.faq-page-wrapper {
  background-color: transparent !important;
  color: #0A0A0A;
  font-family: 'Plus Jakarta Sans', sans-serif;
  padding-top: 0;
  min-height: 100vh;
  box-sizing: border-box;
}

.faq-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 48px;
  box-sizing: border-box;
}

/* 1. FAQ Hero Section */
.faq-hero-section {
  background-color: #F5F4EF;
  padding: 180px 0 60px 0;
}

.faq-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.faq-eyebrow {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #FF5A00;
  display: block;
  margin-bottom: 12px;
}

.faq-main-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #0A0A0A;
  margin: 0 0 20px 0;
}

.faq-subtitle {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.6;
  color: #555557;
  margin: 0;
}

/* 2. FAQ Content Section */
.faq-content-section {
  background-color: #FFFFFF;
  padding: 80px 0 140px 0;
  border-top: 1px solid rgba(10, 10, 10, 0.05);
  border-radius: 0 0 64px 64px;
  position: relative;
  z-index: 2;
}

.faq-category-block {
  margin-bottom: 64px;
}

.faq-category-block:last-child {
  margin-bottom: 0;
}

.faq-category-title {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
  color: #0A0A0A;
  margin: 0 0 28px 0;
  letter-spacing: -0.01em;
  border-bottom: 2px solid #F9B233;
  padding-bottom: 8px;
  width: fit-content;
}

/* Accordion Layout */
.faq-accordion {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(10, 10, 10, 0.08);
}

.accordion-item {
  border-bottom: 1px solid rgba(10, 10, 10, 0.08);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  background: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 700;
  color: #0A0A0A;
  text-align: left;
  transition: color 0.3s ease;
}

.accordion-trigger:hover {
  color: #FF5A00;
}

.accordion-trigger[aria-expanded="true"] {
  color: #FF5A00;
}

.accordion-icon {
  font-size: 22px;
  line-height: 1;
  font-weight: 400;
  transition: transform 0.3s ease;
  color: #0A0A0A;
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-content {
  padding: 0 0 24px 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.65;
  color: #555557;
}

.accordion-content p {
  margin: 0 0 16px 0;
}

.accordion-content p:last-child {
  margin: 0;
}

.accordion-content ul {
  margin: 0;
  padding-left: 20px;
}

.accordion-content li {
  margin-bottom: 8px;
}

.accordion-content li:last-child {
  margin-bottom: 0;
}

.accordion-content strong {
  color: #0A0A0A;
}

/* Custom Navbar Overrides for FAQ Page */
.faq-page-header.header-container {
  pointer-events: none;
}

.faq-page-header .navbar:not(.scrolled) {
  background-color: #F9B233 !important;
  border-bottom: 1px solid rgba(10, 10, 10, 0.08);
}

.faq-page-header .navbar:not(.scrolled) .nav-link {
  color: #0A0A0A !important;
  font-weight: 700;
}

.faq-page-header .navbar:not(.scrolled) .nav-link:hover,
.faq-page-header .navbar:not(.scrolled) .nav-link.active {
  color: #FF5A00 !important;
}

.faq-page-header .navbar:not(.scrolled) .brand-logo {
  filter: brightness(0) !important;
}

.faq-page-header .navbar:not(.scrolled) .brand-icon {
  filter: brightness(0) !important;
}

.faq-page-header .navbar:not(.scrolled) .nav-cta {
  background-color: #0A0A0A !important;
  color: #FFFFFF !important;
  border: 1px solid #0A0A0A !important;
}

.faq-page-header .navbar:not(.scrolled) .nav-cta:hover {
  background-color: #FF5A00 !important;
  border-color: #FF5A00 !important;
  color: #FFFFFF !important;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
  .faq-container {
    padding: 0 32px;
  }
  .faq-content-section {
    border-radius: 0 0 48px 48px;
  }
}

@media (max-width: 768px) {
  .faq-hero-section {
    padding: 150px 0 48px 0;
  }
  
  .faq-content-section {
    padding: 60px 0 100px 0;
    border-radius: 0 0 32px 32px;
  }
  
  .faq-container {
    padding: 0 20px;
  }
  
  .faq-category-block {
    margin-bottom: 48px;
  }
}
