/**
 * FAEL — inner pages: FAQ, projects, contact polish
 */

/* —— FAQ —— */
body.theme-fael .faq-page-section__count {
  margin: 0 0 1.25rem;
  font-size: 0.88rem;
  color: var(--muted);
}

body.theme-fael .faq-page-section {
  background: #ffffff;
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

body.theme-fael .faq-page-section .container--narrow {
  max-width: 44rem;
}

body.theme-fael .faq-accordion--page {
  border-top: 2px solid var(--fael-black);
}

body.theme-fael .faq-item {
  border-bottom: 1px solid var(--line);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

body.theme-fael .faq-item:hover:not([open]) {
  background: var(--fael-red-soft);
}

body.theme-fael .faq-item summary {
  position: relative;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  padding: 1.15rem 2.75rem 1.15rem 0.85rem;
  color: var(--fael-black);
}

body.theme-fael .faq-item[open] {
  background: var(--fael-red-soft);
  box-shadow: inset 3px 0 0 var(--fael-red);
}

body.theme-fael .faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 0.15rem;
  transform: translateY(-50%);
  color: var(--fael-red);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1;
}

body.theme-fael .faq-item[open] summary::after {
  content: "−";
  color: var(--fael-black);
}

body.theme-fael .faq-item[open] summary {
  color: var(--fael-red);
  padding-bottom: 0.65rem;
}

body.theme-fael .faq-item summary:focus-visible {
  outline: 2px solid var(--fael-red);
  outline-offset: 2px;
}

body.theme-fael .faq-item__a {
  padding: 0 0.85rem 1.35rem;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--muted);
}

body.theme-fael .faq-page-section .section-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

body.theme-fael .faq-home .faq-item summary {
  font-size: 0.95rem;
}

/* —— Projects filter —— */
body.theme-fael .filter-bar {
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

body.theme-fael .filter-bar__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.65rem;
}

body.theme-fael .filter-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--fael-black);
  border: 1px solid var(--line);
  border-radius: var(--fael-radius);
  background: #fff;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

body.theme-fael .filter-pill:hover {
  border-color: var(--fael-red);
  background: var(--fael-red-soft);
  color: var(--fael-red);
}

body.theme-fael .filter-pill.is-active {
  background: var(--fael-red);
  border-color: var(--fael-red);
  color: #ffffff;
}

body.theme-fael .project-slide__tag,
body.theme-fael .gallery-item__slug {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fael-red);
  background: var(--fael-red-soft);
  border-radius: var(--fael-radius);
}

body.theme-fael .gallery-item__placeholder {
  aspect-ratio: 4 / 3;
  background: var(--surface-2);
  border: 1px dashed var(--line);
}

body.theme-fael .gallery-grid--fael {
  margin-top: 0.5rem;
}

/* —— Contact visit strip —— */
body.theme-fael .contact-visit-strip {
  background: var(--surface-2);
  border-block: 1px solid var(--line);
}

body.theme-fael .contact-visit-strip__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  font-size: 0.92rem;
}

body.theme-fael .contact-visit-strip a {
  font-weight: 600;
  color: var(--fael-red);
}

/* —— Page CTA panels —— */
body.theme-fael .page-cta-panel {
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: var(--fael-radius-md);
  background: var(--surface-2);
  text-align: center;
}

body.theme-fael .page-cta-panel__actions {
  margin: 1.25rem 0 0;
}

/* —— Contact product context —— */
body.theme-fael .fael-contact-product {
  margin-bottom: 1.25rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--fael-red);
  border-radius: var(--fael-radius-md);
  background: #fffafa;
}

body.theme-fael .fael-contact-product__label {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

body.theme-fael .fael-contact-product__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

body.theme-fael .fael-contact-product__link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--fael-red);
  text-decoration: none;
}

body.theme-fael .fael-contact-product__link:hover {
  text-decoration: underline;
}
