/* Sky Accounting — FAQ page */

.faq-top {
  position: relative;
  padding: 182px 0 0;
}

.faq-top::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 430px;
  background: radial-gradient(1150px 680px at 50% -260px, #b5eeff 0%, #b5eeff 22%, rgba(181, 238, 255, 0.85) 46%, rgba(181, 238, 255, 0.5) 64%, rgba(181, 238, 255, 0) 85%);
  pointer-events: none;
}

.faq-intro {
  position: relative;
  text-align: center;
  margin-bottom: 78px;
}

.faq-title {
  margin: 0;
  font-family: Montserrat, sans-serif;
  font-size: clamp(30px, 3.9vw, 56px);
  font-weight: 800;
  line-height: 1.12;
  color: var(--ink);
}

.faq-subtitle {
  margin: 8px auto 0;
  max-width: 600px;
  font-size: 20px;
  line-height: 1.4;
  color: var(--ink-soft);
}

.faq-list {
  position: relative;
}

.faq-accordion {
  display: grid;
  width: min(1028px, calc(100% - 40px));
  gap: 22px;
  margin-inline: auto;
}

.faq-item {
  position: relative;
  border: 1px solid var(--cyan);
  border-radius: 8px;
  background: #fff;
  transition: box-shadow .3s ease;
}

.faq-item[open] {
  min-height: 220px;
  box-shadow: 0 22px 42px -12px rgba(0, 195, 255, .38);
}

.faq-item[open] .faq-question {
  padding-top: 23px;
}


.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 36px 16px 32px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question span {
  font-size: 25px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  transition: color 0.2s ease;
}

.faq-question:hover span {
  color: var(--cyan-deep);
}

.faq-chevron {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  color: var(--cyan);
  transition: transform 0.3s var(--ease);
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 16px 32px 0;
}

.faq-answer p {
  margin: 0;
  max-width: 840px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.28;
}

.faq-cta-section {
  padding: 117px 0 101px;
}

.faq-cta {
  position: relative;
  height: 273px;
  padding: 48px 0 44px 95px;
  border-radius: 14px;
  overflow: hidden;
}

.faq-cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.faq-cta-copy {
  position: relative;
  max-width: 560px;
}

.faq-cta-copy h2 {
  margin: 0;
  font-family: Montserrat, sans-serif;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.16;
  color: var(--ink);
}

.faq-cta-copy p {
  margin: 2px 0 0;
  max-width: 560px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
}

.faq-cta-action {
  position: absolute;
  right: 103px;
  bottom: 47px;
}

@media (max-width: 900px) {
  .faq-top {
    padding: 148px 0 0;
  }

  .faq-intro {
    margin-bottom: 44px;
  }


  .faq-item[open] {
    min-height: 0;
  }


  .faq-question {
    padding: 14px 22px;
  }

  .faq-question span {
    font-size: 17px;
  }

  .faq-answer {
    padding: 12px 22px 0;
  }

  .faq-answer p {
    font-size: 15px;
    line-height: 1.4;
  }

  .faq-cta-section {
    padding: 70px 0 56px;
  }

  .faq-cta {
    height: auto;
    min-height: 250px;
    padding: 40px 28px 44px 32px;
  }

  .faq-cta-copy {
    max-width: 100%;
  }

  .faq-cta-copy h2 {
    font-size: 27px;
  }

  .faq-cta-copy p {
    font-size: 18px;
    margin-top: 10px;
  }

  .faq-cta-action {
    position: static;
    margin-top: 24px;
  }
}

@media (max-width: 600px) {
  .faq-top {
    padding: 124px 0 0;
  }

  .faq-title {
    font-size: 27px;
  }

  .faq-subtitle {
    font-size: 16px;
  }

  .faq-accordion {
    gap: 14px;
  }

  .faq-question {
    gap: 14px;
    padding: 13px 16px;
  }

  .faq-question span {
    font-size: 15.5px;
  }

  .faq-answer {
    padding: 10px 16px 12px;
  }

  .faq-answer p {
    font-size: 14px;
  }

  .faq-cta-section {
    padding: 56px 0 48px;
  }

  .faq-cta {
    min-height: 0;
    padding: 32px 22px;
  }

  .faq-cta-copy h2 {
    font-size: 24px;
  }

  .faq-cta-copy p {
    font-size: 16px;
  }
}
