/* =========================
   AY FAQ
========================= */

.ay-faq {
  padding: 20px 24px 80px;

  background: #FFF8F1;

  font-family: "Manrope", sans-serif;
}

.ay-faq-inner {
  margin: 0 auto;
  max-width: 1120px;
}

/* =========================
   HEADER
========================= */

.ay-faq-head {
  text-align: center;

  margin-bottom: 42px;
}

.ay-faq-head h2 {
  margin: 0 0 16px;

  color: var(--ay-text);

  font-size: clamp(28px, 3vw, 38px);

  line-height: 1.14;
  font-weight: 800;

  letter-spacing: -0.03em;
}

.ay-faq-head h2 span {
  color: #5A3A2A;
}

.ay-faq-head p {
  margin: 0 auto;

  color: var(--ay-muted);

  font-size: 17px;
  line-height: 1.55;
  font-weight: 500;
}

/* =========================
   FAQ LIST
========================= */

.ay-faq-list {
  display: grid;

  gap: 14px;
}

/* =========================
   FAQ ITEM
========================= */

.ay-faq-item {
  overflow: hidden;

  background: var(--ay-card-bg);

  border: 1px solid rgba(80, 48, 32, 0.08);
  border-radius: 4px;

  box-shadow: 0 5px 18px var(--ay-shadow);
}

.ay-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;

  cursor: pointer;

  padding: 21px 26px;

  color: var(--ay-text);

  list-style: none;

  font-size: 17px;
  line-height: 1.35;
  font-weight: 800;

  letter-spacing: -0.01em;
}

.ay-faq-item summary::-webkit-details-marker {
  display: none;
}

.ay-faq-item summary span {
  flex: 0 0 auto;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 28px;
  height: 28px;

  color: #74442B;

  font-size: 22px;
  line-height: 1;
  font-weight: 600;

  transition:
    transform 0.18s ease,
    color 0.18s ease;
}

.ay-faq-item[open] summary span {
  transform: rotate(45deg);

  color: var(--ay-main);
}

.ay-faq-item p {
  margin: 0;

  padding: 0 26px 22px;

  color: var(--ay-card-text);

  font-size: 15px;
  line-height: 1.55;
  font-weight: 600;
}

/* =========================
   HOVER / FOCUS
========================= */

.ay-faq-item summary:hover {
  color: #5A3A2A;
}

.ay-faq-item summary:focus-visible {
  outline: 3px solid rgba(156, 106, 67, 0.35);
  outline-offset: -3px;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {

  .ay-faq {
    padding: 0px 18px 64px;
  }

  .ay-faq-head {
    margin-bottom: 30px;
  }

  .ay-faq-head h2 {
    font-size: 26px;
    line-height: 1.14;
  }

  .ay-faq-head p {
    font-size: 16px;
    line-height: 1.55;
  }

  .ay-faq-list {
    gap: 12px;
  }

  .ay-faq-item summary {
    padding: 19px 22px;

    font-size: 16px;
    line-height: 1.35;
  }

  .ay-faq-item p {
    padding: 0 22px 20px;

    font-size: 15px;
    line-height: 1.55;
  }

}