.contact-inquiry-section {
  position: relative;
  overflow: hidden;
  padding: 82px 24px 74px;
  background:
    radial-gradient(circle at 10% 15%, rgba(56, 189, 248, 0.14), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(77, 168, 218, 0.16), transparent 24%),
    linear-gradient(135deg, #0a192f 0%, #0f2b5c 50%, #1a365d 100%);
}

.contact-inquiry-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), transparent 88%);
}

.contact-inquiry-container {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(100%, 1060px);
  align-items: stretch;
  gap: 56px;
  margin: 0 auto;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.contact-image-side {
  position: relative;
  display: flex;
  min-width: 340px;
  flex: 1;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.contact-image-side:hover {
  border-color: #38bdf8;
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.contact-image-side img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  opacity: 0.35;
}

.contact-form-side {
  display: flex;
  flex: 1.3;
  flex-direction: column;
}

.contact-form-title {
  margin: 0 0 28px;
  color: #f8fafc;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.contact-form-group {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.contact-email-group {
  align-items: flex-start;
}

.contact-email-group > label {
  padding-top: 10px;
}

.contact-form-group label,
.contact-label {
  flex: 1;
  padding-right: 16px;
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 500;
}

.contact-input-control {
  width: 100%;
  max-width: 400px;
  height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  outline: none;
  background: rgba(10, 25, 47, 0.6);
  color: #ffffff;
  font-size: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-input-control:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

.contact-input-control::placeholder {
  color: #64748b;
}

.contact-email-field {
  position: relative;
  display: flex;
  width: 100%;
  max-width: 400px;
  flex-direction: column;
  align-items: stretch;
}

.contact-email-field .contact-input-control {
  max-width: 100%;
}

.contact-autocomplete-list {
  position: static;
  z-index: 100;
  display: none;
  width: 100%;
  max-height: 160px;
  margin-top: 8px;
  overflow-y: auto;
  border: 1px solid #38bdf8;
  border-radius: 6px;
  background: #0f2b5c;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.contact-autocomplete-item {
  display: block;
  width: 100%;
  padding: 10px 14px;
  border: 0;
  background: transparent;
  color: #cbd5e1;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  text-align: left;
  transition: background 0.15s ease, color 0.15s ease;
}

.contact-autocomplete-item:hover,
.contact-autocomplete-item:focus {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
}

select.contact-input-control {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23cbd5e1'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-position: right 10px center;
  background-repeat: no-repeat;
  background-size: 22px;
}

select.contact-input-control option {
  background: #0f2b5c;
  color: #ffffff;
}

.contact-radio-wrapper {
  display: flex;
  width: 100%;
  max-width: 400px;
  min-height: 38px;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.contact-radio-label {
  display: flex;
  align-items: center;
  color: #cbd5e1;
  cursor: pointer;
  font-size: 14px;
  user-select: none;
}

.contact-radio-label input[type="radio"] {
  width: 16px;
  height: 16px;
  margin-right: 6px;
  accent-color: #38bdf8;
}

.contact-file-wrapper {
  display: flex;
  width: 100%;
  max-width: 400px;
  gap: 10px;
}

.contact-file-btn {
  display: flex;
  width: 110px;
  height: 38px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.contact-file-btn:hover,
.contact-file-btn:focus {
  border-color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  color: #38bdf8;
}

.contact-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.contact-file-name {
  height: 38px;
  min-width: 0;
  flex: 1;
  overflow: hidden;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  background: rgba(10, 25, 47, 0.6);
  color: #64748b;
  font-size: 13px;
  line-height: 36px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-file-name.has-file {
  color: #ffffff;
}

.contact-comments-group {
  display: flex;
  flex-direction: column;
  margin-top: 24px;
}

.contact-comments-group label {
  margin-bottom: 10px;
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 500;
}

.contact-comments-group textarea {
  width: 100%;
  height: 150px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  outline: none;
  background: rgba(10, 25, 47, 0.4);
  color: #ffffff;
  font-size: 14px;
  line-height: 1.6;
  resize: vertical;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-comments-group textarea::placeholder {
  color: #64748b;
}

.contact-comments-group textarea:focus {
  border-color: #38bdf8;
  background: rgba(10, 25, 47, 0.7);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

.contact-submit-btn {
  width: 100%;
  height: 46px;
  margin-top: 24px;
  border: 0;
  border-radius: 8px;
  background: #38bdf8;
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.3);
  color: #0a192f;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.contact-submit-btn:hover,
.contact-submit-btn:focus {
  background: #0ea5e9;
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.5);
  transform: translateY(-1px);
}

.contact-info-lower {
  padding-top: 82px;
}

@media (max-width: 980px) {
  .contact-inquiry-container {
    gap: 32px;
    padding: 28px;
  }

  .contact-image-side {
    min-width: 280px;
  }
}

@media (max-width: 768px) {
  .contact-inquiry-section {
    padding: 56px 16px 58px;
  }

  .contact-inquiry-container {
    flex-direction: column;
    gap: 32px;
    padding: 24px;
  }

  .contact-image-side {
    min-width: 100%;
    min-height: 220px;
  }

  .contact-image-side img {
    min-height: 220px;
  }

  .contact-form-group {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .contact-form-group label,
  .contact-label {
    padding-right: 0;
  }

  .contact-email-group > label {
    padding-top: 0;
  }

  .contact-input-control,
  .contact-email-field,
  .contact-radio-wrapper,
  .contact-file-wrapper {
    max-width: 100%;
  }

  .contact-info-lower {
    padding-top: 58px;
  }
}
