/* =========================================================
   Voctos — FAQ accordion
   ========================================================= */

.voctos-faq-block {
  width: 100%;
  background: #eef0f5;
  font-family: 'Unbounded', sans-serif;
  color: #0D172D;
  padding: 50px 0;
  --faq-accent: #cad63a;
}

.voctos-faq-block .faq-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}

.voctos-faq-block .faq-card {
  background: #fff;
  border-radius: 32px;
  padding: 40px 56px 24px;
  box-shadow: 0 20px 50px rgba(13, 23, 45, .05);
}

/* heading */
.voctos-faq-block .faq-head {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 14px;
}

.voctos-faq-block .faq-icon {
  flex: none;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--faq-accent, #cad63a);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.voctos-faq-block .faq-icon svg { width: 30px; height: 30px; }
.voctos-faq-block .faq-icon img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }

.voctos-faq-block .faq-title {
  font-family: 'Unbounded', sans-serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.1;
  margin: 0;
}

/* items */
.voctos-faq-block .faq-item {
  border-top: 1px solid rgba(13, 23, 45, .12);
}

.voctos-faq-block .faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: none;
  border: 0;
  padding: 26px 0;
  cursor: pointer;
  text-align: left;
  font-family: 'Unbounded', sans-serif;
  color: #0D172D;
}

.voctos-faq-block .faq-q-text {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
}

/* plus / minus circle */
.voctos-faq-block .faq-plus {
  position: relative;
  flex: none;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(13, 23, 45, .35);
  color: #0D172D;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .25s ease, border-color .25s ease, color .25s ease;
}

/* draw the +/- with CSS bars so the vertical bar can hide when open */
.voctos-faq-block .faq-plus svg { display: none; }

.voctos-faq-block .faq-plus::before,
.voctos-faq-block .faq-plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
  border-radius: 2px;
  transition: opacity .25s ease, transform .25s ease;
}

/* horizontal bar */
.voctos-faq-block .faq-plus::before {
  width: 20px;
  height: 2px;
  transform: translate(-50%, -50%);
}

/* vertical bar */
.voctos-faq-block .faq-plus::after {
  width: 2px;
  height: 20px;
  transform: translate(-50%, -50%);
}

/* open: hide the vertical bar -> minus, and tint the circle */
.voctos-faq-block .faq-item.is-open .faq-plus {
  background: var(--faq-accent, #cad63a);
  border-color: var(--faq-accent, #cad63a);
}

.voctos-faq-block .faq-item.is-open .faq-plus::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg);
}

.voctos-faq-block .faq-q:hover .faq-plus {
  background: var(--faq-accent, #cad63a);
  border-color: var(--faq-accent, #cad63a);
}

/* answer — animated height via grid rows */
.voctos-faq-block .faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .32s ease;
}

.voctos-faq-block .faq-item.is-open .faq-a {
  grid-template-rows: 1fr;
}

.voctos-faq-block .faq-a-inner {
  overflow: hidden;
}

.voctos-faq-block .faq-item.is-open .faq-a-inner {
  padding-bottom: 26px;
}

.voctos-faq-block .faq-a-inner,
.voctos-faq-block .faq-a-inner p {
  font-family: 'Unbounded', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
  color: #6b7280;
}

.voctos-faq-block .faq-a-inner p { margin: 0 0 12px; }
.voctos-faq-block .faq-a-inner p:last-child { margin-bottom: 0; }
.voctos-faq-block .faq-a-inner a { color: var(--faq-accent, #cad63a); }

/* connected bullet list (dots joined by a vertical dotted line) */
.voctos-faq-block .faq-a-inner ul {
  list-style: none;
  margin: 4px 0 14px;
  padding: 0;
}

.voctos-faq-block .faq-a-inner ul li {
  position: relative;
  padding: 0 0 14px 30px;
  line-height: 1.5;
}

.voctos-faq-block .faq-a-inner ul li:last-child {
  padding-bottom: 0;
}

/* the dot */
.voctos-faq-block .faq-a-inner ul li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: .42em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #8b93a3;
}

/* the connecting dotted line to the next dot */
.voctos-faq-block .faq-a-inner ul li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 1.5em;
  bottom: -1px;
  border-left: 1px solid #b3b9c6;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .voctos-faq-block { padding: 50px 0; }
  .voctos-faq-block .faq-card { padding: 28px 22px 16px; border-radius: 24px; }
  .voctos-faq-block .faq-icon { width: 52px; height: 52px; }
  .voctos-faq-block .faq-title { font-size: 24px; }
  .voctos-faq-block .faq-plus { width: 44px; height: 44px; }
  .voctos-faq-block .faq-q { padding: 20px 0; }
}
