/* ========================================
   FAQs — HoHeTo Kyle
   Figma specs extracted from design screenshot
   ======================================== */

/* ── Page Base ── */
html {
  scroll-behavior: smooth;
  overflow: auto !important;
  height: auto !important;
}
body {
  font-family: 'Instrument Sans', sans-serif;
  background: #ffffff;
  color: #111111;
  overflow: auto !important;
  height: auto !important;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

:root {
  --color-primary:      #08D2C1;
  --color-primary-dark: #06b5a6;
  --color-primary-glow: rgba(8, 210, 193, 0.35);
  --color-text-dark:    #111111;
  --color-text-body:    #333333;
  --color-text-muted:   #6D6D6D;
  --font-display:       'Exo 2', sans-serif;
  --font-body:          'Instrument Sans', sans-serif;
  --nav-height:         76px;
  --max-width:          1200px;
  --transition-normal:  0.25s ease;
  --transition-fast:    0.15s ease;
}

/* ══════════════════════════════════════
   PAGE HERO BANNER
   Figma: Dark teal nebula bg, centered title + subtitle
   Title: "Answers Before You Create" — Exo 2 Bold white
   Subtitle: Instrument Sans, rgba(255,255,255,0.85)
   ══════════════════════════════════════ */
.page-hero {
  position: relative;
  width: 100%;
  height: 351px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #041a18;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.page-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(2, 20, 18, 0.35);
}

.page-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  max-width: var(--max-width);
  padding: 0 40px;
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin: 0;
}

.page-hero__subtitle {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  text-align: center;
  margin: 0;
}

/* ══════════════════════════════════════
   BREADCRUMB
   Figma: "Home > FAQs"
   Instrument Sans Medium 16px, color #4B4B4B
   ══════════════════════════════════════ */
.breadcrumb {
  background: #ffffff;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.breadcrumb__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb__link {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: #4B4B4B;
  text-decoration: none;
  transition: color var(--transition-fast);
}
.breadcrumb__link:hover {
  color: var(--color-primary);
}
.breadcrumb__sep {
  display: flex;
  align-items: center;
  color: #4B4B4B;
}
.breadcrumb__current {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: #4B4B4B;
}

/* ══════════════════════════════════════
   FAQ MAIN SECTION
   Figma: White bg, centered heading block + 2-col accordion grid
   ══════════════════════════════════════ */
.faq-section {
  background: #ffffff;
  padding: 60px 0 72px;
}

.faq-section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

/* ── Header ── */
.faq-section__header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 700px;
}

/* Figma: "FAQs" — Exo 2 Bold ~36px, #000000 */
.faq-section__heading {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: #000000;
  line-height: 1.2;
  margin: 0;
}

/* Figma: body text — Instrument Sans Regular 15px, #444, centered, 2 lines */
.faq-section__subtext {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: #555555;
  line-height: 1.65;
  max-width: 100%;
  text-align: center;
  margin: 0;
}

/* ── 2-Column Accordion Grid ── */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
  width: 100%;
  align-items: start;
}

/* ── FAQ Column ── */
.faq-col {
  display: flex;
  flex-direction: column;
}

/* ── FAQ Item ── */
.faq-item {
  border-bottom: 1px solid #E5E5E5;
  overflow: hidden;
}

/* First item in each column — top border too */
.faq-col .faq-item:first-child {
  border-top: 1px solid #E5E5E5;
}

/* Active/open item: teal background */
.faq-item--active {
  background: var(--color-primary);
  border-bottom: none;
  border-radius: 0;
}
.faq-col .faq-item--active:first-child {
  border-top: none;
}

/* ── FAQ Question row ── */
.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  cursor: pointer;
  background: transparent;
  border: none;
  text-align: left;
  transition: background var(--transition-fast);
}

.faq-item--active .faq-item__question {
  background: transparent;
  padding-bottom: 10px;
}

/* Question text */
.faq-item__text {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: #111111;
  line-height: 1.4;
  flex: 1;
}

.faq-item--active .faq-item__text {
  color: #ffffff;
  font-weight: 600;
}

/* Icon — the teal diamond plus / white diamond minus */
.faq-item__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-item__icon img {
  width: 36px;
  height: 36px;
  display: block;
}

/* ── FAQ Answer ── */
.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item--active .faq-item__answer {
  max-height: 200px;
  padding: 0 20px 18px;
}

.faq-item__answer p {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.65;
  margin: 0;
}

/* ── Footer note ── */
.faq-footer-note {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: #555555;
  text-align: center;
  margin-top: 8px;
}

.faq-footer-note a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition-fast);
}
.faq-footer-note a:hover {
  color: var(--color-primary-dark);
}

/* ══════════════════════════════════════
   CTA BANNER SECTION
   Shared style with about.css
   ══════════════════════════════════════ */
.cta-banner-section {
  background: #F5F5F5;
  padding: 55px 40px 72px;
}
.cta-banner {
  max-width: 1060px;
  margin: 0 auto;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta-banner__bg { position: absolute; inset: 0; z-index: 0; }
.cta-banner__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.cta-banner__bg::after { content: ''; position: absolute; inset: 0; background: rgba(2, 18, 16, 0.5); }
.cta-banner__content {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  gap: 12px; padding: 52px 40px;
}
.cta-banner__heading {
  font-family: var(--font-display);
  font-size: 30px; font-weight: 700;
  color: #ffffff; line-height: 1.2;
}
.cta-banner__subtext {
  font-family: var(--font-body);
  font-size: 16px; font-weight: 400;
  color: rgba(255,255,255,0.8);
  max-width: 90%; line-height: 1.6;
  margin-bottom: 4px;
}
.cta-banner__btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px;
  background: var(--color-primary);
  color: #041a1a;
  font-family: var(--font-display);
  font-size: 15px; font-weight: 600;
  border-radius: 100px; border: none; cursor: pointer;
  text-decoration: none; letter-spacing: 0.02em;
  transition: background var(--transition-normal), box-shadow var(--transition-normal), transform var(--transition-fast);
}
.cta-banner__btn:hover { background: #0ae0cd; box-shadow: 0 6px 24px rgba(8,210,193,0.5); transform: translateY(-2px); color: #041a1a; }
.cta-banner__btn:active { transform: translateY(0); }
.cta-banner__btn-icon { font-size: 14px; line-height: 1; }

/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */
@media (max-width: 900px) {
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .faq-col:last-child .faq-item:first-child {
    border-top: none;
  }
}

@media (max-width: 768px) {
  .page-hero { height: 260px; }
  .page-hero__title { font-size: 32px; }
  .page-hero__subtitle { font-size: 14px; }

  .faq-section { padding: 48px 0 56px; }
  .faq-section__inner { padding: 0 24px; gap: 32px; }
  .faq-section__heading { font-size: 28px; }

  .breadcrumb__inner { padding: 0 24px; }

  .cta-banner__heading { font-size: 22px; }
  .cta-banner__subtext { font-size: 14px; }
  .cta-banner__content { padding: 36px 24px; }
  .cta-banner-section { padding: 40px 20px 56px; }
}

@media (max-width: 480px) {
  .page-hero__title { font-size: 26px; }
  .cta-banner { border-radius: 14px; }
}
