/* CONTACT */

#kontakt .section-title {
  margin-bottom: 26px;
}

#kontakt .section-lead {
  display: none;
}

.contact-wrap.single-contact {
  display: block;
}

.contact-wrap .card {
  padding: 30px;
}

form {
  display: grid;
  gap: 18px;
}

.two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-weight: 700;
  color: var(--text);
}

.req {
  color: var(--danger);
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  padding: 15px 16px;
  outline: none;
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    background var(--transition);
}

input::placeholder,
textarea::placeholder {
  color: #8399a1;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(79, 178, 196, 0.66);
  box-shadow: 0 0 0 4px rgba(79, 178, 196, 0.16);
  background: #ffffff;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.checkbox-field {
  margin-top: -2px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(79, 178, 196, 0.05);
  cursor: pointer;
  transition:
    border-color var(--transition),
    background var(--transition),
    box-shadow var(--transition);
}

.checkbox-label:hover {
  background: rgba(79, 178, 196, 0.08);
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  min-width: 18px;
  max-width: 18px;
  height: 18px;
  margin: 2px 0 0;
  flex: 0 0 18px;
  accent-color: var(--primary-dark);
  border-radius: 4px;
}

.checkbox-label span {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.checkbox-label.is-invalid {
  border-color: rgba(211, 93, 103, 0.72);
  box-shadow: 0 0 0 4px rgba(211, 93, 103, 0.1);
  background: rgba(211, 93, 103, 0.05);
}

.is-invalid {
  border-color: rgba(211, 93, 103, 0.72) !important;
  box-shadow: 0 0 0 4px rgba(211, 93, 103, 0.12) !important;
}

.field-note {
  margin: -6px 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.field-note.is-invalid {
  color: var(--danger);
}

.hidden-field {
  display: none;
}

.hidden-field.show {
  display: grid;
}

.form-status {
  display: none;
  padding: 15px 16px;
  border-radius: 16px;
  border: 1px solid rgba(79, 178, 196, 0.18);
  background: rgba(79, 178, 196, 0.08);
  color: var(--text-soft);
  line-height: 1.6;
}

.form-status.show {
  display: block;
}

.submit {
  justify-self: start;
  min-width: 220px;
}
