.yh-form-shell {
  margin-top: 1.5rem;
}

.yh-form {
  --yh-gold: #f9d342;
  --yh-dark: #2f2e2a;
  --yh-dark-soft: #47463f;
  --yh-bg: #fcfaf4;
  --yh-border: #d6d0c2;
  --yh-error: #b42318;
  --yh-error-bg: #fef3f2;
  --yh-muted: #69655d;
  background: var(--yh-bg);
  border: 1px solid rgba(47, 46, 42, 0.12);
  border-radius: 18px;
  box-shadow: 0 18px 36px rgba(19, 18, 17, 0.08);
  padding: 1.5rem;
  color: var(--yh-dark);
}

.yh-form__intro {
  margin-bottom: 1.25rem;
}

.yh-form__title {
  margin: 0 0 0.35rem;
  font-family: Montserrat, sans-serif;
  font-size: 1.65rem;
  line-height: 1.1;
}

.yh-form__description {
  margin: 0;
  color: var(--yh-muted);
  line-height: 1.5;
}

.yh-form__grid,
.yh-form__row {
  display: grid;
  gap: 1rem;
}

.yh-form__row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.yh-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.yh-field__label,
.yh-consent__legend {
  font-family: Montserrat, sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--yh-dark);
}

.yh-field__required {
  color: var(--yh-error);
}

.yh-field__control {
  appearance: none;
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--yh-border);
  border-radius: 12px;
  background: #fff;
  color: var(--yh-dark);
  padding: 0.85rem 0.95rem;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.yh-field__control:focus {
  outline: none;
  border-color: rgba(249, 211, 66, 0.95);
  box-shadow: 0 0 0 4px rgba(249, 211, 66, 0.18);
}

.yh-field__control--error {
  border-color: var(--yh-error);
  box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.1);
}

.yh-select-wrap {
  position: relative;
}

.yh-select-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1rem;
  width: 10px;
  height: 10px;
  margin-top: -7px;
  border-right: 2px solid var(--yh-dark-soft);
  border-bottom: 2px solid var(--yh-dark-soft);
  transform: rotate(45deg);
  pointer-events: none;
}

.yh-field__error {
  min-height: 1.1rem;
  color: var(--yh-error);
  font-size: 0.82rem;
}

.yh-field__hint {
  color: var(--yh-muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.yh-consent {
  margin: 0;
  padding: 0;
  border: 0;
}

.yh-consent__legend {
  margin-bottom: 0.4rem;
}

.yh-consent__label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  background: #fff;
  border: 1px solid var(--yh-border);
  border-radius: 12px;
}

.yh-consent__checkbox {
  margin-top: 0.15rem;
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--yh-gold);
  flex: 0 0 auto;
}

.yh-consent__text {
  font-size: 0.79rem;
  line-height: 1.55;
  color: var(--yh-muted);
}

.yh-consent__text a {
  color: var(--yh-dark);
  text-decoration: underline;
}

.yh-form__honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.yh-form__status {
  display: none;
  margin-bottom: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  font-size: 0.94rem;
  line-height: 1.5;
}

.yh-form__status.is-error {
  display: block;
  background: var(--yh-error-bg);
  border: 1px solid rgba(180, 35, 24, 0.2);
  color: var(--yh-error);
}

.yh-form__status.is-success {
  display: block;
  background: #f0fdf4;
  border: 1px solid rgba(31, 143, 72, 0.2);
  color: #166534;
}

.yh-form__actions {
  margin-top: 1rem;
}

.yh-form__submit {
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 999px;
  background: var(--yh-gold);
  color: var(--yh-dark);
  font-family: Montserrat, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
}

.yh-form__submit:hover {
  transform: translateY(-1px);
  background: #f0c71f;
}

.yh-form__submit:disabled {
  opacity: 0.72;
  cursor: wait;
  transform: none;
}

.yh-form__turnstile {
  min-height: 66px;
}

.yh-form__turnstile-note {
  margin: 0.25rem 0 0;
  color: var(--yh-muted);
  font-size: 0.76rem;
}

.yh-form__turnstile-note a {
  color: var(--yh-dark);
}

.yh-field[hidden] {
  display: none;
}

@media (max-width: 720px) {
  .yh-form {
    padding: 1.15rem;
    border-radius: 14px;
  }

  .yh-form__row {
    grid-template-columns: 1fr;
  }

  .yh-form__title {
    font-size: 1.4rem;
  }
}
