.section-faq {
  padding-top: clamp(10rem, 18vh, 20rem);
  padding-bottom: clamp(12rem, 26vh, 28rem);
  background: #fcfcfc;
  min-height: 100vh;
  width: 100%;
}

.faq-grid {
  max-width: 100%;

  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;

  padding: 2rem 5%;
  box-sizing: border-box;
}

.faq-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.faq-title {
  font-family: "KingRichard-Italic", sans-serif;
  font-size: clamp(2rem, 6vw, 6.75rem);
  font-style: normal;
  font-weight: 400;
  line-height: 1.05;
  color: #381809;
  text-transform: uppercase;
  text-align: left;
  width: 100%;

  opacity: 0;

  will-change: transform, opacity;
}

.faq-subtitle {
  margin-top: 3.4375rem;
  font-size: clamp(0.875rem, 1vw, 1.125rem);
  color: #381809;
  font-family: "Manrope Medium", sans-serif;
  line-height: normal;
  font-weight: 500;
  max-width: 100%;

  will-change: transform, opacity;
}

.faq-right {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #dae8eb;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.faq-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: #cbd5e1;
}

.faq-item.active {
  border-color: #3b82f6;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.faq-question {
  padding: 1.6875rem;

  min-height: 7.125rem;

  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "Manrope Regular";
  line-height: 1.15;
  font-size: clamp(1rem, 1.4vw, 1.6875rem);
  font-weight: 500;
  color: #1d1410;
  transition: all 0.3s ease;
  user-select: none;
  text-transform: uppercase;

  will-change: transofrm, opacity;
}

.faq-question span {
  width: 85%;
}

.faq-question:hover {
  background-color: lightgray;
}

.faq-icon {
  width: 32.8px;
  height: 51.95px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.5s cubic-bezier(0.7, 0, 0.3, 1);
}

.faq-item.active .faq-icon {
  transform: rotate(90deg);
}

.faq-icon svg {
  width: 32.8px;
  height: 51.95px;
  fill: currentColor;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.7, 0, 0.3, 1);
   will-change: transofrm, opacity;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer-content {
  padding: 0 24px 24px 24px;
  font-family: "Manrope Regular";
  color: #4c6a73;
  font-size: clamp(0.875rem, 1vw, 1.125rem);
  line-height: normal;
  font-weight: 500;
  width: 85%;
}

@media (max-width: 768px) {
  .faq-container {
    margin: 40px auto;
    padding: 0 16px;
  }

  .faq-title {
    font-size: 2rem;
  }

  .faq-subtitle {
    font-size: 1rem;
  }

  .faq-question {
    padding: 20px;
    font-size: 1rem;
  }

  .faq-answer-content {
    padding: 0 20px 20px 20px;
    font-size: 0.9rem;
  }
}

@media (max-width: 600px) {
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  .section-faq {
    padding-top: 5.4375rem;
    padding-bottom: 5.4375rem;
    background: #fcfcfc;
    min-height: unset;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .faq-grid {
    display: block;
    padding: 0 1rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .faq-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2.5rem;
    padding: 0;
  }

  .faq-title {
    font-family: "KingRichard-Italic", sans-serif;
    font-size: 2.5rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.14;
    color: #1d1410;
    text-transform: uppercase;
    text-align: center;
    width: 90%;
    max-width: 90%;
    box-sizing: border-box;
    margin-bottom: 2.0625rem;
  }

  .faq-title br {
    display: none;
  }

  .faq-subtitle {
    margin: 0 0 1.5rem 0;
    font-size: 0.75rem;
    color: #1d1410;
    font-family: "Manrope Medium", sans-serif;
    font-weight: 500;
    text-align: center;
    line-height: normal;
    padding: 0 0.5rem;
    width: 80%;
    max-width: 80%;
    box-sizing: border-box;
  }

  .faq-subtitle br {
    display: none;
  }

  .faq-right {
    width: 100%;
    max-width: 100%;
  }

  .faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.87rem;
    width: 100%;
    max-width: 100%;
    padding: 0;
    box-sizing: border-box;
  }

  .faq-item {
    background: #dae8eb;
    border-radius: 13px;
    box-shadow: none;
    overflow: hidden;
    margin: 0;
    transition: box-shadow 0.18s;
    border: none;
  }

  .faq-item.active {
    box-shadow: 0 2px 14px rgba(80, 110, 126, 0.14);
  }

  .faq-question {
    padding: 1.08rem 1.2rem 1.08rem 1.2rem;
    min-height: unset;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: "Manrope Medium", sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: #1d1410;
    text-transform: uppercase;
    cursor: pointer;
    user-select: none;
    background: transparent;
    border: none;
    transition: background 0.18s;
    border-radius: 13px;
  }

  .faq-question span {
    width: 90%;
    font-size: 0.875rem;
    text-align: left;
    line-height: normal;
    letter-spacing: 0;
    color: #181d23;
    font-family: "Manrope Medium", sans-serif;
  }

  .faq-question:hover {
    background-color: transparent !important;
  }

  .faq-icon {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.35s;
  }
  .faq-item.active .faq-icon {
    transform: rotate(90deg);
  }
  .faq-icon img,
  .faq-icon svg {
    width: 20px;
    height: 28px;
  }

  .faq-answer {
    max-height: 0;
    overflow: hidden;
    background: #dae8eb;
    transition: max-height 0.5s cubic-bezier(0.7, 0, 0.3, 1);
  }

  .faq-item.active .faq-answer {
    max-height: 500px;
  }

  .faq-answer-content {
    padding: 0 1.15rem 1.15rem 1.15rem;
    font-family: "Manrope Medium", sans-serif;
    color: #4c6a73;
    font-size: 0.625rem;
    line-height: normal;
    font-weight: 500;
    width: 100%;
    text-align: left;
  }
}
