/* Formulare site + consimțământ GDPR */
.site-form-wrap {
  margin-top: 2.5rem;
  padding: 1.75rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 39, 68, 0.08);
  border-radius: 16px;
  box-shadow: 0 12px 36px rgba(15, 39, 68, 0.08);
}

.site-form-wrap__title {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--home-title-on-light);
}

.site-form-wrap__intro {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  color: var(--home-body-on-light);
}

.site-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.site-form--card {
  margin-top: 1.5rem;
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.site-form__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.site-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.site-form__label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--home-subtitle-on-light);
}

.site-form__field input,
.site-form__field textarea {
  width: 100%;
  padding: 0.72rem 0.9rem;
  font: inherit;
  font-size: 0.95rem;
  color: var(--home-subtitle-on-light);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-form__field input:focus,
.site-form__field textarea:focus {
  outline: none;
  border-color: rgba(255, 106, 0, 0.45);
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.12);
}

.site-form__field textarea {
  resize: vertical;
  min-height: 110px;
}

.site-form__submit {
  align-self: flex-start;
  margin-top: 0.25rem;
}

.site-form__success {
  margin: 1rem 0 0;
  padding: 1rem 1.1rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #166534;
  background: #ecfdf3;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
}

.form-consent__label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
}

.form-consent__input {
  flex-shrink: 0;
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.15rem;
  accent-color: var(--orange);
}

.form-consent__text {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--home-subtitle-on-light);
}

.form-consent__link {
  color: var(--home-subtitle-on-light);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-consent__link:hover {
  color: var(--home-title-on-light);
}

.form-consent--error .form-consent__text {
  color: #b45309;
}

.form-consent__error {
  margin: 0.35rem 0 0 1.7rem;
  font-size: 0.82rem;
  color: #dc2626;
}

.page-section__inner--wide {
  max-width: 760px;
}

@media (max-width: 640px) {
  .site-form__grid {
    grid-template-columns: 1fr;
  }

  .site-form-wrap,
  .site-form--card {
    padding: 1.25rem;
  }

  .site-form__submit {
    width: 100%;
  }
}
