/* Renéra · FAQ page · Desktop styles
   Layered on top of homepage.css (shared chrome + --renera-* tokens + .rn-* primitives)
   and contact.css (the WPForms #494 hairline restyle, reused for the help form below).
   Ported from the Claude Design export's faq.css — the @font-face / @import / token
   blocks are dropped here because design-system.css already provides them globally.

   Sections: an editorial hero, a two-column FAQ split (sticky photo + accordion),
   and a centered "Didn't find your answer here?" help form on cream. */

/* =========================================
   Hero — quiet centered intro
   ========================================= */
.faq-hero {
  position: relative;
  overflow: hidden;
  background: var(--renera-sand-300);
  padding: 92px 0 76px;
  border-bottom: 1px solid var(--renera-clay-300);
}
.faq-hero .container { position: relative; z-index: 1; text-align: center; }
.faq-hero .rn-eyebrow { margin-bottom: 26px; }
.faq-hero__title { font-size: clamp(40px, 11vw, 84px); line-height: 1.02; margin-bottom: 22px; }
.faq-hero__lead  { font-size: 17px; max-width: 560px; margin: 0 auto; }

/* =========================================
   FAQ split — image left (sticky), questions right
   ========================================= */
.faq-content { padding-top: 72px; }

.faq-split {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 72px;
  align-items: start;
}
.faq-split__media { position: sticky; top: 112px; }
.faq-split__figure {
  margin: 0;
  border-radius: var(--renera-r-lg);
  overflow: hidden;
  border: 1px solid var(--renera-clay-300);
  background: var(--renera-sand-200);
}
.faq-split__figure img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 4 / 5; object-fit: cover;
}

/* Accordion column */
.faq-list {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--renera-clay-300);
}
.faq-item {
  border-bottom: 1px solid var(--renera-clay-300);
  transition: background var(--renera-dur-base) var(--renera-ease);
}
.faq-item[data-open="1"] {
  background: linear-gradient(180deg, rgba(255, 246, 239, 0.6), transparent 80%);
}

.faq-item__row {
  appearance: none; background: transparent; border: 0;
  width: 100%; text-align: left; cursor: pointer;
  display: grid;
  grid-template-columns: 1fr 32px;
  gap: 32px; align-items: center;
  padding: 30px 4px;
  font: inherit;
}
.faq-item__row:hover .faq-item__q,
.faq-item__row:hover .faq-item__chev { color: var(--renera-olive-700); }

.faq-item__q {
  font-family: var(--renera-font-serif); font-weight: 400;
  font-size: 27px; line-height: 1.2; letter-spacing: -0.012em;
  color: var(--renera-ink);
  text-wrap: balance;
  transition: color var(--renera-dur-fast) var(--renera-ease);
}

.faq-item__chev {
  width: 32px; height: 32px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--renera-clay-300);
  color: var(--renera-olive-700);
  flex-shrink: 0;
  transition: transform var(--renera-dur-base) var(--renera-ease),
              background var(--renera-dur-fast) var(--renera-ease),
              color var(--renera-dur-fast) var(--renera-ease),
              border-color var(--renera-dur-fast) var(--renera-ease);
}
.faq-item[data-open="1"] .faq-item__chev {
  transform: rotate(45deg);
  background: var(--renera-olive-700);
  color: var(--renera-sand-200);
  border-color: var(--renera-olive-700);
}

/* Collapsible body — grid-rows trick for height-auto animation */
.faq-item__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .42s var(--renera-ease);
}
.faq-item[data-open="1"] .faq-item__body { grid-template-rows: 1fr; }
.faq-item__body-inner { overflow: hidden; padding-right: 64px; }
.faq-item[data-open="1"] .faq-item__body-inner { padding-bottom: 36px; }

.faq-item__p {
  margin: 0 0 18px;
  font-family: var(--renera-font-sans);
  font-size: 15px; line-height: 1.75;
  color: var(--renera-ink);
  text-wrap: pretty;
}
.faq-item__p:last-child { margin-bottom: 0; }

/* Nested definition list (the "five most common types" answer) */
.faq-item__list {
  list-style: none; padding: 0; margin: 8px 0 0;
  display: flex; flex-direction: column;
  border-top: 1px solid var(--renera-clay-300);
}
.faq-item__list li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 28px;
  padding: 18px 0;
  border-bottom: 1px solid var(--renera-clay-300);
  align-items: baseline;
}
.faq-item__list-title {
  font-family: var(--renera-font-serif); font-style: italic;
  font-size: 18px; color: var(--renera-olive-700);
  letter-spacing: -0.005em;
}
.faq-item__list-body {
  font-family: var(--renera-font-sans);
  font-size: 14px; line-height: 1.65;
  color: var(--renera-ink);
}

/* =========================================
   Help section — centered "Didn't find your answer here?"
   The form is the live WPForms #494; contact.css restyles its fields to the
   Renéra hairline aesthetic. Here we drop the card chrome so the form reads
   as a clean centered column directly on the cream section.
   ========================================= */
.faq-help { max-width: 720px; }
.faq-help-head { text-align: center; margin-bottom: 56px; }

.faq-help .rn-form-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  max-width: 560px;
  margin: 0 auto;
}
/* center the submit row to match the design's centered single column */
.faq-help .rn-form-card .wpforms-submit-container { text-align: center; }

/* =========================================
   Responsive (desktop template on narrow viewports)
   ========================================= */
@media (max-width: 900px) {
  .faq-split { grid-template-columns: 1fr; gap: 40px; }
  .faq-split__media { position: static; }
  .faq-split__figure { max-width: 520px; margin: 0 auto; }
  .faq-split__figure img { aspect-ratio: 16 / 10; }
}

@media (max-width: 768px) {
  .faq-hero { padding: 64px 0 52px; }
  .faq-item__row { padding: 24px 2px; gap: 20px; }
  .faq-item__q { font-size: 21px; }
  .faq-item__body-inner { padding-right: 0; }
  .faq-item__list li { grid-template-columns: 1fr; gap: 6px; padding: 14px 0; }
  .faq-split { gap: 32px; }
  .faq-help-head { margin-bottom: 40px; }
}

@media (max-width: 480px) {
  .faq-item__q { font-size: 19px; }
  .faq-item__chev { width: 28px; height: 28px; }
}
