/* ==========================================================================
   AZZRO Legal Services — FAQ Page Styles
   Brand Palette: Navy #10233F, Gold #D7B878, Off-white #F5F3EE, White #FFFFFF
   ========================================================================== */

.faq-page {
  --ink: #10233f;
  --ink-2: #526174;
  --paper: #f5f3ee;
  --white: #ffffff;
  --line: #dedbd3;
  --line-strong: #cfcbbe;
  --blue: #10233f;
  --blue-d: #1b3558;
  --gold: #d7b878;
  --gold-d: #b18b48;
  --amber: #7a632f;
  --amber-bg: #f1e8d2;
  --tint: #f5f3ee;
  color-scheme: light;
  color: var(--ink);
  background: var(--paper);
}

.faq-page .wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}

.faq-page h1,
.faq-page h2,
.faq-page h3,
.faq-page h4 {
  color: var(--ink);
  font-family: var(--heading-font);
  font-weight: 600;
  line-height: 1.15;
}

.faq-page p {
  color: var(--ink-2);
  line-height: 1.65;
}

.faq-page .eyebrow {
  display: inline-block;
  margin-bottom: 0.65rem;
  color: var(--amber);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ==========================================================================
   Hero Section with Search
   ========================================================================== */
.faq-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 5vw, 4.5rem) 0;
  color: #ffffff;
  background-color: #10233f;
  background-image:
    radial-gradient(circle at 85% 20%, rgba(215, 184, 120, 0.12) 0%, transparent 40%),
    repeating-linear-gradient(135deg, transparent 0, transparent 40px, rgba(215, 184, 120, 0.03) 41px, transparent 42px);
}

.faq-hero-inner {
  max-width: 48rem;
}

.faq-hero h1 {
  color: #ffffff;
  font-size: var(--h1-size);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.faq-hero-lead {
  max-width: 58ch;
  color: #d8e2ed;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

/* Search bar inside Hero */
.faq-search-box {
  position: relative;
  max-width: 38rem;
}

.faq-search-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem 1rem;
  background: #ffffff;
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border: 2px solid transparent;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.faq-search-wrap:focus-within {
  border-color: #d7b878;
  box-shadow: 0 4px 24px rgba(215, 184, 120, 0.25);
}

.faq-search-wrap svg {
  flex: none;
  width: 20px;
  height: 20px;
  stroke: #8c97a5;
  fill: none;
  stroke-width: 2;
}

.faq-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: transparent;
  padding: 0.45rem 0;
}

.faq-search-input::placeholder {
  color: #8c97a5;
}

.faq-search-clear {
  display: none;
  background: none;
  border: none;
  padding: 0.25rem;
  color: #8c97a5;
  cursor: pointer;
  border-radius: 50%;
}

.faq-search-clear:hover {
  color: var(--ink);
  background: #f1e8d2;
}

.faq-search-clear svg {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   Category Filter & Controls Bar
   ========================================================================== */
.faq-main-section {
  padding: clamp(2.5rem, 4vw, 4rem) 0;
  background: var(--paper);
}

.faq-controls-bar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.faq-category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.faq-category-tab {
  padding: 0.55rem 1rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #ffffff;
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.faq-category-tab:hover {
  border-color: var(--gold-d);
  background: #fdfbf7;
  color: var(--amber);
}

.faq-category-tab.is-active {
  background: #10233f;
  color: #ffffff;
  border-color: #10233f;
}

.faq-actions-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.faq-count-text {
  font-size: 0.85rem;
  color: var(--ink-2);
  margin: 0;
}

.faq-toggle-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: #ffffff;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.15s ease;
}

.faq-toggle-all-btn:hover {
  background: #fdfbf7;
  border-color: var(--gold);
}

.faq-toggle-all-btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* ==========================================================================
   Accordion List & Questions
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.faq-item:hover {
  border-color: #d7b878;
}

.faq-item[open] {
  border-color: #d7b878;
  box-shadow: 0 4px 16px rgba(16, 35, 63, 0.04);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  background: #ffffff;
  cursor: pointer;
  list-style: none;
  transition: background-color 0.15s ease;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question:hover {
  background-color: #fdfbf7;
}

.faq-icon-indicator {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f5f3ee;
  color: #10233f;
  transition: transform 0.2s ease, background 0.15s ease;
}

.faq-icon-indicator svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.faq-item[open] .faq-icon-indicator {
  transform: rotate(180deg);
  background: #d7b878;
  color: #10233f;
}

.faq-answer {
  padding: 0 1.35rem 1.25rem;
  background: #ffffff;
  border-top: 1px solid #f2efe9;
  padding-top: 1rem;
}

.faq-answer p {
  margin: 0 0 0.85rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--ink-2);
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
}

.faq-answer a:hover {
  color: var(--gold-d);
}

/* Feedback Interaction: Helpful / Not Helpful */
.faq-feedback-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--line);
  font-size: 0.75rem;
  color: #727d8a;
}

.faq-feedback-btns {
  display: flex;
  gap: 0.4rem;
}

.faq-feedback-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #faf9f6;
  font-size: 0.72rem;
  color: var(--ink-2);
  cursor: pointer;
  transition: all 0.15s ease;
}

.faq-feedback-btn:hover {
  background: #f1e8d2;
  color: #10233f;
  border-color: #d7b878;
}

.faq-feedback-btn.is-selected {
  background: #10233f;
  color: #ffffff;
  border-color: #10233f;
}

/* Empty State / No Results */
.faq-no-results {
  display: none;
  text-align: center;
  padding: 3rem 1.5rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 6px;
  margin: 1.5rem 0;
}

.faq-no-results svg {
  width: 44px;
  height: 44px;
  stroke: #8c97a5;
  fill: none;
  stroke-width: 1.5;
  margin-bottom: 0.75rem;
}

.faq-no-results h3 {
  font-size: 1.15rem;
  margin-bottom: 0.45rem;
  color: var(--ink);
}

.faq-no-results p {
  font-size: 0.875rem;
  color: var(--ink-2);
  margin-bottom: 1.25rem;
}

/* ==========================================================================
   Contact Support CTA Section
   ========================================================================== */
.faq-contact-cta {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  color: #ffffff;
  background-color: #10233f;
  background-image: repeating-linear-gradient(160deg, transparent 0, transparent 37px, rgba(215, 184, 120, 0.06) 38px, transparent 39px);
  border-top: 1px solid rgba(215, 184, 120, 0.2);
}

.faq-contact-cta-inner {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.faq-contact-cta h2 {
  color: #ffffff;
  font-size: clamp(1.4rem, 1.2rem + 1vw, 2rem);
  margin-bottom: 0.45rem;
}

.faq-contact-cta p {
  color: #cbd4df;
  margin-bottom: 0;
  font-size: 0.9375rem;
  max-width: 54ch;
}

.faq-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.65rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: var(--button-size);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.faq-btn.primary {
  color: #10233f;
  background: #d7b878;
  border-color: #d7b878;
}

.faq-btn.primary:hover {
  background: #cbb070;
  border-color: #cbb070;
}

.faq-btn.secondary {
  color: #ffffff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
}

.faq-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
  color: #ffffff;
}

/* ==========================================================================
   Responsive Adaptations & Accessibility
   Mobile tests: 320px, 360px, 390px, 414px, 768px, 1024px, Desktop
   ========================================================================== */
@media (max-width: 768px) {
  .faq-contact-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .faq-actions-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .faq-category-nav {
    flex-direction: column;
  }
  .faq-category-tab {
    width: 100%;
    text-align: left;
  }
  .faq-question {
    font-size: 0.88rem;
    padding: 1rem 1.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-icon-indicator,
  .faq-item,
  .faq-category-tab {
    transition: none !important;
  }
}
<<<<<<< HEAD

=======
>>>>>>> a2a5c0f184f782108d0726b0244cc3c0473c2f08
