.contact-form-shell {
  width: 100%;
}

.contact-form {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 16px;
}

.contact-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-grid-single {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.contact-grid-wide {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-field {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 10px;
}

.contact-label {
  color: var(--c-text-label);
  font-family: 'Omnes', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.contact-input,
.contact-select,
.contact-textarea {
  width: 100%;
  color: var(--c-white);
  font-family: 'Omnes', sans-serif;
  font-size: 16px;
  font-weight: 500;
  background-color: transparent;
  border: 1px solid var(--c-border-subtle);
  border-radius: 18px;
  padding: 16px 18px;
  outline: none;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-input,
.contact-select {
  height: 56px;
}

.contact-select {
  appearance: none;
}

.contact-textarea {
  min-height: 100px;
  resize: vertical;
}

.contact-country-shell {
  width: 100%;
  position: relative;
}

.contact-country-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 8px;
  max-height: 220px;
  overflow-y: auto;
  padding: 8px;
  border-radius: 18px;
  border: 1px solid oklch(1 0 0 / 0.14);
  background: var(--c-bg-dark);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 18px 40px var(--c-shadow-suggest);
  z-index: 10;
}

.contact-country-suggestion {
  width: 100%;
  cursor: pointer;
  color: var(--c-white);
  background-color: transparent;
  text-align: left;
  font-family: 'Omnes', sans-serif;
  font-size: 15px;
  font-weight: 500;
  border: none;
  border-radius: 14px;
  padding: 12px 14px;
}

.contact-country-suggestion:hover {
  background-color: var(--c-hover-bg);
}

.contact-helper-text {
  color: var(--c-text-hint);
  font-family: 'Omnes', sans-serif;
  font-size: 13px;
  line-height: 1.4;
}

.contact-input::placeholder,
.contact-textarea::placeholder {
  color: var(--c-text-ghost);
}

.contact-input:-webkit-autofill,
.contact-input:-webkit-autofill:hover,
.contact-input:-webkit-autofill:focus,
.contact-select:-webkit-autofill,
.contact-select:-webkit-autofill:hover,
.contact-select:-webkit-autofill:focus,
.contact-textarea:-webkit-autofill,
.contact-textarea:-webkit-autofill:hover,
.contact-textarea:-webkit-autofill:focus,
.contact-input:autofill,
.contact-select:autofill,
.contact-textarea:autofill {
  -webkit-text-fill-color: oklch(1 0 0) !important;
  caret-color: oklch(1 0 0);
  -webkit-box-shadow: 0 0 0px 1000px oklch(0.15 0.025 265 / 0.96) inset !important;
  box-shadow: 0 0 0px 1000px oklch(0.15 0.025 265 / 0.96) inset !important;
  transition: background-color 9999s ease-in-out 0s;
  background-color: transparent !important;
}

.contact-input:disabled,
.contact-select:disabled,
.contact-textarea:disabled {
  background-color: var(--c-bg-dark-78);
  color: oklch(1 0 0 / 0.72);
  -webkit-text-fill-color: oklch(1 0 0 / 0.72);
  opacity: 1;
}

.contact-input:focus,
.contact-select:focus,
.contact-textarea:focus {
  border-color: var(--c-aqua-72);
  box-shadow: 0 0 0 4px var(--c-aqua-12);
}

.contact-submit-row {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.contact-submit {
  width: 100%;
  max-width: 400px;
  height: 56px;
  cursor: pointer;
  color: var(--c-white);
  font-family: 'Omnes', sans-serif;
  font-size: 17px;
  font-weight: 700;
  border: none;
  border-radius: 128px;
  corner-shape: squircle;
  background: var(--c-btn-blue);
  box-shadow: 0 12px 40px var(--c-btn-blue-shadow);
  transition: transform 0.1s ease-in-out, box-shadow 0.18s ease, filter 0.18s ease;
  transform: scale(1);
  transform-origin: center;
}

.contact-submit:hover {
  box-shadow: 0 18px 44px var(--c-btn-blue-shadow-h);
  filter: brightness(1.02);
}

.contact-submit:active {
  transform: scale(0.98);
}

.contact-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  filter: grayscale(20%);
  transform: scale(1);
}

.contact-honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 720px) {
  .contact-grid,
  .contact-grid-wide {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-submit-row {
    justify-content: stretch;
  }
}
