/* Estilos del botón contacto */
.contacto-container {
  position: relative;
  display: inline-block;
}

/* Botón principal */
.btn-contacto {
  background: none;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  font-weight: bold;
  position: relative;
  background-color: #fe5000;
  color: white;
  border-radius: 20px;
  min-height: 40px;
  font-size: 20px;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px 13px 8px 14px !important;
}

/* Contenedor del dropdown */
.contacto-dropdown {
  position: absolute;
  top: calc(100% + 5px);
  right: 0;
  width: 420px;
  background: #fe5000;
  border: 1px solid #ddd;
  border-radius: 18px 0px 18px 18px;
  padding: 20px;
  color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  font-size: 20px;
}

/* Mostrar dropdown */
.contacto-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: none;
  margin-top: 20px;
}

/* Elementos del formulario */
.contacto-form .form-group {
  margin-bottom: 15px;
}

.contacto-form input,
.contacto-form textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  display: block;
  background-color: transparent;
  border: 3px solid #ffffff;
  border-radius: 10px;
  color: #ffffff;
  transition: all 0.3s ease;
  padding: 10px;
  width: 100%;
  margin-bottom: 15px;
}

.btn-llamada {
  background: none;
  color: white;
  border: solid 2px white;
  border-radius: 50px;
  padding: 10px 20px;
  margin-top: 15px;
  cursor: pointer;
  width: 100%;
  text-transform: uppercase;
  font-size: 20px;
  font-weight: 500;
  transition: all 0.3s ease;
}

/* Estilos para inputs */
.contacto-form input,
.contacto-form textarea {
  background-color: transparent;
  border: 2px solid #ffffff;
  border-radius: 7px;
  color: #ffffff;
  transition: all 0.3s ease;
  padding: 10px;
  width: 100%;
  margin-bottom: 15px;
}
.contacto-form input {
  height: 46px;
}
/* Placeholders */
.contacto-form input::placeholder,
.contacto-form textarea::placeholder {
  color: #ffffff;
  /* padding: 18px 23px 18px 31px; */
}

.contacto-form input::-webkit-input-placeholder,
.contacto-form textarea::-webkit-input-placeholder {
  color: rgba(255, 255, 255, 0.8);
}

.contacto-form input:-moz-placeholder,
.contacto-form textarea:-moz-placeholder {
  color: rgba(255, 255, 255, 0.8);
}

.contacto-form input::-moz-placeholder,
.contacto-form textarea::-moz-placeholder {
  color: rgba(255, 255, 255, 0.8);
}

.contacto-form input:-ms-input-placeholder,
.contacto-form textarea:-ms-input-placeholder {
  color: rgba(255, 255, 255, 0.8);
}

/* Focus */
.contacto-form input:focus,
.contacto-form textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 1);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

/* Checkbox */
.form-check-contacto {
  display: flex;
  align-items: flex-start;
  margin-top: 15px;
  gap: 8px;
  padding-left: 5px !important;
}

.form-check-label-contacto {
  color: white;
}

.form-check-contacto input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 17px;
  height: 17px;
  border: 2px solid white !important;
  background-color: transparent;
  margin-right: 3px;
  position: relative;
  cursor: pointer;
}

.form-check-contacto input[type="checkbox"]:checked::before {
  content: "✓";
  color: white;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 14px;
}

/* Cabecera */
.contacto-header {
  padding-bottom: 10px;
  margin-bottom: 10px;
  font-size: 20px;
}

.contacto-opcion {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 10px;
}

.contacto-titulo {
  font-size: 20px !important;
  margin: 0;
  font-size: 0.9rem;
}

.divisor {
  border-bottom: 2px solid rgb(255, 255, 255);
  margin: 5px 0;
}

/* Enlaces */
.contacto-link {
  text-decoration: none;
  color: white !important;
  font-weight: 500;
}

.contacto-link:hover {
  text-decoration: underline;
  color: white;
}

/* Estados botón */
.btn-llamada:not(:disabled).formulario-valido {
  background: white !important;
  color: #fe5000 !important;
  border-color: white !important;
}

.btn-llamada:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  background-color: transparent !important;
}

/* Mensajes */
.success-message,
.error-message .text-center {
  color: white !important;
}

/* Estilos para campos autocompletados */
.contacto-form input:-webkit-autofill,
.contacto-form input:-webkit-autofill:hover,
.contacto-form input:-webkit-autofill:focus,
.contacto-form input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px #fe5000 inset !important;
  -webkit-text-fill-color: white !important;
  transition: background-color 5000s ease-in-out 0s;
}

.contacto-form input:-webkit-autofill::first-line {
  font-size: 20px;
  font-weight: 400;
}
