/* =============================================================================
   FAQs page — premium cream / gold layout (sidebar promo + accordion + help bar)
   Loaded from Faqs.cshtml (not the site bundle)
   ============================================================================= */

.page-section--cms:has(.section-faq--page),
.page-section--cms:has(.faq-help--premium) {
  padding-block: 0 !important;
  background: transparent !important;
}

.section-faq--page.faqs-premium {
  position: relative;
  overflow: hidden;
  padding: clamp(2.75rem, 5.5vw, 4.5rem) 0 clamp(1.75rem, 3.2vw, 2.5rem);
  background:
    radial-gradient(ellipse 48% 38% at 0% 0%, rgba(197, 160, 109, 0.22), transparent 72%),
    radial-gradient(ellipse 46% 36% at 100% 0%, rgba(197, 160, 109, 0.18), transparent 70%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(197, 160, 109, 0.06), transparent 65%),
    var(--cnj-cream, #E9E4DB);
}

.faqs-premium__glow {
  position: absolute;
  width: min(32rem, 60vw);
  height: min(20rem, 44vw);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(10px);
  opacity: 0.7;
  z-index: 0;
}

.faqs-premium__glow--tl {
  top: -7rem;
  left: -9rem;
  background: radial-gradient(circle, rgba(197, 160, 109, 0.45), transparent 70%);
}

.faqs-premium__glow--tr {
  top: -6rem;
  right: -8rem;
  background: radial-gradient(circle, rgba(197, 160, 109, 0.38), transparent 70%);
}

.faqs-premium > .container {
  position: relative;
  z-index: 1;
  max-width: 1120px;
}

/* ── Header ──────────────────────────────────────────────────────────────── */

.faqs-premium__header {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto clamp(2.25rem, 4.5vw, 3.1rem);
}

.faqs-premium__eyebrow {
  display: inline-flex !important;
  margin-bottom: 0.95rem !important;
  background: rgba(255, 255, 255, 0.72) !important;
  border: 1.5px solid rgba(197, 160, 109, 0.45) !important;
  box-shadow: 0 8px 22px rgba(197, 160, 109, 0.12);
}

.faqs-premium__title {
  margin: 0 0 0.7rem;
  font-family: var(--sp-font-display, Georgia, serif);
  font-size: clamp(2.15rem, 4.6vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: var(--cnj-ink, #111);
}

.faqs-premium__rule {
  display: block;
  width: 3.25rem;
  height: 3px;
  margin: 0 auto 0.95rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #D4B07A, #C5A06D, #A8844F);
  box-shadow: 0 4px 12px rgba(197, 160, 109, 0.35);
}

.faqs-premium__subtitle {
  margin: 0 auto;
  max-width: 36rem;
  color: var(--cnj-muted, #6E6A63);
  font-size: 1.08rem;
  line-height: 1.65;
}

/* ── Two-column layout ───────────────────────────────────────────────────── */

.faqs-premium__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 992px) {
  .faqs-premium__layout {
    grid-template-columns: minmax(16.5rem, 19.5rem) minmax(0, 1fr);
    gap: 1.75rem;
  }
}

/* ── Promo sidebar ───────────────────────────────────────────────────────── */

.faqs-promo {
  position: relative;
}

.faqs-promo__inner {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.7rem 1.45rem 0;
  border-radius: 1.55rem;
  background:
    radial-gradient(ellipse 80% 50% at 20% 0%, rgba(197, 160, 109, 0.22), transparent 55%),
    linear-gradient(165deg, #1c1c1c 0%, #111 55%, #0b0b0b 100%);
  color: #f7f3ea;
  border: 1px solid rgba(197, 160, 109, 0.28);
  box-shadow:
    0 24px 52px rgba(17, 17, 17, 0.34),
    0 0 0 1px rgba(197, 160, 109, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.faqs-promo:hover .faqs-promo__inner {
  transform: translateY(-3px);
  box-shadow:
    0 28px 58px rgba(17, 17, 17, 0.4),
    0 0 0 1px rgba(197, 160, 109, 0.18);
}

.faqs-promo__brand {
  margin-bottom: 1.15rem;
}

.faqs-promo__logo {
  width: 78px;
  height: auto;
  max-height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}

.faqs-promo__logo-fallback {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(197, 160, 109, 0.16);
  color: var(--cnj-gold, #C5A06D);
  font-size: 1.25rem;
}

.faqs-promo__title {
  margin: 0 0 0.65rem;
  font-family: var(--sp-font-display, Georgia, serif);
  font-size: clamp(1.55rem, 2.4vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #fff;
}

.faqs-promo__title span {
  color: var(--cnj-gold, #C5A06D);
}

.faqs-promo__text {
  margin: 0 0 1.15rem;
  color: rgba(247, 243, 234, 0.72);
  font-size: 0.925rem;
  line-height: 1.6;
}

.faqs-promo__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-bottom: 1.35rem;
}

.faqs-promo__cta {
  border-radius: 999px !important;
  padding: 0.55rem 1.15rem !important;
  font-weight: 700;
}

.faqs-promo__link {
  color: #E8D5B5;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(197, 160, 109, 0.45);
}

.faqs-promo__link:hover {
  color: #fff;
  border-bottom-color: #fff;
}

.faqs-promo__media {
  position: relative;
  margin: auto -1.4rem 0;
  height: 12.5rem;
  overflow: hidden;
}

.faqs-promo__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.faqs-promo__swoosh {
  position: absolute;
  inset: auto -10% -35% -20%;
  height: 70%;
  background:
    radial-gradient(ellipse 70% 80% at 30% 40%, rgba(197, 160, 109, 0.55), transparent 70%);
  transform: rotate(-8deg);
  pointer-events: none;
}

@media (min-width: 992px) {
  .faqs-promo {
    position: sticky;
    top: 5.5rem;
  }

  .faqs-promo__media {
    height: 14rem;
  }
}

/* ── Search + categories ─────────────────────────────────────────────────── */

.faqs-premium .faq-search {
  position: relative;
  max-width: none;
  margin: 0 0 1rem;
}

.faqs-premium .faq-search i {
  position: absolute;
  left: 1.05rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--cnj-gold, #C5A06D);
  pointer-events: none;
}

.section-faq .faq-search {
  max-width: 44rem;
  margin: 0 auto 1.25rem;
  position: relative;
}

.section-faq .faq-search i {
  position: absolute;
  left: 1.05rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--sp-text-muted);
  pointer-events: none;
}

.section-faq .faq-search__input {
  width: 100%;
  min-height: 3rem;
  padding: 0.8rem 1.1rem 0.8rem 2.85rem;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 999px;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--cnj-ink, #111);
  background: #fff;
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faqs-premium .faq-search__input {
  min-height: 3.25rem;
  border-color: rgba(197, 160, 109, 0.38);
  box-shadow: 0 12px 32px rgba(17, 17, 17, 0.07);
  font-weight: 500;
}

.section-faq .faq-search__input::placeholder {
  color: var(--cnj-muted, #6E6A63);
  opacity: 0.9;
}

.section-faq .faq-search:focus-within i {
  color: var(--cnj-gold, #C5A06D);
}

.section-faq .faq-search__input:focus,
.section-faq .faq-search__input:focus-visible {
  outline: none;
  border-color: var(--cnj-gold, #C5A06D);
  box-shadow: 0 0 0 3px rgba(197, 160, 109, 0.22);
}

.section-faq .faq-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-start;
  margin: 0 0 1.15rem;
  max-width: none;
}

.faqs-premium .faq-categories {
  margin-bottom: 1.15rem;
}

.section-faq:not(.faqs-premium) .faq-categories {
  justify-content: center;
  max-width: 44rem;
  margin: 0 auto 1.5rem;
}

.section-faq .faq-category-btn {
  min-height: 2.4rem;
  padding: 0.35rem 1rem;
  border: 1.5px solid rgba(17, 17, 17, 0.12);
  border-radius: 999px;
  background: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--cnj-muted, #6E6A63);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.section-faq .faq-category-btn:hover {
  border-color: var(--cnj-gold, #C5A06D);
  color: var(--cnj-gold-dark, #A8844F);
}

.section-faq .faq-category-btn.is-active {
  background: linear-gradient(135deg, #D4B07A 0%, #C5A06D 55%, #A8844F 100%);
  border-color: transparent;
  color: #111;
}

.section-faq .faq-category-btn:focus-visible {
  outline: 2px solid var(--cnj-gold, #C5A06D);
  outline-offset: 2px;
}

/* ── Accordion ───────────────────────────────────────────────────────────── */

.section-faq .faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.section-faq:not(.faqs-premium) .faq-accordion {
  max-width: 44rem;
  margin: 0 auto;
}

.faq-accordion--premium {
  max-width: none;
  margin: 0;
}

.section-faq .faq-item {
  margin: 0;
  border-radius: 1.2rem;
  border: 1px solid rgba(17, 17, 17, 0.07);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(17, 17, 17, 0.06);
  transition:
    border-color 0.25s ease,
    box-shadow 0.3s ease,
    background 0.25s ease,
    transform 0.3s ease;
}

.faqs-premium .faq-item:hover {
  border-color: rgba(197, 160, 109, 0.42);
  box-shadow: 0 16px 38px rgba(17, 17, 17, 0.1);
  transform: translateY(-2px);
}

.faqs-premium .faq-item.open {
  border-color: rgba(197, 160, 109, 0.55);
  box-shadow:
    0 18px 44px rgba(197, 160, 109, 0.18),
    inset 0 0 0 1px rgba(197, 160, 109, 0.12);
  transform: none;
}

.section-faq .faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.05rem 1.1rem;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
  color: var(--cnj-ink, #111);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.4;
}

.faqs-premium .faq-item.open .faq-item__question {
  background: linear-gradient(90deg, rgba(197, 160, 109, 0.28), rgba(197, 160, 109, 0.1) 50%, rgba(197, 160, 109, 0.02));
}

.faq-item__lead {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1.5px solid rgba(197, 160, 109, 0.5);
  background: rgba(197, 160, 109, 0.12);
  color: var(--cnj-gold-dark, #A8844F);
  font-size: 1.05rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.faqs-premium .faq-item.open .faq-item__lead {
  border-color: var(--cnj-gold, #C5A06D);
  background: linear-gradient(145deg, rgba(212, 176, 122, 0.35), rgba(197, 160, 109, 0.18));
  color: var(--cnj-gold-dark, #A8844F);
  box-shadow: 0 6px 14px rgba(197, 160, 109, 0.22);
}

.section-faq .faq-item__question-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  min-width: 0;
  flex: 1;
}

.section-faq .faq-item__cat {
  display: inline-flex;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cnj-gold-dark, #A8844F);
  background: rgba(197, 160, 109, 0.14);
}

.section-faq .faq-item__question-text {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
}

.section-faq .faq-item__toggle {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(197, 160, 109, 0.12);
  color: var(--cnj-gold-dark, #A8844F);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.faqs-premium .faq-item.open .faq-item__toggle {
  transform: rotate(180deg);
  background: var(--cnj-gold, #C5A06D);
  color: #111;
}

.section-faq:not(.faqs-premium) .faq-item__toggle {
  position: relative;
}

.section-faq:not(.faqs-premium) .faq-item__icon {
  position: absolute;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.section-faq:not(.faqs-premium) .faq-item__icon--minus {
  opacity: 0;
  transform: scale(0.6);
}

.section-faq:not(.faqs-premium) .faq-item.open .faq-item__icon--plus {
  opacity: 0;
  transform: scale(0.6);
}

.section-faq:not(.faqs-premium) .faq-item.open .faq-item__icon--minus {
  opacity: 1;
  transform: scale(1);
  color: #111;
}

.section-faq:not(.faqs-premium) .faq-item.open .faq-item__toggle {
  background: var(--cnj-gold, #C5A06D);
}

.section-faq .faq-item__answer {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  padding: 0 1.1rem 0 4.2rem;
  transition: grid-template-rows 0.3s ease, padding 0.3s ease;
}

.faqs-premium .faq-item.open .faq-item__answer {
  grid-template-rows: 1fr;
  padding: 0 1.25rem 1.2rem 4.2rem;
  background: #fff;
}

.section-faq:not(.faqs-premium) .faq-item__answer {
  padding: 0 1.25rem;
}

.section-faq:not(.faqs-premium) .faq-item.open .faq-item__answer {
  grid-template-rows: 1fr;
  padding: 0 1.25rem 1.2rem;
}

.section-faq .faq-item__answer-inner {
  min-height: 0;
  overflow: hidden;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--cnj-muted, #6E6A63);
}

.section-faq .faq-item__answer-inner > :first-child { margin-top: 0; }
.section-faq .faq-item__answer-inner > :last-child { margin-bottom: 0; }
.section-faq .faq-item__answer-inner p { margin: 0 0 0.7rem; color: inherit; }
.section-faq .faq-item__answer-inner a {
  color: var(--cnj-gold-dark, #A8844F);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.section-faq .faq-item.hidden { display: none; }

.section-faq .faq-empty {
  display: none;
  margin: 0.5rem 0 0;
  padding: 1.25rem 1rem;
  text-align: center;
  color: var(--cnj-muted, #6E6A63);
  font-size: 0.9375rem;
}

.section-faq .faq-empty--cms { display: block; }
.section-faq .faq-accordion:not(:has(.faq-item:not(.hidden))) + .faq-empty--filter { display: block; }

/* ── Help bar ────────────────────────────────────────────────────────────── */

.faq-help--premium {
  padding: 0 0 clamp(2.5rem, 5vw, 3.75rem);
  background:
    linear-gradient(180deg, transparent, rgba(233, 228, 219, 0.65) 20%),
    var(--cnj-cream, #E9E4DB);
}

/* Legacy wrapper kept for older markup; shared bar now lives in .cta-help */
.faq-help__bar {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.faq-help--premium .cta-help {
  border-radius: 999px;
}

.faq-help__copy {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: min(100%, 18rem);
  flex: 1 1 16rem;
}

.faq-help--premium .faq-help__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: rgba(197, 160, 109, 0.14);
  border: 1px solid rgba(197, 160, 109, 0.3);
  color: var(--cnj-gold-dark, #A8844F);
  font-size: 1.2rem;
}

.faq-help__line {
  margin: 0;
  color: var(--cnj-muted, #6E6A63);
  font-size: 0.95rem;
  line-height: 1.45;
}

.faq-help__line strong {
  display: inline;
  margin-right: 0.35rem;
  color: var(--cnj-ink, #111);
  font-weight: 700;
}

.faq-help__divider {
  display: none;
  width: 1px;
  align-self: stretch;
  min-height: 2.5rem;
  background: rgba(17, 17, 17, 0.1);
}

@media (min-width: 992px) {
  .faq-help__divider { display: block; }
}

.faq-help--premium .faq-help__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-end;
}

.faq-help__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.65rem;
  padding: 0.45rem 1.05rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-help__btn--call {
  color: var(--cnj-gold-dark, #A8844F);
  border: 1.5px solid var(--cnj-gold, #C5A06D);
  background: transparent;
}

.faq-help__btn--call:hover {
  background: rgba(197, 160, 109, 0.1);
  color: var(--cnj-ink, #111);
}

.faq-help__btn--wa {
  color: #128C7E;
  border: 1.5px solid #25D366;
  background: transparent;
}

.faq-help__btn--wa:hover {
  background: rgba(37, 211, 102, 0.1);
}

.faq-help__btn--quote {
  color: #111;
  border: none;
  background: linear-gradient(135deg, #D4B07A 0%, #C5A06D 55%, #A8844F 100%);
  box-shadow: 0 10px 26px rgba(197, 160, 109, 0.38);
}

.faq-help__btn--quote:hover {
  filter: brightness(1.05);
  color: #111;
  box-shadow: 0 12px 30px rgba(197, 160, 109, 0.45);
}

.faq-help__btn--call:hover,
.faq-help__btn--wa:hover,
.faq-help__btn--quote:hover {
  transform: translateY(-1px);
}

/* ── Embedded FAQ (non-page) ─────────────────────────────────────────────── */

.section-faq:not(.section-faq--page) {
  padding: 5rem 0;
  background: var(--sp-surface, #fff);
}

.section-faq:not(.faqs-premium) .section-header {
  text-align: center;
  margin-bottom: 2rem;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 575.98px) {
  .faqs-premium .faq-item__answer,
  .faqs-premium .faq-item.open .faq-item__answer {
    padding-left: 1.1rem;
  }

  .faq-help__bar {
    padding: 1.1rem 1rem;
  }

  .faq-help--premium .faq-help__actions {
    width: 100%;
  }

  .faq-help__btn {
    flex: 1 1 calc(50% - 0.55rem);
  }

  .faq-help__btn--quote {
    flex: 1 1 100%;
  }

  .section-faq .faq-categories {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.25rem;
  }

  .section-faq .faq-categories::-webkit-scrollbar { display: none; }
  .section-faq .faq-category-btn { flex-shrink: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .section-faq .faq-item,
  .section-faq .faq-item__answer,
  .section-faq .faq-item__toggle,
  .faq-help__btn {
    transition: none;
  }
}

/* ── Dark theme ──────────────────────────────────────────────────────────── */

html[data-site-theme="dark"] .section-faq--page.faqs-premium,
html[data-site-theme="dark"] .faq-help--premium {
  background:
    radial-gradient(ellipse 42% 34% at 0% 0%, rgba(197, 160, 109, 0.12), transparent 70%),
    #121212;
}

html[data-site-theme="dark"] .faqs-premium__title,
html[data-site-theme="dark"] .faq-help__line strong {
  color: #f5f2ec;
}

html[data-site-theme="dark"] .faqs-premium__subtitle,
html[data-site-theme="dark"] .faq-help__line {
  color: #b7b0a5;
}

html[data-site-theme="dark"] .section-faq .faq-item,
html[data-site-theme="dark"] .faq-help__bar,
html[data-site-theme="dark"] .section-faq .faq-search__input,
html[data-site-theme="dark"] .section-faq .faq-category-btn {
  background: #1a1a1a;
  border-color: rgba(255, 255, 255, 0.08);
  color: #f5f2ec;
}

html[data-site-theme="dark"] .faqs-premium .faq-item.open .faq-item__answer {
  background: #1a1a1a;
}

html[data-site-theme="dark"] .section-faq .faq-item__question-text,
html[data-site-theme="dark"] .section-faq .faq-item__question {
  color: #f5f2ec;
}

html[data-site-theme="dark"] .section-faq .faq-item__answer-inner {
  color: #b7b0a5;
}
