/* =========================
   HG FAQ BLOCK
========================= */

.hg-faq-section {
  width: 100%;
  padding: 70px 16px;
  background: #fff;
}

.hg-faq-section * {
  box-sizing: border-box;
}

.hg-faq-container {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
}

/* TITLE */
.hg-faq-title-wrap {
  text-align: center;
  margin-bottom: 42px;
}

.hg-faq-title {
  margin: 0;
  color: #0d432f;
  font-size: 46px;
  line-height: 1.15;
  font-weight: 900;
  text-transform: uppercase;
}

.hg-faq-star-line {
  margin: 22px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: #f15a00;
}

.hg-faq-star-line::before,
.hg-faq-star-line::after {
  content: "";
  width: 78px;
  height: 2px;
  background: #f15a00;
}

.hg-faq-star-line span {
  font-size: 24px;
  line-height: 1;
}

/* LAYOUT */
.hg-faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 52px;
  align-items: center;
}

/* IMAGE */
.hg-faq-image {
  width: 100%;
  height: 560px;
  border-radius: 14px;
  overflow: hidden;
  background: #f3f3f3;
}

.hg-faq-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* RIGHT */
.hg-faq-content {
  width: 100%;
}

.hg-faq-subtitle {
  margin: 0 0 10px;
  color: #0d432f;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 900;
  text-transform: uppercase;
}

.hg-faq-small-line {
  width: 56px;
  height: 3px;
  background: #f15a00;
  margin-bottom: 34px;
}

/* ITEM */
.hg-faq-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.hg-faq-item {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.hg-faq-question {
  width: 100%;
  min-height: 72px;
  padding: 18px 24px;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 18px;
  cursor: pointer;
  text-align: left;
}

.hg-faq-q-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #0d5b42;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  font-size: 22px;
  font-weight: 900;
}

.hg-faq-q-text {
  flex: 1;
  color: #0d432f;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 900;
}

.hg-faq-arrow {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  position: relative;
}

.hg-faq-arrow::before,
.hg-faq-arrow::after {
  content: "";
  position: absolute;
  top: 9px;
  width: 12px;
  height: 2px;
  background: #98a0ad;
  transition: 0.25s ease;
}

.hg-faq-arrow::before {
  left: 0;
  transform: rotate(45deg);
}

.hg-faq-arrow::after {
  right: 0;
  transform: rotate(-45deg);
}

.hg-faq-item.is-open .hg-faq-arrow::before {
  background: #f15a00;
  transform: rotate(-45deg);
}

.hg-faq-item.is-open .hg-faq-arrow::after {
  background: #f15a00;
  transform: rotate(45deg);
}

.hg-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.hg-faq-answer-inner {
  margin: 0 24px 24px 78px;
  padding-top: 22px;
  border-top: 1px solid #e6e9ee;
  color: #626b79;
  font-size: 20px;
  line-height: 1.65;
}

.hg-faq-answer-inner p {
  margin: 0;
}

/* TABLET */
@media (max-width: 1024px) {
  .hg-faq-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hg-faq-image {
    height: 420px;
  }

  .hg-faq-title {
    font-size: 38px;
  }
}

/* MOBILE */
@media (max-width: 640px) {
  .hg-faq-section {
    padding: 44px 14px;
  }

  .hg-faq-title {
    font-size: 30px;
  }

  .hg-faq-star-line::before,
  .hg-faq-star-line::after {
    width: 48px;
  }

  .hg-faq-image {
    height: 280px;
    border-radius: 12px;
  }

  .hg-faq-subtitle {
    font-size: 23px;
  }

  .hg-faq-question {
    min-height: 64px;
    padding: 16px;
    gap: 12px;
  }

  .hg-faq-q-icon {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    font-size: 19px;
  }

  .hg-faq-q-text {
    font-size: 17px;
  }

  .hg-faq-answer-inner {
    margin: 0 16px 20px 62px;
    font-size: 15px;
    line-height: 1.6;
  }
}