/* Hero — fluid, без наложения title/lead */
.hero-community--faq {
  overflow-x: clip;
}

.hero-community--faq,
.hero-community--faq .hero-community__content {
  height: auto;
  min-height: clamp(380px, calc(380px + (517 - 380) * (100vw - 375px) / 1065), 517px);
}

.hero-community--faq .hero-community__title {
  width: 100%;
  max-width: min(904px, calc(100vw - var(--container-padding) * 2));
  margin: 0;
  font-family: "Roboto Condensed", var(--font-heading), sans-serif;
  font-size: clamp(36px, calc(36px + 44 * (100vw - 375px) / 1065), 80px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.hero-community--faq .hero-community__lead {
  width: 100%;
  max-width: min(661px, calc(100vw - var(--container-padding) * 2));
  margin: clamp(12px, calc(12px + 8 * (100vw - 375px) / 1065), 20px) 0 0;
  font-family: "Roboto Flex", var(--font-body), sans-serif;
  font-size: clamp(16px, calc(16px + 4 * (100vw - 375px) / 1065), 20px);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0;
  color: #ffffff;
}

@media (max-width: 1439px) {
  .hero-community--faq .hero-community__content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    box-sizing: border-box;
    padding: 0 var(--container-padding) clamp(32px, calc(32px + 8 * (100vw - 500px) / 939), 40px);
  }

  .hero-community--faq .hero-community__breadcrumbs {
    position: absolute;
    top: calc(var(--header-height) + clamp(16px, calc(16px + 8 * (100vw - 500px) / 939), 24px));
    left: var(--container-padding);
    right: var(--container-padding);
    max-width: calc(100% - var(--container-padding) * 2);
  }

  .hero-community--faq .hero-community__title,
  .hero-community--faq .hero-community__lead {
    position: static;
    width: 100%;
  }

  .hero-community--faq .hero-community__title {
    max-width: min(904px, 100%);
  }

  .hero-community--faq .hero-community__lead {
    max-width: min(661px, 100%);
  }
}

/* 375–767 — hero lead виден, форма без разрыва */
@media (max-width: 767px) {
  .hero-community--faq,
  .hero-community--faq .hero-community__content {
    min-height: clamp(400px, calc(400px + 55 * (100vw - 375px) / 392), 455px);
  }

  .hero-community--faq .hero-community__lead,
  .hero-community--faq .hero-community__lead:not(.hero-community__lead--375) {
    display: block;
    position: static;
    width: 100%;
    max-width: 100%;
    margin-top: clamp(12px, calc(12px + 8 * (100vw - 375px) / 392), 16px);
    font-size: clamp(14px, calc(14px + 4 * (100vw - 375px) / 392), 18px);
    line-height: 1.3;
    color: #ffffff;
  }
}

@media (min-width: 1440px) {
  .hero-community--faq .hero-community__content {
    position: relative;
    padding: 0;
  }

  .hero-community--faq .hero-community__title {
    position: absolute;
    top: 297px;
    left: var(--container-padding);
    width: min(904px, calc(100% - var(--container-padding) * 2));
    max-width: calc(100% - var(--container-padding) * 2);
    font-size: 80px;
  }

  .hero-community--faq .hero-community__lead {
    position: absolute;
    top: 405px;
    left: var(--container-padding);
    width: min(661px, calc(100% - var(--container-padding) * 2));
    max-width: calc(100% - var(--container-padding) * 2);
    margin: 0;
    font-size: 20px;
  }
}

/* FAQ list — fluid */
.faq-list {
  background-color: var(--color-bg-gray);
  overflow-x: clip;
  padding: clamp(40px, calc(40px + 40 * (100vw - 375px) / 1065), 80px) var(--container-padding)
    clamp(32px, calc(32px + 28 * (100vw - 375px) / 1065), 60px);
}

.faq-list__inner {
  width: 100%;
  max-width: min(1361px, calc(100vw - var(--container-padding) * 2));
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  background-color: var(--color-bg-white);
  transition: box-shadow 0.2s ease;
}

.faq-item__header {
  box-sizing: border-box;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(16px, calc(16px + 8 * (100vw - 375px) / 1065), 24px);
  width: 100%;
  padding: clamp(20px, calc(20px + 10 * (100vw - 375px) / 1065), 30px);
  border: none;
  background: none;
  text-align: left;
  cursor: pointer;
  transition: padding-bottom 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-item__question {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(16px, calc(16px + 8 * (100vw - 375px) / 569), 24px);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-text-primary);
  transition: color 0.2s ease;
}

.faq-item__toggle {
  flex: 0 0 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: #939ca6;
  transition: color 0.2s ease;
}

.faq-item__toggle-icon {
  display: block;
  transform: rotate(180deg);
  transform-origin: center;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-item__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.faq-item__body-inner {
  overflow: hidden;
  min-height: 0;
  padding: 0 clamp(20px, calc(20px + 10 * (100vw - 375px) / 1065), 30px);
  opacity: 0;
  transition:
    padding-bottom 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.32s ease;
}

.faq-item.is-open .faq-item__body-inner {
  padding-bottom: clamp(20px, calc(20px + 10 * (100vw - 375px) / 1065), 30px);
  opacity: 1;
}

.faq-item__answer {
  width: 100%;
  max-width: 100%;
  margin: 0;
  font-family: "Roboto Flex", var(--font-body), sans-serif;
  font-size: clamp(16px, calc(16px + 2 * (100vw - 375px) / 1065), 18px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0;
  color: var(--color-text-secondary);
}

.faq-item__answer a {
  color: var(--Accent, #0c3eb3);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq-item__answer a:hover {
  color: var(--color-accent-card, #0c3eb3);
}

/* Hover — заголовок и кнопка синие */
.faq-item:hover .faq-item__question,
.faq-item:focus-within .faq-item__question {
  color: var(--Accent, #0c3eb3);
}

.faq-item:hover .faq-item__toggle,
.faq-item:focus-within .faq-item__toggle {
  color: var(--Accent, #0c3eb3);
}

/* Открытое состояние */
.faq-item.is-open .faq-item__toggle {
  color: var(--Accent, #0c3eb3);
}

.faq-item.is-open .faq-item__toggle-icon {
  transform: rotate(0deg);
}

.faq-item.is-open .faq-item__header {
  padding-bottom: 12px;
}

.faq-item.is-open .faq-item__question {
  color: var(--color-text-primary);
}

.faq-item.is-open:hover .faq-item__question,
.faq-item.is-open:focus-within .faq-item__question {
  color: var(--Accent, #0c3eb3);
}

/* FAQ ask form — Figma 1440, fluid base */
.faq-ask {
  background-color: var(--color-bg-gray);
  padding: 0 var(--container-padding) 120px;
  overflow-x: clip;
}

.faq-ask__inner {
  box-sizing: border-box;
  width: 100%;
  max-width: min(1361px, calc(100vw - var(--container-padding) * 2));
  min-height: 0;
  height: auto;
  margin-inline: auto;
  border-radius: 4px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  gap: clamp(40px, 5vw, 90px);
  padding: clamp(40px, 4vw, 60px) 0 0;
}

.faq-ask__intro {
  flex: 0 1 555px;
  min-width: 0;
  max-width: 555px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-ask__title {
  width: 100%;
  max-width: 100%;
  margin: 0;
  font-family: "Roboto Condensed", var(--font-heading), sans-serif;
  font-size: clamp(36px, 3.5vw, 50px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
}

.faq-ask__lead {
  width: 100%;
  max-width: 394px;
  margin: 0;
  font-family: "Roboto Flex", var(--font-body), sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--Secondary-text, #5f6062);
}

.faq-ask__form {
  flex: 0 1 630px;
  min-width: 0;
  width: auto;
  max-width: 630px;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-ask__fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.faq-ask__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
}

.faq-ask__field {
  position: relative;
  width: 100%;
  min-width: 0;
}

.faq-ask__field-label {
  display: none;
  position: absolute;
  top: 8px;
  left: 15px;
  z-index: 1;
  font-family: "Roboto Flex", var(--font-body), sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  color: #939ca6;
  pointer-events: none;
}

.faq-ask__field-error {
  display: none;
  position: absolute;
  top: 8px;
  right: 15px;
  z-index: 1;
  max-width: calc(100% - 30px);
  font-family: "Roboto Flex", var(--font-body), sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  color: #f93939;
  text-align: right;
  pointer-events: none;
}

.faq-ask__input,
.faq-ask__textarea {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin: 0;
  border: none;
  border-radius: 2px;
  background-color: var(--color-bg-white);
  box-shadow: none;
  outline: none;
  font-family: "Roboto Flex", var(--font-body), sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  color: var(--color-text-primary);
  transition: box-shadow 0.2s ease;
}

.faq-ask__field.is-focused .faq-ask__input,
.faq-ask__field.is-focused .faq-ask__textarea,
.faq-ask__field.is-filled .faq-ask__input,
.faq-ask__field.is-filled .faq-ask__textarea {
  background-color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(147, 156, 166, 0.7);
}

.faq-ask__field.is-filled .faq-ask__field-label,
.faq-ask__field.is-focused .faq-ask__field-label,
.faq-ask__field.is-error .faq-ask__field-label {
  display: block;
}

.faq-ask__field.is-error .faq-ask__field-error {
  display: block;
}

.faq-ask__field.is-filled .faq-ask__input,
.faq-ask__field.is-focused .faq-ask__input,
.faq-ask__field.is-error .faq-ask__input,
.faq-ask__field.is-filled .faq-ask__textarea,
.faq-ask__field.is-focused .faq-ask__textarea,
.faq-ask__field.is-error .faq-ask__textarea {
  padding-top: 24px;
}

.faq-ask__field.is-filled .faq-ask__input::placeholder,
.faq-ask__field.is-focused .faq-ask__input::placeholder,
.faq-ask__field.is-error .faq-ask__input::placeholder,
.faq-ask__field.is-filled .faq-ask__textarea::placeholder,
.faq-ask__field.is-focused .faq-ask__textarea::placeholder,
.faq-ask__field.is-error .faq-ask__textarea::placeholder {
  color: transparent;
}

.faq-ask__field.is-error .faq-ask__input,
.faq-ask__field.is-error .faq-ask__textarea {
  box-shadow: inset 0 0 0 1px #f93939;
}

.faq-ask__field.is-error .faq-ask__input:hover,
.faq-ask__field.is-error .faq-ask__textarea:hover,
.faq-ask__field.is-error .faq-ask__input:focus,
.faq-ask__field.is-error .faq-ask__textarea:focus {
  box-shadow: inset 0 0 0 1px #f93939;
}

.faq-ask__input {
  height: 60px;
  padding: 10px 15px;
}

.faq-ask__input::placeholder,
.faq-ask__textarea::placeholder {
  font-family: "Roboto Flex", var(--font-body), sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  color: #939ca6;
  opacity: 1;
}

.faq-ask__textarea {
  min-height: 100px;
  height: 100px;
  padding: 15px;
  resize: none;
  line-height: 1.4;
}

.faq-ask__consent {
  box-sizing: border-box;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  padding-inline: 0;
  cursor: pointer;
}

.faq-ask__consent-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.faq-ask__consent-box {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 2px;
  border: 1px solid var(--color-accent-card);
  background-color: var(--color-bg-white);
  background-repeat: no-repeat;
  background-position: center;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.faq-ask__consent-input:checked + .faq-ask__consent-box {
  background-color: var(--color-accent-card);
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='9' viewBox='0 0 12 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4.5L4.5 8L11 1' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.faq-ask__consent-text {
  flex: 1 1 auto;
  font-family: "Roboto Flex", var(--font-body), sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: 0;
  color: var(--Tetriary-text, var(--color-text-tertiary, #8a8e92));
}

.faq-ask__consent-text a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq-ask__consent-text a:hover {
  color: var(--color-accent-card);
}

.faq-ask__submit {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  width: 219px;
  height: 50px;
  padding: 0 4px 0 30px;
  border: 1px solid var(--color-accent-card);
  border-radius: 0;
  background: transparent;
  color: var(--color-accent-card);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.faq-ask__submit:hover,
.faq-ask__submit:focus-visible {
  background-color: var(--color-accent-card);
  color: #ffffff;
}

.faq-ask__submit-text {
  font-family: "Roboto Flex", var(--font-body), sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

.faq-ask__submit-icon {
  width: 8px;
  height: 8px;
  background-color: currentColor;
}

@media (min-width: 1025px) and (max-width: 1200px) {
  :root {
    --container-padding: clamp(32px, calc(32px + 8 * (1200px - 100vw) / 175), 40px);
  }

  .faq-list__inner {
    max-width: min(1134px, calc(100vw - var(--container-padding) * 2));
  }

  .faq-ask__inner {
    flex-direction: row;
    max-width: min(1134px, calc(100vw - var(--container-padding) * 2));
    gap: clamp(32px, calc(32px + 16 * (100vw - 1025px) / 175), 48px);
    padding: clamp(40px, calc(40px + 10 * (100vw - 1025px) / 175), 50px) 0 0;
  }

  .faq-ask__intro {
    flex: 1 1 0;
    max-width: min(480px, 46%);
  }

  .faq-ask__title {
    font-size: clamp(38px, calc(38px + 4 * (100vw - 1025px) / 175), 42px);
  }

  .faq-ask__form {
    flex: 1 1 0;
    max-width: min(560px, 54%);
  }
}

/* 1201–1439 — fluid desktop */
@media (min-width: 1201px) and (max-width: 1439px) {
  .faq-list__inner {
    max-width: min(
      calc(1134px + (1361 - 1134) * (100vw - 1200px) / 240),
      calc(100vw - var(--container-padding) * 2)
    );
  }

  .faq-ask__inner {
    max-width: min(
      calc(1134px + (1361 - 1134) * (100vw - 1200px) / 240),
      calc(100vw - var(--container-padding) * 2)
    );
    gap: clamp(48px, calc(48px + 42 * (100vw - 1200px) / 240), 90px);
    padding: clamp(50px, calc(50px + 10 * (100vw - 1200px) / 240), 60px) 0 0;
  }

  .faq-ask__intro {
    flex: 1 1 0;
    max-width: clamp(460px, 42%, 555px);
  }

  .faq-ask__form {
    flex: 1 1 0;
    max-width: clamp(520px, 48%, 630px);
  }

  .faq-ask__title {
    font-size: clamp(42px, calc(42px + 8 * (100vw - 1200px) / 240), 50px);
  }
}

@media (min-width: 1440px) {
  .faq-ask__inner {
    max-width: min(1361px, calc(100vw - var(--container-padding) * 2));
    gap: 90px;
    padding: 60px 0 0;
  }

  .faq-ask__intro {
    flex: 0 1 555px;
    max-width: 555px;
  }

  .faq-ask__form {
    flex: 0 1 630px;
    max-width: 630px;
    margin-left: auto;
  }

  .faq-ask__title {
    font-size: 50px;
  }
}

@media (min-width: 944px) and (max-width: 1128px) {
  .faq-list {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .faq-list__inner {
    max-width: min(
      calc(944px + (1128 - 944) * (100vw - 944px) / 184),
      calc(100vw - var(--container-padding) * 2)
    );
  }

  .faq-item__question {
    font-weight: 500;
  }

  .faq-ask {
    padding-bottom: 120px;
  }

  .faq-ask__inner {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    max-width: min(
      calc(944px + (1128 - 944) * (100vw - 944px) / 184),
      calc(100vw - var(--container-padding) * 2)
    );
    gap: clamp(24px, calc(24px + 24 * (100vw - 944px) / 184), 48px);
    min-height: 0;
    height: auto;
    padding: 40px 0 0;
  }

  .faq-ask__intro {
    flex: 1 1 0;
    max-width: min(400px, 48%);
    gap: 15px;
  }

  .faq-ask__title {
    width: 100%;
    max-width: 100%;
    font-size: clamp(36px, calc(36px + 4 * (100vw - 944px) / 184), 40px);
    line-height: 1.2;
    letter-spacing: -0.02em;
  }

  .faq-ask__lead {
    width: 100%;
    max-width: 100%;
    font-size: 16px;
    line-height: 1.2;
  }

  .faq-ask__form {
    flex: 1 1 0;
    width: auto;
    max-width: clamp(400px, 52%, 461px);
    margin-top: 0;
    gap: clamp(20px, calc(20px + 10 * (100vw - 944px) / 184), 30px);
  }

  .faq-ask__consent {
    padding-inline: 0;
  }
}

@media (min-width: 688px) and (max-width: 943px) {
  .faq-list {
    padding-top: clamp(48px, calc(48px + 7 * (100vw - 688px) / 255), 55px);
    padding-bottom: 40px;
  }

  .faq-ask {
    padding-bottom: 120px;
  }

  .faq-ask__inner {
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: clamp(28px, calc(28px + 4 * (100vw - 688px) / 255), 32px);
    min-height: 0;
    height: auto;
    padding: 0;
    max-width: min(1361px, calc(100vw - var(--container-padding) * 2));
  }

  .faq-ask__intro,
  .faq-ask__form {
    flex: none;
    width: 100%;
    max-width: 100%;
  }

  .faq-ask__form {
    margin-top: 0;
    align-self: stretch;
    gap: 15px;
  }

  .faq-ask__fields {
    width: 100%;
    max-width: 100%;
    gap: 15px;
  }

  .faq-ask__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(15px, calc(15px + 5 * (100vw - 688px) / 255), 20px);
  }

  .faq-ask__input {
    width: 100%;
    height: 50px;
    padding: 10px 15px;
  }

  .faq-ask__textarea {
    width: 100%;
    max-width: 100%;
    height: 100px;
    min-height: 100px;
    padding: 15px;
  }

  .faq-ask__consent {
    width: 100%;
    max-width: 100%;
    min-height: 36px;
    padding-inline: 0;
  }

  .faq-ask__title {
    width: 100%;
    max-width: 100%;
    font-size: clamp(36px, calc(36px + 4 * (100vw - 688px) / 255), 40px);
    line-height: 1.2;
    letter-spacing: -0.02em;
  }

  .faq-ask__lead {
    width: 100%;
    max-width: 100%;
    font-size: 16px;
    line-height: 1.2;
  }
}

/* 500–687 — колонка на всю ширину */
@media (min-width: 500px) and (max-width: 687px) {
  :root {
    --container-padding: clamp(20px, calc(20px + 4 * (100vw - 500px) / 187), 24px);
  }

  .hero-community--faq,
  .hero-community--faq .hero-community__content {
    min-height: clamp(400px, calc(400px + 55 * (100vw - 500px) / 187), 455px);
  }

  .faq-list {
    padding-top: 40px;
    padding-bottom: 32px;
  }

  .faq-item__question {
    font-weight: 500;
  }

  .faq-ask {
    padding-bottom: 80px;
  }

  .faq-ask__inner {
    flex-direction: column;
    gap: 20px;
    max-width: min(1361px, calc(100vw - var(--container-padding) * 2));
    padding: 20px 0 0;
  }

  .faq-ask__intro,
  .faq-ask__form,
  .faq-ask__fields,
  .faq-ask__textarea,
  .faq-ask__consent {
    width: 100%;
    max-width: 100%;
  }

  .faq-ask__title {
    font-size: clamp(30px, calc(30px + 2 * (100vw - 500px) / 187), 32px);
  }

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

  .faq-ask__input {
    height: 50px;
  }
}

@media (max-width: 687px) {
  .faq-ask {
    padding-bottom: 80px;
  }

  .faq-ask__inner {
    gap: 20px;
    padding: 20px 0 0;
  }

  .faq-ask__form {
    gap: 15px;
  }

  .faq-ask__fields {
    gap: 12px;
  }

  .faq-ask__input {
    height: 50px;
    padding: 10px 15px;
    font-size: 14px;
  }

  .faq-ask__field.is-filled .faq-ask__input,
  .faq-ask__field.is-focused .faq-ask__input,
  .faq-ask__field.is-error .faq-ask__input {
    padding-top: 22px;
  }

  .faq-ask__textarea {
    height: 100px;
    min-height: 100px;
    padding: 15px;
    font-size: 14px;
  }

  .faq-ask__field.is-filled .faq-ask__textarea,
  .faq-ask__field.is-focused .faq-ask__textarea,
  .faq-ask__field.is-error .faq-ask__textarea {
    padding-top: 24px;
  }

  .faq-ask__input::placeholder,
  .faq-ask__textarea::placeholder {
    font-size: 14px;
  }
}

@media (max-width: 499px) {
  .hero-community--faq,
  .hero-community--faq .hero-community__content {
    min-height: 360px;
  }

  .hero-community--faq .hero-community__content {
    padding-bottom: 40px;
  }

  .hero-community--faq .hero-community__breadcrumbs {
    top: calc(var(--header-height) + 16px);
  }

  .faq-list {
    padding: 40px var(--container-padding) 32px;
  }

  .faq-item__header {
    gap: 16px;
    padding: 20px;
  }

  .faq-item__body-inner {
    padding: 0 20px;
  }

  .faq-item.is-open .faq-item__body-inner {
    padding-bottom: 20px;
  }

  .faq-item__question {
    font-size: 16px;
    font-weight: 600;
  }

  .faq-ask {
    padding-bottom: 80px;
  }

  .faq-ask__inner {
    flex-direction: column;
    gap: 20px;
    min-height: 0;
    height: auto;
    padding: 20px 0 0;
    max-width: min(1361px, calc(100vw - var(--container-padding) * 2));
  }

  .faq-ask__intro,
  .faq-ask__form,
  .faq-ask__fields,
  .faq-ask__textarea,
  .faq-ask__consent {
    width: 100%;
    max-width: 100%;
  }

  .faq-ask__title {
    width: auto;
    font-size: 28px;
  }

  .faq-ask__lead {
    width: auto;
    font-size: 16px;
  }

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

  .faq-ask__consent {
    padding-inline: 0;
  }

  .faq-ask__submit {
    width: 100%;
    max-width: 228px;
  }
}

/* Mobile — после базовых стилей (иначе row / space-between / flex-basis перебивают колонку) */
@media (max-width: 767px) {
  .faq-ask {
    padding-bottom: 80px;
  }

  .faq-ask__inner {
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 20px;
    min-height: 0;
    height: auto;
    padding: 20px 0 0;
    max-width: min(1361px, calc(100vw - var(--container-padding) * 2));
  }

  .faq-ask__intro,
  .faq-ask__form {
    flex: none;
    width: 100%;
    max-width: 100%;
  }

  .faq-ask__title {
    font-size: clamp(28px, calc(28px + 12 * (100vw - 375px) / 392), 40px);
  }

  .faq-ask__lead {
    max-width: 100%;
    font-size: 16px;
  }

  .faq-ask__form {
    gap: 15px;
    margin-top: 0;
  }

  .faq-ask__fields {
    gap: 12px;
  }

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

  .faq-ask__input {
    height: 50px;
    padding: 10px 15px;
    font-size: 14px;
  }

  .faq-ask__field.is-filled .faq-ask__input,
  .faq-ask__field.is-focused .faq-ask__input,
  .faq-ask__field.is-error .faq-ask__input {
    padding-top: 22px;
  }

  .faq-ask__textarea {
    height: 100px;
    min-height: 100px;
    padding: 15px;
    font-size: 14px;
  }

  .faq-ask__field.is-filled .faq-ask__textarea,
  .faq-ask__field.is-focused .faq-ask__textarea,
  .faq-ask__field.is-error .faq-ask__textarea {
    padding-top: 24px;
  }

  .faq-ask__input::placeholder,
  .faq-ask__textarea::placeholder {
    font-size: 14px;
  }

  .faq-ask__consent {
    padding-inline: 0;
  }

  .faq-ask__submit {
    width: 100%;
    max-width: 228px;
  }
}

/* 1024–1439: форма — серая плашка на всю ширину, отступы 40px (как home-question) */
@media (min-width: 1024px) and (max-width: 1439px) {
  .faq-ask {
    padding: 0;
  }

  .faq-ask__inner {
    width: 100%;
    max-width: none;
    margin: 0;
    border-radius: 0;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    gap: 40px;
    padding: 120px 40px;
    box-sizing: border-box;
  }

  .faq-ask__intro {
    flex: 1 1 483px;
    width: auto;
    max-width: 555px;
    min-width: min(483px, 100%);
  }

  .faq-ask__title {
    width: 100%;
    max-width: 491px;
    font-size: 40px;
  }

  .faq-ask__lead {
    width: 326px;
    max-width: 100%;
    font-size: 16px;
  }

  .faq-ask__form {
    flex: 1 1 461px;
    width: auto;
    max-width: 630px;
    min-width: min(461px, 100%);
    margin-left: 0;
    gap: 20px;
  }

  .faq-ask__consent {
    padding-inline: 0;
  }
}

/* 1024–1200: intro и form в одну строку */
@media (min-width: 1024px) and (max-width: 1200px) {
  .faq-ask__inner {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: clamp(20px, calc(20px + 20 * (100vw - 1024px) / 176), 40px);
  }

  .faq-ask__intro {
    flex: 0 1 48%;
    min-width: 0;
    max-width: 555px;
  }

  .faq-ask__title,
  .faq-ask__lead {
    width: 100%;
    max-width: 100%;
  }

  .faq-ask__form {
    flex: 1 1 52%;
    min-width: 0;
    max-width: 630px;
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-item__body,
  .faq-item__body-inner,
  .faq-item__header,
  .faq-item__toggle-icon {
    transition: none;
  }
}
