
.zs-faqs-hero__inner {
  min-height: 540px;
  padding: 0 16%;
  display: flex;
  align-items: center;
  background-image:
    linear-gradient(90deg, rgba(0, 20, 45, 0.62) 0%, rgba(0, 24, 50, 0.26) 40%, rgba(0, 18, 40, 0.08) 100%),
    url("../img/img_faq_banner.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.zs-faqs-hero__content {
  max-width: 800px;
  color: #ffffff;
}

.zs-faqs-hero__content h2 {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 52px;
  line-height: 1.08;
  font-weight: 700;
  color: #ffffff;
}

.zs-faqs-hero__content p {
  margin: 18px 0 0;
  font-size: 18px;
  line-height: 1.65;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.94);
}

.zs-faqs-main {
  background: #f7f7f7;
  padding-bottom: 44px;
}

.zs-faqs-section {
  padding: 50px 15% 0;
  background: #f7f7f7;
}

.zs-faqs-section__inner h2 {
  margin: 0 0 16px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
  color: #1f2b37;
}

.zs-faqs-accordion {
  display: grid;
  gap: 14px;
}

.zs-faqs-item {
  background: #ffffff;
  border: 0;
  box-shadow: 0 10px 26px rgba(25, 39, 52, 0.08);
}

.zs-faqs-item__toggle {
  position: relative;
  width: 100%;
  padding: 22px 60px 22px 24px;
  border: 0;
  background: transparent;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 700;
  color: #1f2b37;
  text-align: left;
  cursor: pointer;
  transition: color 0.25s ease;
}

.zs-faqs-item.is-open .zs-faqs-item__toggle {
  color: #38c172;
}

.zs-faqs-item__toggle::before,
.zs-faqs-item__toggle::after {
  content: none;
}

.zs-faqs-item__toggle::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  width: 10px;
  height: 10px;
  border-right: 2px solid #38c172;
  border-bottom: 2px solid #38c172;
  background: transparent;
  transform: translateY(-72%) rotate(45deg);
  transform-origin: center;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.zs-faqs-item.is-open .zs-faqs-item__toggle::before {
  transform: translateY(-28%) rotate(-135deg);
}

.zs-faqs-item__panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  overflow: hidden;
  transition:
    grid-template-rows 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s ease;
}

.zs-faqs-item.is-open .zs-faqs-item__panel {
  grid-template-rows: 1fr;
  opacity: 1;
}

.zs-faqs-item__panel-inner {
  min-height: 0;
  overflow: hidden;
  padding: 0 24px 0;
  transition: padding 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.zs-faqs-item.is-open .zs-faqs-item__panel-inner {
  padding: 0 24px 22px;
}

.zs-faqs-item__panel p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  font-weight: 300;
  color: #6b7480;
}

@media (max-width: 1024px) {
  .zs-faqs-hero {
    padding: 0 0 28px;
  }

  .zs-faqs-hero__inner {
    min-height: 380px;
    padding: 0 8%;
  }

  .zs-faqs-hero__content h2 {
    font-size: 42px;
  }

  .zs-faqs-hero__content p {
    font-size: 15px;
  }

  .zs-faqs-section__inner {
    padding: 0 5%;
  }

  .zs-faqs-section__inner h2 {
    font-size: 26px;
  }
}

@media (max-width: 767px) {
  .zs-faqs-hero {
    padding: 0 0 22px;
  }

  .zs-faqs-hero__inner {
    min-height: 270px;
    padding: 24px 16px;
    align-items: center;
  }

  .zs-faqs-hero__content {
    max-width: 260px;
  }

  .zs-faqs-hero__content h2 {
    font-size: 30px;
  }

  .zs-faqs-hero__content p {
    margin-top: 12px;
    font-size: 12px;
    line-height: 1.55;
  }

  .zs-faqs-section {
    padding: 5%;

  }

  .zs-faqs-main {
    padding-bottom: 20px;
  }

  .zs-faqs-section__inner {
    padding: 0 8px;
  }

  .zs-faqs-section__inner h2 {
    margin-bottom: 12px;
    font-size: 22px;
  }

  .zs-faqs-accordion {
    gap: 8px;
  }

  .zs-faqs-item__toggle {
    padding: 16px 46px 16px 16px;
    font-size: 14px;
  }

  .zs-faqs-item__panel {
    padding: 0;
  }

  .zs-faqs-item__panel-inner {
    padding: 0 16px 0;
  }

  .zs-faqs-item.is-open .zs-faqs-item__panel-inner {
    padding: 0 16px 16px;
  }

  .zs-faqs-item__panel p {
    font-size: 12px;
    line-height: 1.65;
  }
}
