.wc-v2-form {
  display: grid;
  gap: 28px;
}

.wc-v2-form__title-wrap {
  display: grid;
  gap: 16px;
  margin-bottom: 5vw;
}

.wc-v2-form__section-title {
  font-size: 48px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.wc-v2-form__lead {
  color: var(--border-color);
  font-weight: 700;
  font-size: 20px;
  line-height: 21px;
  letter-spacing: 0%;
  vertical-align: middle;
}

.wc-v2-field {
  display: flex;
  gap: 24px;
  align-items: start;
}

.wc-v2-field__meta {
  display: flex;
  align-items: center;
  justify-items: center;
}

.wc-v2-field__label {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 700;
}

.wc-v2-field__badge {
  flex: 0 0 auto;
  min-width: 64px;
  padding: 4px 14px;
  border: 2px solid var(--wc-v2-success);
  border-radius: 999px;
  color: var(--wc-v2-success);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
  text-align: center;
}

.wc-v2-field.is-invalid .wc-v2-field__badge {
  border-color: var(--wc-v2-danger);
  color: var(--wc-v2-danger);
}

.wc-v2-field__control {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 10px;
}

.wc-v2-input,
.wc-v2-choice {
  width: 100%;
  min-height: 60px;
  padding: 16px 18px;
  color: var(--wc-v2-text);
  background: var(--wc-v2-surface);
  border: 1px solid var(--wc-v2-border);
  border-radius: var(--wc-v2-radius-sm);
  box-shadow: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wc-v2-input::placeholder {
  color: #a3aab5;
}

.wc-v2-input:focus,
.wc-v2-choice:focus {
  outline: none;
  border-color: var(--wc-v2-brand);
  box-shadow: 0 0 0 4px rgba(31, 157, 217, 0.12);
}

.wc-v2-choice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
}

.wc-v2-choice.is-placeholder {
  color: #b7bec8;
}

.wc-v2-choice__icon {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 2px solid #999;
  position: relative;
}

.wc-v2-choice__icon::before,
.wc-v2-choice__icon::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 10px;
  height: 2px;
  background: #999;
  transform: translate(-50%, -50%);
}

.wc-v2-choice__icon::after {
  width: 2px;
  height: 10px;
}

.wc-v2-choice.is-filled .wc-v2-choice__icon {
  border-color: var(--wc-v2-success);
  background: var(--wc-v2-success);
}

.wc-v2-choice.is-filled .wc-v2-choice__icon::before {
  width: 8px;
  height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  background: transparent;
  transform: translate(-50%, -60%) rotate(-45deg);
}

.wc-v2-choice.is-filled .wc-v2-choice__icon::after {
  display: none;
}

.wc-v2-input-wrap.is-invalid .wc-v2-input,
.wc-v2-input-wrap.is-invalid .wc-v2-choice {
  border-color: var(--wc-v2-danger);
  box-shadow: 0 0 0 4px rgba(255, 59, 48, 0.1);
}

.wc-v2-field__hint {
  margin: 0;
  color: var(--wc-v2-muted);
  font-size: 13px;
  line-height: 1.7;
}

.wc-v2-field__error {
  display: none;
  margin: 0;
  color: var(--wc-v2-danger);
  font-size: 13px;
  line-height: 1.6;
  font-weight: 500;
}

.wc-v2-field.is-invalid .wc-v2-field__error,
.wc-v2-field__error.is-visible {
  display: block;
}

.wc-v2-option-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.wc-v2-option {
  position: relative;
}

.wc-v2-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.wc-v2-option__card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 60px;
  padding: 14px 16px;
  background: var(--wc-v2-surface);
  border: 1px solid var(--wc-v2-border);
  border-radius: var(--wc-v2-radius-sm);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.wc-v2-option__checkbox {
  width: 28px;
  height: 28px;
  border: 2px solid var(--wc-v2-border);
  border-radius: 8px;
  background: #fff;
  position: relative;
  flex: 0 0 auto;
}

.wc-v2-option input:checked + .wc-v2-option__card {
  color: #fff;
  font-weight: 700;
  background: var(--wc-v2-brand);
  border-color: var(--wc-v2-brand);
  box-shadow: 0 14px 28px rgba(31, 157, 217, 0.18);
}

.wc-v2-option input:checked + .wc-v2-option__card .wc-v2-option__checkbox {
  border-color: rgba(255, 255, 255, 0.7);
  background: #fff;
}

.wc-v2-option input:checked + .wc-v2-option__card .wc-v2-option__checkbox::before {
  content: "";
  position: absolute;
  inset: 8px 7px 9px 8px;
  border-left: 3px solid var(--wc-v2-brand);
  border-bottom: 3px solid var(--wc-v2-brand);
  transform: rotate(-45deg);
}

.wc-v2-option-group.is-invalid .wc-v2-option__card {
  border-color: #D9D9D9;
}

.wc-v2-accordion {
  display: grid;
  gap: 12px;
}

.wc-v2-accordion__toggle-wrap {
  display: flex;
  margin-bottom: 1em;
}

.wc-v2-accordion__toggle {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--wc-v2-text);
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.wc-v2-accordion__toggle::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-right: 8px;
  background: url("/resources/images/control/icon_plus_circle-37c492070dac166a7b4a93c9ba01349a.svg") center / contain no-repeat;
  vertical-align: middle;
  flex: 0 0 auto;
}

.wc-v2-accordion.is-open .wc-v2-accordion__toggle::before {
  background-image: url("/resources/images/control/icon_minus_circle-2b8fa4e813fac21ab36d4835702b5725.svg");
}

.wc-v2-accordion__panel[hidden] {
  display: none;
}

.wc-v2-textarea {
  min-height: 148px;
  resize: vertical;
}

.wc-v2-policy {
  margin: 12px 0 0;
  text-align: center;
  color: var(--wc-v2-text);
  font-size: 18px;
  line-height: 1.8;
}

.wc-v2-policy__link {
  color: var(--wc-v2-brand);
  text-decoration: none;
}

.wc-v2-submit {
  width: min(420px, 100%);
  min-height: 82px;
  margin: 0 auto;
  padding: 20px 24px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: var(--wc-v2-accent);
  box-shadow: 0 18px 36px rgba(244, 91, 0, 0.24);
  font-size: 34px;
  line-height: 1.15;
  font-weight: 800;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.wc-v2-submit:hover:not(:disabled),
.wc-v2-submit:focus-visible:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 22px 42px rgba(244, 91, 0, 0.3);
}

.wc-v2-submit:disabled {
  background: #7f7b79;
  box-shadow: none;
  cursor: default;
}

.wc-v2-form__server-error {
  margin: 0;
  color: var(--wc-v2-danger);
  font-size: 13px;
  line-height: 1.6;
}

@media (max-width: 1023px) {
  .wc-v2-field {
    gap: 10px;
  }

  .wc-v2-field__meta {
    min-height: auto;
  }

  .wc-v2-option-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wc-v2-form__section-title {
    font-size: 28px;
  }

  .wc-v2-submit {
    min-height: 70px;
    font-size: 24px;
  }
}

@media (max-width: 767px) {
  .wc-v2-form {
    gap: 24px;
  }

  .wc-v2-field__label {
    font-size: 17px;
  }

  .wc-v2-option-grid {
    grid-template-columns: 1fr;
  }

  .wc-v2-input,
  .wc-v2-choice {
    min-height: 56px;
    padding: 14px 16px;
  }

  .wc-v2-submit {
    min-height: 66px;
    font-size: 18px;
  }

  .wc-v2-policy {
    font-size: 15px;
  }
}
