/* ==========================================================================
   FAQ block (almax/faq + almax/faq-item)
   ========================================================================== */

.almax-faq__head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 15px 19px;
  margin-bottom: 20px;
}

.almax-faq__title {
  margin: 0;
  font-family: var(--font-display, "Barlow Condensed", "Barlow", system-ui, sans-serif);
  font-size: 42px;
  font-weight: 700;
  line-height: 42px;
  color: var(--text-primary);
  letter-spacing: var(--track-display, 0.02em);
  text-transform: uppercase;
}

.almax-faq__desc {
  margin: 0;
  flex: 1 1 200px;
  font-size: 12px;
  font-weight: 400;
  line-height: 17px;
  color: var(--text-secondary);
}

.almax-faq__items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.almax-faq__item {
  position: relative;
}

.almax-faq__item-wrap.almax-clip-tr {
  padding: 10px 12px;
  border-radius: 5px 0 5px 5px;
}

.almax-faq__panel {
  display: block;
}

.almax-faq__item.is-open::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 9px;
  height: 9px;
  background: var(--color-accent, #F26722);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  pointer-events: none;
  z-index: 1;
}

.almax-faq__summary {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  list-style: none;
}

.almax-faq__summary::-webkit-details-marker {
  display: none;
}

.almax-faq__summary::marker {
  content: "";
}

.almax-faq__icon {
  position: relative;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  margin-top: 2px;
  color: var(--color-accent, #F26722);
}

.almax-faq__icon::before,
.almax-faq__icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 1px;
}

.almax-faq__icon::before {
  left: 0;
  top: 50%;
  width: 14px;
  height: 2px;
  transform: translateY(-50%);
}

.almax-faq__icon::after {
  left: 50%;
  top: 0;
  width: 2px;
  height: 14px;
  transform: translateX(-50%);
  transition: opacity 0.28s ease;
}

.almax-faq__panel[open] .almax-faq__icon::after {
  opacity: 0;
}

.almax-faq__item-title {
  flex: 1;
  min-width: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
}

.almax-faq__item-body {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .almax-faq__item-body,
  .almax-faq__icon::after {
    transition: none;
  }
}

.almax-faq__panel:not([open]) .almax-faq__item-body {
  height: 0;
}

.almax-faq__item-text {
  margin: 8px 0 0 26px;
  font-size: 12px;
  font-weight: 400;
  line-height: 17px;
  color: var(--text-secondary);
}

.almax-faq__item-text p {
  margin: 0;
}

.almax-faq__item-text p + p {
  margin-top: 8px;
}
