/* Contact form layout. Scoped with #contact-form so it wins over the legacy Elementor/WPCode rules. */
.enl-form-widget {
  width: 100%;
}

#contact-form {
  display: grid;
  gap: 14px;
  box-sizing: border-box;
  width: 100%;
  max-width: min(720px, calc(100% - 32px));
  margin: 0 auto 24px;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid #e3e8ef;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(11, 30, 63, 0.08);
  text-align: left;
}

#contact-form p {
  margin: 0;
}

#contact-form label {
  display: block;
  color: #0b1e3f;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}

#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form input[type="tel"],
#contact-form textarea {
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  background: #fff;
  color: #0b1e3f;
  border: 1px solid #cfd6e0;
  border-radius: 8px;
  font: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#contact-form input::placeholder,
#contact-form textarea::placeholder {
  color: #8a94a6;
}

#contact-form input:focus,
#contact-form textarea:focus {
  border-color: #146892;
  outline: none;
  box-shadow: 0 0 0 3px rgba(20, 104, 146, 0.18);
}

#contact-form textarea {
  min-height: 68px;
  resize: vertical;
}

#contact-form .cf-turnstile {
  min-height: 65px;
}

/* Two fields per row; spam check and Submit side by side */
#contact-form .enl-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
#contact-form .enl-actions {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
}

#contact-form input[type="submit"] {
  width: 100%;
  padding: 14px 28px;
  background: #0b1e3f;
  color: #fff;
  border: 1px solid #0b1e3f;
  border-radius: 8px;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

#contact-form input[type="submit"]:hover:not(:disabled) {
  background: transparent;
  color: #0b1e3f;
}

#contact-form input[type="submit"]:disabled {
  opacity: 0.6;
  cursor: progress;
}

#contact-form #form-status {
  min-height: 0;
  font-size: 15px;
  line-height: 1.4;
}

#contact-form #form-status[data-state="ok"] {
  color: #0f7a3d;
}

#contact-form #form-status[data-state="error"] {
  color: #b42318;
}

@media (max-width: 640px) {
  #contact-form {
    padding: 18px;
    gap: 12px;
  }
  #contact-form .enl-row,
  #contact-form .enl-actions {
    grid-template-columns: 1fr;
  }
}

/* Contact page: tighter heading area so the form sits in the first screen */
body.page-id-158 .elementor-element-70f957b2 .elementor-widget-spacer .elementor-spacer-inner {
  height: 4px !important;
}
body.page-id-158 .elementor-element-705a20ad .elementor-heading-title {
  font-size: clamp(26px, 3vw, 34px) !important;
  line-height: 1.15 !important;
}
body.page-id-158 .elementor-element-70f957b2 .elementor-widget-divider {
  display: none;
}
body.page-id-158 .elementor-element-70f957b2 {
  min-height: 0 !important;
  padding: 18px 16px 12px !important;
}
body.page-id-158 .elementor-element-781aaf24,
body.page-id-158 .elementor-element-6eb17614 {
  width: 100% !important;
  max-width: 680px !important;
}
body.page-id-158 .elementor-element-191bb214 .elementor-widget-container,
body.page-id-158 .elementor-element-191bb214 p {
  font-size: 17px !important;
  line-height: 1.45 !important;
}
