/* Formulario de contacto (versión sin Tailwind del de fenixsecurities.com) */
/* usa Montserrat, que ya carga cada página del sitio */

.fx-section {
  background: url("../images/contact-bg.webp") center / cover no-repeat;
  padding: 6em 0;
}

.fx-contact {
  display: flex;
  justify-content: center;
  margin: 0 3em;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 400;
}

.fx-contact input,
.fx-contact select,
.fx-contact button {
  font-family: inherit;
}

.fx-title {
  font-family: inherit;
  font-weight: 300;
  font-size: 1.75em;
  line-height: 1.3;
  margin-bottom: 1em;
}

/* panel oscuro izquierdo */
.fx-info {
  display: flex;
  flex-direction: column;
  width: 300px;
  min-width: 300px;
  padding: 1.5em;
  background-color: rgba(23, 32, 43, 0.9);
  border-radius: 24px 0 0 24px;
  color: #fff;
  font-size: 14px;
}
.fx-info .fx-title { color: #fff; }
.fx-info p { margin: 0 0 0.75em; color: #fff; }
.fx-address { margin-bottom: 3em; }

.fx-links { display: flex; flex-direction: column; gap: 0.5em; }
.fx-links a,
.fx-links span { display: flex; align-items: flex-end; gap: 0.75em; color: #fff; }
.fx-links a:hover { color: #9fd8ff; }
.fx-links svg { flex-shrink: 0; }

.fx-logo { margin-top: auto; padding-top: 3em; }
.fx-logo img { width: 140px; }

/* panel claro derecho */
.fx-form-panel {
  width: 500px;
  min-width: 300px;
  padding: 1.5em;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 0 24px 24px 0;
  color: #17202b;
}
.fx-form-panel .fx-title { color: #17202b; }

.fx-input {
  display: block;
  width: 100%;
  margin-bottom: 1em;
  padding: 0.5em 0.75em;
  border: 1px solid #4b5563;
  border-radius: 2px;
  background: transparent;
  color: #17202b;
  font-size: 14px;
  height: auto;
  min-height: 42px;
}
.fx-input::placeholder { color: #6b7280; }
.fx-input:focus {
  outline: none;
  border-color: #67e8f9;
  box-shadow: 0 0 0 1px #67e8f9;
}

.fx-phone { display: flex; flex-direction: column; gap: 0.5em; }
.fx-phone .fx-input { margin-bottom: 0; }
.fx-phone select { cursor: pointer; }
.fx-phone-row { margin-bottom: 1em; }

.fx-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  margin-bottom: 1em;
  font-size: 14px;
}
.fx-roles label { display: flex; align-items: center; margin: 0; cursor: pointer; }
.fx-roles input { margin-right: 0.5em; cursor: pointer; }

.fx-legal { margin-bottom: 1em; font-size: 12px; line-height: 1.4; color: #17202b; }
.fx-legal a { color: #17202b; text-decoration: underline; }

.fx-submit {
  padding: 0.5em 2em;
  border: 0;
  border-radius: 2px;
  background-color: #17202b;
  color: #fff;
  cursor: pointer;
  transition: all 0.1s ease-in-out;
}
.fx-submit:hover { background-color: #36608b; }
.fx-submit:disabled { opacity: 0.6; cursor: wait; }

/* campo trampa para bots */
.fx-hp { position: absolute; left: -9999px; }

.fx-msg { margin-top: 1em; padding: 0.75em 1em; border-radius: 4px; font-size: 14px; }
.fx-msg-ok { background: #dcfce7; border: 1px solid #4ade80; color: #15803d; }
.fx-msg-error { background: #fee2e2; border: 1px solid #f87171; color: #b91c1c; }

@media (min-width: 1280px) {
  .fx-phone { flex-direction: row; }
  .fx-phone select { min-width: 50%; }
}

@media (min-width: 769px) and (max-width: 1023px) {
  .fx-form-panel { width: 60%; }
}

@media (max-width: 768px) {
  .fx-section { padding: 3em 0; }
  .fx-contact { flex-direction: column-reverse; margin: 0 1em; }
  .fx-form-panel { width: 100%; min-width: 0; border-radius: 24px 24px 0 0; }
  .fx-info { width: 100%; min-width: 0; border-radius: 0 0 24px 24px; }
}
