/* Contact form. Leans on the .doc tokens in content.css — only the field
   chrome lives here, so a change to brand colour still lands in one place. */

.cform {
  max-width: 720px;
  margin: 0 auto;
}

.cform__row {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 680px) {
  .cform__row {
    grid-template-columns: 1fr;
  }
}

.cfield {
  display: block;
  margin-bottom: 22px;
}

.cfield__label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 9px;
}

.cfield__label .req {
  color: var(--blue);
}

.cfield input,
.cfield select,
.cfield textarea {
  width: 100%;
  padding: 13px 15px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--hair);
  border-radius: 9px;
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 300;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.cfield textarea {
  min-height: 165px;
  resize: vertical;
  line-height: 1.6;
}

.cfield select {
  appearance: none;
  cursor: pointer;
  /* Chevron drawn inline so the control needs no extra asset request. */
  background-image: linear-gradient(45deg, transparent 50%, var(--faint) 50%),
    linear-gradient(135deg, var(--faint) 50%, transparent 50%);
  background-position: calc(100% - 19px) 21px, calc(100% - 14px) 21px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.cfield select option {
  background: #0a0f1a;
  color: var(--text);
}

.cfield input:focus,
.cfield select:focus,
.cfield textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: rgba(32, 139, 255, 0.05);
  box-shadow: 0 0 0 3px rgba(32, 139, 255, 0.13);
}

.cfield input::placeholder,
.cfield textarea::placeholder {
  color: rgba(255, 255, 255, 0.22);
}

/* Off-screen rather than display:none — some bots skip hidden inputs. */
.cform__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.cform__submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  background: var(--blue);
  color: #001227;
  border: none;
  border-radius: 999px;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.cform__submit:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 10px 34px rgba(32, 139, 255, 0.32);
}

.cform__submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cform__foot {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.cform__note {
  color: var(--faint);
  font-size: 13px;
  line-height: 1.5;
  max-width: 330px;
}

.cform__status {
  margin-top: 24px;
  padding: 15px 18px;
  border-radius: 10px;
  font-size: 14.5px;
  line-height: 1.55;
  display: none;
}

.cform__status.is-ok {
  display: block;
  background: rgba(32, 139, 255, 0.09);
  border: 1px solid rgba(32, 139, 255, 0.32);
  color: var(--blue-soft);
}

.cform__status.is-err {
  display: block;
  background: rgba(255, 70, 90, 0.08);
  border: 1px solid rgba(255, 70, 90, 0.3);
  color: #ff9aa6;
}

/* Direct-contact alternatives under the form. */
.cdirect {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  margin-top: 14px;
}

.cdirect__item h3 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0 0 7px;
  font-weight: 400;
}

.cdirect__item a {
  color: var(--blue-soft);
  text-decoration: none;
  font-size: 15px;
}

.cdirect__item a:hover {
  text-decoration: underline;
}

.cdirect__item p {
  margin: 5px 0 0;
  color: var(--faint);
  font-size: 13px;
  line-height: 1.5;
}
