/* ============================================================
   Packagly — product/faq.css
   Depends on: common.css (variables, reset, icon helpers)
   Responsive @media rules live in responsive.css
   ============================================================ */

/* ============================================================
   FAQ
   ============================================================ */
.faq-section {
  background: #ffffff;
  padding: 8px 0 64px;
}
.faq-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}
.faq-deco {
  width: 46px;
  height: 1px;
  background: #cdd6cb;
  position: relative;
}
.faq-deco::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  transform: translateY(-50%);
}
.faq-deco.left::after {
  right: -3px;
}
.faq-deco.right::after {
  left: -3px;
}
.faq-heading {
  margin: 0;
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: #15241b;
  text-align: center;
}
.faq-heading .accent {
  color: var(--green);
}

/* ---- accordion grid ---- */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
  align-items: start;
}
.faq-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: #f4f6f4;
  border: 1px solid #eef1ee;
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq-item.is-open {
  border-color: #dfe7d4;
}
.faq-q {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 15px 18px;
  text-align: left;
  font: inherit;
  font-weight: 600;
  font-size: 14px;
  color: #1c2b22;
}
.faq-q-ico {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.faq-q-ico img {
  width: 14px;
  height: 14px;
  filter: brightness(0) invert(1);
}
.faq-q-text {
  flex: 1 1 auto;
  min-width: 0;
}
.faq-chev {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  opacity: 0.5;
  transition: transform 0.25s ease;
}
.faq-item.is-open .faq-chev {
  transform: rotate(180deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-a-inner {
  padding: 0 18px 16px 58px;
  font-size: 13px;
  line-height: 1.6;
  color: #5d6b62;
}

/* ---- need-help bar ---- */
.faq-cta {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  background: #f4f6f4;
  border: 1px solid #eef1ee;
  border-radius: 14px;
  padding: 18px 26px;
}
.faq-cta-ico {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #eef5e3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.faq-cta-ico img {
  width: 26px;
  height: 26px;
}
.faq-cta-text {
  margin: 0;
  font-size: 14px;
  color: #5d6b62;
}
.faq-cta-text strong {
  color: #15241b;
  font-weight: 800;
  margin-right: 6px;
}
.faq-cta-btn {
  margin-left: auto;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid var(--green);
  color: var(--green);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 12px 22px;
  border-radius: 10px;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}
.faq-cta-btn img {
  width: 15px;
  height: 15px;
}
.faq-cta-btn:hover {
  background: var(--green);
  color: #fff;
}
.faq-cta-btn:hover img {
  filter: brightness(0) invert(1);
}
