.contact {
  width: 100%;
}

.contact-inner {
  padding: 72px;
  box-sizing: border-box;
}

.contact-wrapper {
  width: 100%;
  max-width: 1440px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.contact-kicker {
  margin: 0 0 20px;
  color: #3dcfb6;
  font-family: "Karla", sans-serif;
  font-size: 24px;
  font-weight: 500;
}

.contact-title {
  margin: 0 0 30px;
  color: #3dcfb6;
  font-family: "Fira Code", monospace;
  font-size: 64px;
  line-height: 100%;
  letter-spacing: -3%;
  font-weight: 700;
}

.contact-subtitle {
  margin: 0 0 18px;
  color: #3dcfb6;
  font-family: "Fira Code", monospace;
  font-size: 24px;
  font-weight: 700;
  line-height: 120%;
}

.contact-description {
  margin: 0 0 18px;
  color: #ffffff;
  font-family: "Karla", sans-serif;
  font-size: 16px;
  line-height: 1.45;
  max-width: 560px;
}

.contact-note {
  margin: 0;
  color: #ffffff;
  font-family: "Karla", sans-serif;
  font-size: 22px;
}

.contact-note a {
  margin-left: 6px;
  color: #3dcfb6;
  text-decoration: none;
  font-weight: 700;
}

.contact-note a:hover {
  text-decoration: underline;
}

.contact-form {
  width: 100%;
  
}

.contact-field {
  border-top: 1px solid rgba(61, 207, 182, 0.9);
  padding: 26px 0 18px;
}

.contact-field label {
  display: block;
  margin: 0 0 10px;
  color: #3dcfb6;
  font-family: "Fira Code", monospace;
  font-size: 30px;
  font-weight: 500;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  border: 0;
  outline: none;
  color: #ffffff;
  background: transparent;
  font-family: "Karla", sans-serif;
  font-size: 22px;
  resize: none;
  padding: 0;
}

.contact-field textarea {
  display: block;
  min-height: 5.4em;
  line-height: 1.35;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
  opacity: 1;
}

.contact-field input.is-error-placeholder::placeholder,
.contact-field textarea.is-error-placeholder::placeholder {
  color: #ec7b7b;
}

.contact-field-error {
  margin: 6px 0 0;
  color: #ec7b7b;
  font-family: "Karla", sans-serif;
  font-size: 16px;
  line-height: 1.35;
  min-height: 0;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.contact-field-error.is-visible {
  opacity: 1;
}

#contact-message-error-inline {
  min-height: 1.35em;
}

#contact-privacy-error-inline {
  min-height: 1.35em;
}

.contact-check {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 6px;
  align-items: start;
  margin: 26px 0;
  color: #ffffff;
  font-family: "Karla", sans-serif;
  font-size: 18px;
  line-height: 1.4;
}

.contact-check > span {
  grid-column: 2;
  min-width: 0;
}

.contact-check .contact-field-error {
  grid-column: 1 / -1;
  margin-top: 0;
}

.contact-check input {
  margin-top: 2px;
  width: 18px;
  height: 18px;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid #3dcfb6;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  display: inline-block;
  grid-column: 1;
}

.contact-check input.is-error {
  border-color: #ec7b7b;
}

.contact-check input:checked {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.2 8.4l2.7 2.7 6-6' fill='none' stroke='%233dcfb6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
}

.contact-check input:focus-visible {
  outline: 2px solid rgba(61, 207, 182, 0.45);
  outline-offset: 2px;
}

.contact-check a {
  color: #3dcfb6;
  text-decoration: none;
}

.contact-check a:hover {
  text-decoration: underline;
}

.contact-submit {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0 24px;
  gap: 10px;
  width: 139px;
  height: 48px;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 100px;
  background: transparent;
  font-family: "Karla", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 120%;
  mix-blend-mode: normal;
  margin-left: auto;
  margin-right: auto;

  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.contact-submit:not(:disabled):hover {
  color: #3dcfb6;
  border-color: #3dcfb6;
}

.contact-submit:disabled {
  color: rgba(255, 255, 255, 0.45);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
  cursor: not-allowed;
  box-shadow: none;
}

/* Toast notification */
.contact-toast {
  position: fixed;
  z-index: 9000;
  max-width: 360px;
  padding: 16px 22px;
  border-radius: 16px;
  border: 1px solid #3dcfb6;
  background: linear-gradient(115deg, rgba(19, 19, 19, 0.97) 15%, rgba(7, 86, 74, 0.55) 100%);
  backdrop-filter: blur(8px);
  color: #3dcfb6;
  font-family: "Karla", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  opacity: 0;
  /* translate -50% on X to center over the button, -100% on Y to sit above it */
  transform: translateX(-50%) translateY(calc(-100% - 8px)) translateY(8px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.contact-toast--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(calc(-100% - 8px));
  pointer-events: auto;
}

@media (max-width: 1200px) {
  .contact-inner {
    padding: 80px 40px;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .contact-title {
    font-size: 64px;
  }

  .contact-subtitle,
  .contact-field label {
    font-size: 30px;
  }

  .contact-description,
  .contact-note,
  .contact-field input,
  .contact-field textarea {
    font-size: 20px;
  }

  .contact-submit {
    font-size: 24px;
  }
}

@media (max-width: 900px) {
  .contact-inner {
    padding: 56px 20px;
  }

  .contact-title {
    font-size: 48px;
  }

  .contact-kicker {
    font-size: 18px;
  }

  .contact-subtitle,
  .contact-field label {
    font-size: 24px;
  }

  .contact-description,
  .contact-note,
  .contact-field input,
  .contact-field textarea,
  .contact-check {
    font-size: 16px;
  }

  .contact-submit {
    width: auto;
    min-width: 140px;
    padding: 0 24px;
    font-size: 16px;
  }
}

