.contact-modern-form {
  position: relative;
  background: #fff;
  padding: 42px;
  border: 1px solid #eef0f4;
  box-shadow: 0 24px 70px rgba(0, 20, 60, 0.10);
  overflow: hidden;
}

.contact-modern-form .sec-title {
  margin-bottom: 28px;
}

.contact-modern-form label:not(.contact-privacy-check) {
  display: block;
  margin-bottom: 8px;
  color: #061a44;
  font-size: 13px;
  font-weight: 800;
}

.contact-modern-form .form-control {
  width: 100%;
  height: 56px;
  background: #f5f6f8;
  border: 1px solid transparent;
  padding: 0 18px;
  color: #061a44;
  font-size: 14px;
  font-weight: 600;
  transition: 0.25s ease;
}

.contact-modern-form .form-control:hover {
  background: #f0f4fa;
}

.contact-modern-form .form-control:focus {
  background: #fff;
  border-color: rgba(0, 87, 255, 0.4);
  box-shadow: 0 10px 24px rgba(0, 87, 255, 0.08);
}

.contact-modern-form textarea.form-control {
  height: 150px;
  padding-top: 16px;
  resize: vertical;
}

.contact-privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 8px 0 24px;
  cursor: pointer;
}

.contact-privacy-check input {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin-top: 3px;
  border: 2px solid #cfd7e6;
  background: #f5f7fb;
  cursor: pointer;
  position: relative;
}

.contact-privacy-check input:checked {
  background: #0057ff;
  border-color: #0057ff;
}

.contact-privacy-check input:checked::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.contact-privacy-check span {
  color: #647084;
  font-size: 13px;
  line-height: 1.7;
}

.contact-privacy-check a {
  color: #0057ff;
  font-weight: 800;
}

.contact-submit-btn {
  width: 100%;
  justify-content: center;
}

.contact-form-loader {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 18px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  color: #001b44;
}

.contact-form-loader.active {
  display: flex;
}

.contact-loader-ring {
  width: 64px;
  height: 64px;
  border: 6px solid #e6eefc;
  border-top-color: #0057ff;
  border-radius: 50%;
  animation: contactSpin 0.8s linear infinite;
}

@keyframes contactSpin {
  to {
    transform: rotate(360deg);
  }
}

.contact-hp-field {
  position: absolute !important;
  left: -99999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (max-width: 767px) {
  .contact-modern-form {
    padding: 28px 18px;
  }
}

.contact-form-loader {
  pointer-events: none;
}

.contact-form-loader.active {
  pointer-events: all;
}

.fake-checkbox {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  background: #0057ff;
  color: #fff !important;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 900;
  margin-top: 3px;
}