/* ==================== FAQ PAGE ==================== */


.faq-hero {
  padding: 20px 0 0;
}

.faq-hero .container {
  max-width: 1720px;
  padding: 0 20px;
}

.faq-hero__inner {
  border-radius: 22px;
  background: linear-gradient(174deg, #adbbc4 6%, #f5f2f2 79%);
  padding: calc(var(--header-top) + var(--header-height-desktop)) 60px 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.faq-hero .breadcrumb__list {
  justify-content: flex-start;
}

.faq-hero__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
  width: 100%;
}

.faq-hero__title {
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.28px;
  background: var(--gradient-heading);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
}

.faq-hero__subtitle {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.09px;
  color: #111;
  margin: 0;
}


.faq-section {
  padding: 60px 20px 60px;
}

.faq-section__inner {
  max-width: 1220px;
  margin: 0 auto;
}

.faq-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 40px;
  align-items: start;
}

.faq-item {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 8px 0 rgba(147, 147, 147, 0.2);
  overflow: hidden;
}

.faq-item__trigger {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 14px 16px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: background var(--transition);
}

.faq-item__trigger:hover {
  background: rgba(0, 0, 0, 0.02);
}

.faq-item__question {
  flex: 1;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: #4b5563;
}

.faq-item__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  transition: transform 0.35s ease;
}

.faq-item--open .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.faq-item--open .faq-item__answer {
  grid-template-rows: 1fr;
}

.faq-item__answer-inner {
  overflow: hidden;
}

.faq-item__answer-inner p {
  margin: 0;
  padding: 4px 16px 16px;
  font-size: 14px;
  line-height: 1.6;
  color: #4b5563;
}


.faq-cta {
  padding: 0 20px 80px;
}

.faq-cta__inner {
  max-width: 1220px;
  margin: 0 auto;
}

.faq-cta__card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(to right, #e1dbd2 0%, #a4907e 100%);
}

.faq-cta__card-img {
  position: absolute;
  left: 0;
  top: 0;
  width: 55%;
  height: 100%;
  background: url('../img/faq/form-bg.png') left center / cover no-repeat;
  -webkit-mask-image: linear-gradient(to right, black 30%, transparent 90%);
  mask-image: linear-gradient(to right, black 30%, transparent 90%);
  pointer-events: none;
}

.faq-cta__content {
  position: relative;
  z-index: 1;
  max-width: 1078px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.faq-cta__text {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-cta__title {
  font-size: 40px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
}

.faq-cta__desc {
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: -0.07px;
  color: #fff;
  margin: 0;
}

.faq-cta-form__row {
  display: flex;
  gap: 16px;
  align-items: center;
}

.faq-cta-form__field {
  flex: 1;
  min-width: 0;
}

.faq-cta-form__input {
  width: 100%;
  height: 56px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: none;
  border-radius: 8px;
  padding: 0 24px;
  font-size: 16px;
  font-family: inherit;
  color: #111;
  outline: none;
  box-sizing: border-box;
  transition: background var(--transition);
}

.faq-cta-form__input::placeholder {
  color: rgba(0, 0, 0, 0.5);
}

.faq-cta-form__input:focus {
  background: rgba(255, 255, 255, 0.8);
}

.faq-cta-form__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 56px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0 28px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  letter-spacing: 0.32px;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  box-shadow: 0 8px 10px 0 rgba(115, 26, 26, 0.1);
  transition: opacity var(--transition);
}

.faq-cta-form__btn:hover {
  opacity: 0.85;
}

.faq-cta-form__btn svg {
  display: block;
  flex-shrink: 0;
}


@media (max-width: 1199px) {
  .faq-hero__inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .faq-hero__title {
    font-size: 44px;
  }

  .faq-list {
    gap: 8px 24px;
  }
}

@media (max-width: 1023px) {
  .faq-hero {
    padding: 0;
  }

  .faq-hero .container {
    padding: 0;
  }

  .faq-hero__inner {
    border-radius: 0;
    padding: calc(var(--header-height-mobile) + 30px) 30px 36px;
    gap: 24px;
  }

  .faq-hero__title {
    font-size: 36px;
  }

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

  .faq-section {
    padding: 40px 20px 48px;
  }

  .faq-cta {
    padding: 0 20px 60px;
  }

  .faq-cta__title {
    font-size: 32px;
  }

  .faq-cta-form__row {
    flex-direction: column;
    align-items: stretch;
  }

  .faq-cta-form__btn {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .faq-hero__inner {
    padding: calc(var(--header-height-mobile) + 20px) 16px 32px;
    gap: 20px;
  }

  .faq-hero__title {
    font-size: 28px;
  }

  .faq-hero__subtitle {
    font-size: 15px;
  }

  .faq-section {
    padding: 32px 16px 40px;
  }

  .faq-list {
    grid-template-columns: 1fr;
    gap: 8px;
  }

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

  .faq-cta__card {
    display: flex;
    flex-direction: column;
  }

  .faq-cta__card-img {
    width: 100%;
    height: 180px;
    position: relative;
    -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
  }

  .faq-cta__content {
    padding: 24px 16px 32px;
  }

  .faq-cta__text {
    text-align: left;
  }

  .faq-cta__title {
    font-size: 24px;
  }
}
