/* ── Framer Pro Specification: Smooth FAQ Flow ── */
/* Source: https://framer.com/m/Smooth-FAQ-Flow-MzHdq3.js@k6OryRw9juhkmNCOpXrz */

.faq-section {
  position: relative;
  padding: 12vh 5vw 8vh;
  max-width: 1040px;
  margin: 0 auto;
  box-sizing: border-box;
  user-select: none;
  -webkit-user-select: none;
}

/* Section Header */
.faq-header-wrap {
  text-align: center;
  margin-bottom: 40px;
}

.faq-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: Switzer, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: rgba(255, 176, 32, 0.1);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

html[data-theme="dark"] .faq-badge {
  background: rgba(255, 176, 32, 0.18);
  color: #FFB020;
}

.faq-title {
  margin: 0;
  font-family: 'General Sans', system-ui, sans-serif;
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--ink);
}

html[data-theme="dark"] .faq-title {
  color: #F5F2EB;
}

.faq-subtitle {
  margin: 12px auto 0;
  max-width: 580px;
  font-family: Switzer, system-ui, sans-serif;
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.55;
  color: var(--ink2);
}

html[data-theme="dark"] .faq-subtitle {
  color: #aaa499;
}

/* ── Main Framer FAQ Glass Shell (.framer-sdpeb6) ── */
.faq-flow-shell {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  padding: 24px;
  border-radius: 40px;
  background: rgba(255, 252, 248, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: inset 0px 0px 70px 0px rgba(189, 122, 78, 0.14),
              0 24px 50px -15px rgba(11, 16, 32, 0.12);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

html[data-theme="dark"] .faq-flow-shell {
  background: rgba(19, 28, 51, 0.72);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0px 0px 70px 0px rgba(255, 176, 32, 0.1),
              0 28px 60px -12px rgba(0, 0, 0, 0.75);
}

/* ── Accordion Item (.framer-e7ucot) ── */
.faq-item {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  padding: 22px 26px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0px 0px 30px 0px rgba(189, 122, 78, 0.08);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: background-color 0.3s ease,
              border-color 0.3s ease,
              box-shadow 0.3s ease,
              transform 0.2s ease;
  outline: none;
}

html[data-theme="dark"] .faq-item {
  background: #131C33 !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  box-shadow: inset 0px 0px 30px 0px rgba(0, 0, 0, 0.4) !important;
}

.faq-item:hover {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 176, 32, 0.3);
  box-shadow: inset 0px 0px 40px 0px rgba(255, 176, 32, 0.12),
              0 8px 24px rgba(11, 16, 32, 0.08);
}

html[data-theme="dark"] .faq-item:hover,
html[data-theme="dark"] .faq-item.open {
  background: #1A2542 !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  box-shadow: inset 0px 0px 40px 0px rgba(255, 176, 32, 0.14),
              0 10px 28px rgba(0, 0, 0, 0.5) !important;
}

.faq-item:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ── Item Header & Question (.framer-8qmoyl) ── */
.faq-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.faq-question {
  margin: 0;
  font-family: 'General Sans', system-ui, sans-serif;
  font-size: clamp(16px, 1.35vw, 19px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ink);
  transition: color 0.25s ease;
}

html[data-theme="dark"] .faq-question {
  color: #F5F2EB;
}

.faq-item:hover .faq-question {
  color: var(--accent);
}

/* ── Morphing Plus-Minus Cross Icon (.framer-1ikvrzl) ── */
.faq-icon {
  position: relative;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  transition: background-color 0.25s ease;
}

html[data-theme="dark"] .faq-icon {
  background: rgba(255, 255, 255, 0.08);
}

.faq-item:hover .faq-icon {
  background: var(--accent);
}

/* Horizontal & Vertical Cross Bars */
.faq-icon-h,
.faq-icon-v {
  position: absolute;
  background: var(--ink);
  border-radius: 999px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.25s ease;
}

html[data-theme="dark"] .faq-icon-h,
html[data-theme="dark"] .faq-icon-v {
  background: #ffffff;
}

.faq-item:hover .faq-icon-h,
.faq-item:hover .faq-icon-v {
  background: #ffffff;
}

.faq-icon-h {
  width: 16px;
  height: 2px;
}

.faq-icon-v {
  width: 2px;
  height: 16px;
  transform: rotate(0deg);
}

/* Open Morph: Vertical bar rotates 90deg to hide into the horizontal bar! */
.faq-item.open .faq-icon-v {
  transform: rotate(90deg);
}

/* ── Item Answer Container (.framer-1q0ti0b) ── */
.faq-answer-wrap {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.4s ease,
              padding 0.4s ease;
}

.faq-item.open .faq-answer-wrap {
  max-height: 300px;
  opacity: 1;
  padding-top: 14px;
}

.faq-answer {
  margin: 0;
  font-family: Switzer, system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.62;
  color: var(--ink2);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 14px;
}

html[data-theme="dark"] .faq-answer {
  color: #9AA7C7;
  border-top-color: rgba(255, 255, 255, 0.07);
}

/* Responsive */
@media (max-width: 600px) {
  .faq-section {
    padding: 8vh 4vw 6vh;
  }
  .faq-flow-shell {
    padding: 16px;
    border-radius: 28px;
  }
  .faq-item {
    padding: 18px 20px;
    border-radius: 18px;
  }
}
