.faq-main {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Хлебные крошки */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 24px 0 30px;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 16.1px;
  line-height: 100%;
}

.breadcrumbs a {
  color: #333333;
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumbs a:hover {
  color: #48924E;
}

.breadcrumbs span {
  color: #767676;
}

.breadcrumbs-current {
  color: #767676;
}

/* Заголовок и описание */
.faq-header {
  margin-bottom: 32px;
}

.faq-title {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 30px;
  line-height: 38px;
  color: #000000;
  margin: 0 0 16px;
}

.faq-description {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #000000;
  margin: 0;
  max-width: 900px;
}

.faq-questions {
  margin-bottom: 60px;
}

.faq-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.faq-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Карточка вопроса */
.faq-item {
  background: #FFFFFF;
  border-radius: 8px;
  overflow: hidden;
  transition: background 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.faq-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.faq-item.active {
  background: #48924E;
  box-shadow: 0 6px 18px rgba(72, 146, 78, 0.25);
}

.faq-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  gap: 16px;
}

.faq-item-question {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
  color: #000000;
  flex: 1;
  transition: color 0.3s;
}

.faq-item.active .faq-item-question {
  color: #FFFFFF;
}

/* Иконка-кружок со стрелкой */
.faq-item-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  background: #48924E;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.35s ease, transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.faq-item.active .faq-item-icon {
  background: #FFFFFF;
  transform: rotate(-180deg);
}

.faq-item-icon svg {
  width: 11px;
  height: 8px;
}

.faq-item-icon svg path {
  transition: stroke 0.3s;
  stroke-linecap: butt !important;
  stroke-linejoin: miter !important;
}

.faq-item.active .faq-item-icon svg path {
  stroke: #48924E;
}

/* Ответ */
.faq-item-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item-answer-inner {
  overflow: hidden;
  padding: 0 24px;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.3s ease, transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), padding 0.45s ease;
}

.faq-item.active .faq-item-answer {
  grid-template-rows: 1fr;
}

.faq-item.active .faq-item-answer-inner {
  opacity: 1;
  transform: translateY(0);
  padding: 0 24px 20px;
}

.faq-item-answer p {
  font-family: 'Ubuntu', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  color: #FFFFFF;
  margin: 0;
}

.faq-cta {
  margin-bottom: 0;
  overflow: visible;
  padding-top: 60px;
}

.faq-cta-inner {
  background: linear-gradient(100deg, #1D3A2A 55%, #A8A180 100%);
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  display: flex;
  align-items: stretch;
  padding: 0 0 0 0;
  position: relative;
  overflow: visible;
  min-height: 380px;
}

.faq-cta-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
  margin-left: 100px;
  padding-bottom: 64px;
}

.faq-cta-photo-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.faq-cta-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 2;
}

.faq-cta-decor {
  position: absolute;
  width: 320px;
  height: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.faq-cta-person {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
}

.faq-cta-person-name {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 100%;
  color: #FFFFFF;
  text-align: center;
}

.faq-cta-person-role {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 100%;
  color: #FFFFFF;
  text-align: center;
}

.faq-cta-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 0;
  margin-left: 120px;
}

.faq-cta-title {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 34.47px;
  color: #FFFFFF;
  margin: 0 0 8px;
}

.faq-cta-subtitle {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 22.98px;
  color: #FFFFFF;
  margin: 0 0 24px;
}

/* Форма */
.faq-cta-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 300px;
}

.faq-cta-phone {
  width: 100%;
  height: 49px;
  border-radius: 6px;
  border: none;
  background: #FFFFFF;
  box-shadow: 0px -4px 11px 0px rgba(0, 0, 0, 0.3) inset,
              0px 6px 8px 0px rgba(255, 255, 255, 0.35) inset;
  padding: 0 16px;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #333;
  outline: none;
  transition: box-shadow 0.2s;
}

.faq-cta-phone::placeholder {
  color: #999;
}

.faq-cta-phone:focus {
  box-shadow: 0 0 0 2px #48924E,
              0px -4px 11px 0px rgba(0, 0, 0, 0.3) inset,
              0px 6px 8px 0px rgba(255, 255, 255, 0.35) inset;
}

.faq-cta-submit {
  width: 100%;
  height: 50px;
  border-radius: 6px;
  border: none;
  background: #EA8F13;
  box-shadow: 0px -4px 11px 0px rgba(0, 0, 0, 0.3) inset,
              0px 6px 8px 0px rgba(255, 255, 255, 0.35) inset;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  color: #FFFFFF;
  cursor: pointer;
  transition: background 0.25s;
}

.faq-cta-submit:hover {
  background: #FFA326;
}

/* Чекбокс согласия */
.faq-cta-consent {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  cursor: pointer;
}

.faq-cta-consent input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #48924E;
  cursor: pointer;
  flex-shrink: 0;
}

.faq-cta-consent span {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 12px;
  color: #D1E2D5;
}

.faq-cta-consent a {
  color: #D1E2D5;
  text-decoration: underline;
  transition: color 0.2s;
}

.faq-cta-consent a:hover {
  color: #FFFFFF;
}

/* Правая часть — фото дома */
.faq-cta-right {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
}

.faq-cta-house {
  width: 410px;
  height: auto;
  display: block;
  margin-bottom: 0;
}

/* Ссылка в ответе */
.faq-answer-link {
  color: #000000;
  text-decoration: none;
  transition: opacity 0.2s;
}

.faq-answer-link:hover {
  opacity: 0.6;
}

@media (max-width: 1260px) {

    .faq-cta-inner {
        min-height: 380px;
    }

    .faq-cta-left {
        margin-left: 55px;
        padding-bottom: 64px;
    }

    .faq-cta-person-name {
        font-size: 18px;
    }

    .faq-cta-person-role {
        font-size: 14px;
    }

    .faq-cta-center {
        padding: 40px 0;
        margin-left: 85px;
    }

    .faq-cta-title {
        font-size: 24px;
        margin: 0 0 8px;
    }

    .faq-cta-subtitle {
        font-size: 18px;
        margin: 0 0 24px;
    }

    /* Форма */
    .faq-cta-form {
        gap: 12px;
        max-width: 270px;
    }

    .faq-cta-house {
        width: 385px;
    }

}

@media (max-width: 1000px) {

    .faq-cta-inner {
        min-height: 380px;
    }

    .faq-cta-left {
        margin-left: 55px;
        padding-bottom: 64px;
    }

    .faq-cta-photo {
        width: 150px;
        height: 150px;
    }

    .faq-cta-decor {
        width: 300px;
    }


    .faq-cta-person-name {
        font-size: 14px;
    }

    .faq-cta-person-role {
        font-size: 10px;
    }

    .faq-cta-center {
        padding: 40px 0;
        margin-left: 45px;
    }

    .faq-cta-title {
        font-size: 22px;
        margin: 0 0 8px;
    }

    .faq-cta-subtitle {
        font-size: 16px;
        margin: 0 0 22px;
    }

    /* Форма */
    .faq-cta-form {
        gap: 8px;
        max-width: 250px;
    }

    .faq-cta-house {
        width: 325px;
    }

}

@media (max-width: 768px) {

  .faq-main {
    padding: 0 12px;
  }

  .breadcrumbs {
    padding: 20px 0 20px;
    font-size: 14px;
    gap: 6px;
  }

  .faq-title {
    font-size: 22px;
    line-height: 28px;
    margin-bottom: 12px;
  }

  .faq-description {
    font-size: 14px;
    line-height: 20px;
  }

  .faq-header {
    margin-bottom: 24px;
  }

  .faq-questions {
    margin-bottom: 40px;
  }

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

  .faq-item-header {
    padding: 14px 16px;
    min-height: 64px;
    gap: 12px;
  }

  .faq-item-question {
    font-size: 15px;
    line-height: 20px;
  }

  .faq-item.active .faq-item-answer-inner {
    padding: 0 16px 16px;
  }

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

  .faq-item-answer p {
    font-size: 13px;
    line-height: 18px;
  }

  .faq-cta {
    padding-top: 0;
  }

  .faq-cta-inner {
    flex-direction: column !important;
    align-items: center !important;
    padding: 30px 0 0 0 !important;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
    overflow: hidden !important;
    min-height: unset !important;
    position: relative !important;
  }

  .faq-cta-left {
    order: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 0 20px 0 !important;
    padding: 0 20px !important;
    box-sizing: border-box;
  }

  .faq-cta-photo-wrapper {
    margin-bottom: 12px;
  }

  .faq-cta-photo {
    width: 150px;
    height: 150px;
  }

  .faq-cta-decor {
    width: 320px;
  }

  .faq-cta-person {
    align-items: center;
  }

  .faq-cta-person-name {
    font-size: 18px;
  }

  .faq-cta-person-role {
    font-size: 14px;
  }

  .faq-cta-center {
    order: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    margin: 0 !important;
    padding: 0 20px 30px 20px !important;
    box-sizing: border-box;
  }

  .faq-cta-title {
    font-size: 22px;
    line-height: 28px;
    text-align: center;
  }

  .faq-cta-subtitle {
    font-size: 16px;
    line-height: 20px;
    text-align: center;
  }

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

  .faq-cta-phone {
    height: 46px;
  }

  .faq-cta-submit {
    height: 46px;
    font-size: 15px;
  }

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

  .faq-cta-consent span {
    font-size: 12px;
    line-height: 14px;
  }

.faq-cta-right {
    order: 3;
    position: static !important;
    display: block;
    width: 100% !important;
    right: auto !important;
    bottom: auto !important;
    margin: 0 !important;
    overflow: hidden;
    height: 300px;
  }

  .faq-cta-house {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center 0%;
    display: block;
    margin: 0;
  }
}
